Limited Time Offer

Save 25% on our plugins with this coupon:

LOVEWORDPRESS

Buy Now
Skip to content
TaxoPress
  • TaxoPress
  • Tag Groups
  • Docs
  • Blog
  • Support
  • Login
Buy Now
TaxoPress

Tag Groups: Getting Started

  • Introduction to Tag Groups
  • Installation of Tag Groups Free
  • First Steps With Tag Groups
  • Tag Groups Free vs Pro

How to Use Groups for Tags

  • Creating and Editing Groups
  • Filter Tag Groups on the Tags Screen
  • Bulk Actions for Groups on the Tags Screen
  • Organizing Groups with a Parent Level
  • Using the Tag Groups Metabox on the Post Edit Screen

Display Options for Tags

  • How To Use Gutenberg Blocks With Tag Groups
  • How to Use Shortcodes With Tag Groups
  • Tag Groups Themes: Design and Colors
  • How to Design Tag Colors in Tag Groups
  • How to Modify a Theme in Tag Groups
  • Create Your Own Accordion and Tab Themes

Tag List

  • Tag List – Overview
  • Tag List – Gutenberg Block
  • Tag List – Shortcode Parameters

Tabbed Tag Cloud

  • Tabbed Tag Cloud – Overview
  • Tabbed Tag Cloud – Gutenberg Block
  • Tabbed Tag Cloud – Shortcode Parameters
  • Tabbed Tag Cloud – Themes

Alphabetical Tag Index

  • Alphabetical Tag Index – Overview
  • Alphabetical Tag Index – Gutenberg Block
  • Alphabetical Tag Index – Shortcode Parameters

Alphabetical Tag Cloud

  • Alphabetical Tag Cloud – Overview
  • Alphabetical Tag Cloud – Gutenberg Block
  • Alphabetical Tag Cloud – Shortcode Parameters
  • Alphabetical Tag Cloud – Themes

Accordion Tag Cloud

  • Accordion Tag Cloud – Overview
  • Accordion Tag Cloud – Gutenberg Block
  • Accordion Tag Cloud – Shortcode Parameters
  • Accordion Tag Cloud – Themes

Tag Groups Info

  • Tag Groups Info – Overview
  • Tag Groups Info – Shortcode Parameters

Show Tags Under Posts (Pro)

  • How to Show Tag Groups on Posts
  • Change the Icons on Tags Under Posts

Shuffle Box (Pro)

  • Shuffle Box – Overview
  • Shuffle Box – Gutenberg Block
  • Shuffle Box – Shortcode Parameters
  • Create a Custom Color Scheme for Shuffle Box
  • Hide the “not assigned” button in the Shuffle Box

Simple Tag Cloud (Pro)

  • Simple Tag Cloud – Overview
  • Simple Tag Cloud – Gutenberg Block
  • Simple Tag Cloud – Shortcode Parameters

Table Tag Cloud (Pro)

  • Table Tag Cloud – Overview
  • Table Tag Cloud – Gutenberg Block
  • Table Tag Cloud – Shortcode Parameters

Post List (Pro)

  • Post List – Overview
  • Post List – Gutenberg Block
  • Post List – Shortcode Parameters

Dynamic Post Filter (Pro)

  • Dynamic Post Filter – Overview
  • Dynamic Post Filter – Gutenberg Block
  • Dynamic Post Filter – Shortcode Parameters
  • I Don’t See Posts In the Dynamic Post Filter

Tag Cloud Search (Pro)

  • Tag Cloud Search – Overview
  • Tag Cloud Search – Gutenberg Block
  • Tag Cloud Search – Shortcode Parameters

Tag Groups Menu (Pro)

  • Tag Groups Menu – Overview
  • Tag Groups Menu – Shortcode Parameters

Toggle Post Filter (Pro)

  • Toggle Post Filter – Overview
  • Toggle Post Filter – Shortcodes Overview
  • Toggle Post Filter, Posts – Gutenberg Block
  • Toggle Post Filter, Posts – Shortcode Parameters
  • Toggle Post Filter, Menu – Gutenberg Blocks
  • Toggle Post Filter, Menu – Shortcode Parameters
  • Toggle Post Filter, Text Search – Gutenberg Block
  • Toggle Post Filter, Text Search – Shortcode Parameters
  • Toggle Post Filter, Slider Button – Gutenberg Block
  • Toggle Post Filter, Slider Button – Shortcode Parameters
  • Toggle Post Filter, Order Menu, Gutenberg Block
  • Toggle Post Filter, Order Menu – Shortcode Parameters
  • Toggle Post Filter, Reset Button – Shortcode Parameters

