🔥 Black Friday: Up to 50% Off All Plans
Days
Hrs
Min
Sec

Need Help?

Here are some good places you cant start.

Whats New?

Get updated about all the good stuff!

wordpress-black-friday-deals-2025
Unlimited Elements for Elementor – Version 2.0
Unlimited Elements for Elementor – Version 2.0

Post Terms (PRO)

The Posts Terms attribute adds a terms query to your widget. Terms are post categories, tags and other taxonomies. In the Elementor editor, you choose the post type, the taxonomy and which terms to show, and the widget gets a list of terms that you output in a loop.

Posts Terms is a Pro attribute, so you need Unlimited Elements Pro to use it.

Step 1

Open the widget in the Widget Creator. In your WordPress dashboard, go to Unlimited Elements > Widgets and click Add Widget to create a new widget. To change one of your own widgets, hover over it and click the Edit Widget (pencil) icon.

Step 2

Open the Attributes tab. On the left, select the section where the attribute should appear: sections under Content are shown in the Content tab of the Elementor panel, and sections under Style in the Style tab. Then click Add Attribute.

cp attributes tab

Step 3

Click Attribute Type and choose Posts Terms in the Advanced column.

Attribute Type menu with Posts Terms selected in the Advanced column

Step 4

Fill in the attribute settings:

  • Title: the label of the terms settings in the Elementor panel.
  • Name: the name you use in the widget code. It is filled in from the title, for example categories.
  • Use Custom Fields: adds the custom fields of each term to the term data.
  • For WooCommerce Terms: shows only the Product post type in the Elementor editor and selects the product categories taxonomy.
  • Posts Filter Options: leave it on No. In version 2.0.24, this option does not change the controls.
  • Allow Font Edit: as the dialog notes, lets you edit the font of the term names in the font style tab.
Add Attribute dialog with Posts Terms settings: Use Custom Fields, For WooCommerce Terms, Posts Filter Options and Allow Font Edit

Step 5

Open the HTML tab and output the terms in a loop, for example {% for term in categories %}<a href="{{term.link}}" class="my-term {{term.class_selected}}">{{term.name|raw}} ({{term.num_posts}})</a>{% endfor %}.

Each term has these fields: id, name, slug, description, link, num_posts, iscurrent and class_selected. To get term meta, use {% set meta_fields = getTermMeta(term.id) %}, and for custom fields getTermCustomFields(term.id). On the right side of the HTML tab, click categories_output to insert a sample loop with all the fields.

Step 6

Click Update to save the widget. In the Elementor editor, the section you selected in Step 2 shows the terms controls: Select Post Type, Select Taxonomy, Include By, Exclude By, Max Number of Terms (100 if empty), Order By, Order Direction, Show Query Debug and Query ID.

Posts Terms controls in the Elementor panel: Select Post Type, Select Taxonomy, Include By, Exclude By, Max Number of Terms, Order By, Order Direction, Show Query Debug and Query ID

Video Overview

Advanced Demo

Hurray!

You got FREE access to the worlds leading widgets for Elementor page builder!

Download is just a click away

Get instant access to tons of Elementor goodies, completely FREE!