Tag Groups: Settings

  • The Home Screen in Tag Groups
  • Taxonomies and the Tag Groups Plugin
  • Front End Settings
  • Back End Settings in Tag Groups
  • Tools
  • Troubleshooting
  • Control Who Can Edit the Tag Groups

Tag Groups: Frequently Asked Questions

  • Glossary of Useful Words for Tag Groups
  • How to Display Tags in a Custom Sort Order?
  • Can I Use Tag Groups Multiple Times on The Same Page?
  • Which Tag Groups Feature Do I Need?
  • Can I Use the Tag Groups Plugin with Pages?
  • Can I Use the Tag Groups plugin with Categories?
  • How to Make the Alphabetical Tag Index or the Tag List Responsive?
  • Can I Use Tag Groups with Custom Taxonomies?
  • What are the Minimum System Requirements to Install Tag Groups?
  • “The free Tag Groups plugin cannot be active together with Tag Groups Pro.”

Tag Groups: Troubleshooting

  • Tags Not Visible in the WordPress Admin After Installing Tag Groups
  • Debugging a WordPress Ajax Error
  • Shortcodes Don’t Work Inside Widgets
  • I Cannot Use Multiple Tag Clouds on the Same Page
  • I Don’t See All Tags in the Tag Meta Box
  • How To Use The Debug Log in Tag Groups
  • Instead of the Tag Cloud There’s An Empty Space
  • Can Not Save HTML in the Tag Description
  • Tag Cloud: When I Click on a Tag, the Posts Don’t Differentiate by Groups
  • “Error loading block: The response is not a valid JSON response.”

Questions About Post Filters

  • Using the Post Filter on Frontend URLs
  • How to Choose a Custom Order in the Post Filter
  • How to Change the Length of the Post Excerpts
  • Change the Size of the First Posts in the Masonry Layout
  • Limit the Size of the Menu in the Dynamic Post Filter

Tag Groups: Maintenance and Optimization

  • How to Reduce the Number of Loaded Scripts for Better Speed and SEO
  • How to Improve the Performance of the Toggle Post Filter/Dynamic Post Filter
  • Running Maintenance
  • How to Improve the Speed of Tag Groups
  • Migrating your Tags and Posts to Tag Groups

Tag Groups: For Developers

  • Tag Groups and the REST API
  • Filters and Actions in Tag Groups
  • Modifying the Post Query
  • Modifying the Term Query
  • Using Tag Groups in Theme Files
  • Useful Constants for the Tag Groups Plugin

Tag Groups Integrations

  • Integration with WooCommerce Attributes
  • Does Tag Groups Work with the Polylang Plugin?
  • Translating Tag Group Names With WPML
  • Home
  • TaxoPress Documentation
  • The Tag Groups Plugin
  • Post List (Pro)
  • Post List – Shortcode Parameters

Post List – Shortcode Parameters

Table of Contents
  • Shortcode
  • Example
  • Data Types
  • Parameters
    • Tags and Terms
      • taxonomy
      • operator
    • Tag Groups
      • include
    • Posts
      • author
      • cat
      • caching_time
      • posts_per_page
      • pager
      • pager_position
      • orderby
      • order
      • display_amount
      • search
      • tag
      • tag__and
      • tag__in
      • tag__not_in
      • tag_id
      • tag_slug__and
      • tag_slug__in
      • template
    • Labels and Messages
      • message_nothing_found
      • message_load_more
      • message_go_back
      • message_amount_singular
      • message_amount_plural
  • Advanced Styling
    • div_class
    • article_class

This is a guide to using shortcodes to display the “Post List” feature in the Tag Groups Pro plugin.


Shortcode #

[tag_groups_post_list]

Example #

[tag_groups_post_list include=1,2,3,5 display_amount=1]

Data Types #

  • string: A text. For identifiers that won’t be visible to visitors you often have to replace spaces with _ or -. If the string contains spaces, you need to wrap it in quotes.
  • integer: A number without decimal places.
  • 0 or 1: 0 turns the feature off and 1 on.

Parameters #

Tags and Terms #

taxonomy #

Restrict the tags only to these taxonomies. Available are only taxonomies that have been activated in the Settings.

accepted valuesdefaultexample shortcode
comma-separated list of taxonomy namesTaxonomies selected in the settings under “Basics”.taxonomy=post_tag,product_tag

operator #

How the tags should be logically connected. Possible values are “OR” (At least one group matches.) or “AND” (All groups match.).

accepted valuesdefaultexample shortcode
stringORoperator="AND"

Tag Groups #

include #

Tag groups that will be selectable by visitors. In the short code you use the IDs, which you find in the left column in the list of groups. Empty or not used means that all tag groups will be used.

accepted valuesdefaultexample shortcode
comma-separated list of integersempty (=all)include=1,5,9

Posts #

author #

Filter by author.

accepted valuesdefaultexample shortcode
author ID or comma-separated list of IDsoffauthor=1,3

cat #

Filter by category.

accepted valuesdefaultexample shortcode
category IDoffcat=5

caching_time #

Time in minutes that results remain in the cache.

accepted valuesdefaultexample shortcode
integer10caching_time=10

posts_per_page #

How many posts appear under the filter. Use -1 to show all.

Please note that high numbers of posts may impact the performance.

accepted valuesdefaultexample shortcode
integer5posts_per_page=10

pager #

  • 0: off
  • 1: Simple pager; visitors can load the next or previous page.
  • 2: Pagination; visitors can click on a page number

It is also possible to use the cursor keys left and right to flip through pages.

accepted valuesdefaultexample shortcode
integer0pager=2

pager_position #

  • top
  • bottom
  • both
accepted valuesdefaultexample shortcode
stringbottompager_position=both

orderby #

Which field to use for sorting.

optiondescription
author 
date 
modified 
title 
comment_count 
accepted valuesdefaultexample shortcode
stringdateorderby=title

order #

Whether to sort the posts in ascending or descending order. Ascending order also means from oldest to newest.

accepted valuesdefaultexample shortcode
stringDESCorder=asc

display_amount #

Whether to display a line that shows the total amount of posts. This message appears only if the number is greater than zero.

accepted valuesdefaultexample shortcode
0 or 10display_amount=1

search #

Filter by a search term

accepted valuesdefaultexample shortcode
stringemptysearch=hello

tag #

Filter by a tag slug.

accepted valuesdefaultexample shortcode
stringemptytag=my-tag

tag__and #

Filter by a list of tag IDs. Combine them with “and”.

accepted valuesdefaultexample shortcode
comma-separated list of tag IDsemptytag__and=12,45

tag__in #

Filter by a list of tag IDs. Combine them with “or”. (“in” a set of tags)

accepted valuesdefaultexample shortcode
comma-separated list of tag IDsemptytag__in=12,45

tag__not_in #

Filter by a list of tag IDs. Combine them with “nor”. (“not in” a set of tags)

accepted valuesdefaultexample shortcode
comma-separated list of tag IDsemptytag__not_in=12,45

tag_id #

Filter by a tag ID.

accepted valuesdefaultexample shortcode
integeremptytag_id=10

tag_slug__and #

Filter by a list of tag slugs. Combine them with “and”.

accepted valuesdefaultexample shortcode
comma-separated list of tag slugsemptytag_slug__and=my-tag,your-tag

tag_slug__in #

Filter by a list of tag slugs. Combine them with “or”. (“in” a set of tags)

accepted valuesdefaultexample shortcode
comma-separated list of tag slugsemptytag_slug__in=my-tag,your-tag

template #

HTML code that contains some placeholders. If you use only one template on your entire website, it is recommended to leave this parameter empty and edit the default template in the Front End settings.

In order to prevent that WordPress parses the HTML and adds malformed <p></p> tags, it is recommended to encode it before using it.

Possible placeholders are: {post_id}, {post_title}, {post_guid} (link to the post, {post_excerpt} (automatically generated), {post_date}, {post_author}, {image_src} or {image_src|image size} (followed by the dimensions – will create also width and height attributes), {image_alt}, {post_category}, {post_tags}, {custom_field:<name>}

accepted valuesdefaultexample shortcode
stringsee belowtemplate='JTNDZGl2JTIwY2x'

Default template:

<header class="tg-entry-header">
<img src="{image_src|100x100}" alt="{image_alt}" class="tg-entry-image" />
<h3 class="tg-entry-title"><a href="{post_guid}" rel="bookmark">{post_title}</a></h3>
Posted on {post_date} by {post_author}.
<p>{post_category}</p></header>
<div class="tg-entry-content"><p>{post_excerpt}</p></div>

Image sizes

The following formats are possible:

  • keywords like “thumbnail”, “medium”, “large” or any custom image size((Custom sizes may be registered by your theme or another plugin.)). This method provides the best performance when loading an image. You can change the sizes in the general Media settings of your WordPress site and then use a plugin such as Regenerate Thumbnails to generate the new sizes.
  • width and height, separated by “x”. On both sides you can use numbers (sizes in pixel), percentages or the keyword “auto”. The image loaded by the browser may actually be larger and scaled down.

Examples for the image tag:

<img src=”{image_src|medium}” alt=”{image_alt}” class=”tg-entry-image” />
<img src=”{image_src|100×150}” alt=”{image_alt}” class=”tg-entry-image” />
<img src=”{image_src|100%×auto}” alt=”{image_alt}” class=”tg-entry-image” />

Labels and Messages #

message_nothing_found #

Message to show if no posts were found.

accepted valuesdefaultexample shortcode
string“Nothing found.”message_nothing_found=""

message_load_more #

Label of the link to load more posts, if the pager is active.

accepted valuesdefaultexample shortcode
string“Load more”message_load_more=""

message_go_back #

Label of the link to go back, if the pager is active.

accepted valuesdefaultexample shortcode
string“Go back”message_go_back=""

message_amount_singular #

Message if one post was found, if display_amount is active.

accepted valuesdefaultexample shortcode
string“1 post found.”message_amount_singular="One recipe found."

message_amount_plural #

Message if many posts were found, if display_amount is active. May contain the placeholder {count}

accepted valuesdefaultexample shortcode
string“{count} posts found.”message_amount_plural="We found {count} recipes."

Advanced Styling #

You can set here classes to be referred to in CSS. You need some knowledge of CSS to use these options.

div_class #

Define a class for the <div>.

accepted valuesdefaultexample shortcode
stringemptydiv_class=“change-pointer”

article_class #

Define a class for the enclosing <article>.

accepted valuesdefaultexample shortcode
stringtg-postarticle_class=“make-it-dark”
Post List – Gutenberg Block
Table of Contents
  • Shortcode
  • Example
  • Data Types
  • Parameters
    • Tags and Terms
      • taxonomy
      • operator
    • Tag Groups
      • include
    • Posts
      • author
      • cat
      • caching_time
      • posts_per_page
      • pager
      • pager_position
      • orderby
      • order
      • display_amount
      • search
      • tag
      • tag__and
      • tag__in
      • tag__not_in
      • tag_id
      • tag_slug__and
      • tag_slug__in
      • template
    • Labels and Messages
      • message_nothing_found
      • message_load_more
      • message_go_back
      • message_amount_singular
      • message_amount_plural
  • Advanced Styling
    • div_class
    • article_class

Recent Posts

  • How to Find the IDs of WordPress Tags, Posts or Categories May 24, 2023
  • How to Change the Design of Accordions and Tabbed Tag Clouds May 16, 2023
  • How to Add Custom Designs to Terms in Tag Groups May 15, 2023
  • Find The Most Used Tags On Your WordPress Site May 14, 2023
  • What is a Tag Slug in WordPress? May 11, 2023

Testimonials

It is awesome to finally have tags organized. Thank you so much for this simple but powerful plugin!

kenethrd

I had a support issue and the response was same day. I find the plugin extremely fast and easy to implement.

stevenmayjr

Important Links

  • TaxoPress Demos
  • Frequently Asked Questions
  • About the TaxoPress Team
  • Terms of Service
  • TaxoPress Affiliates
  • Logo and Brand Materials

Our Projects

  • PublishPress
  • MetaSlider
  • KinshiPress
  • Ramble Ventures
  • Logtivity

© 2023 TaxoPress

Facebook Twitter
Scroll to top
  • TaxoPress
  • Tag Groups
  • Docs
  • Blog
  • Support
Search