Skip to content

How to Include Custom Post Types by Post Id in Elementor?

Table Of Content

Sometimes a listing should show only a hand-picked set of posts – a curated “featured picks” row, for example – rather than everything matching a category or tag.

Dynamic Listing’s Include Post(s) field limits the query to exactly the post IDs you list, in effect overriding the rest of the query’s filters.

For the full settings tour of the Dynamic Listing widget, see Dynamic Listing Widget Settings Overview.

Requirement – This widget is a part of The Plus Addons for Elementor Pro, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Prerequisite: Elementor (free) installed and active.
  • Edition: Dynamic Listing is a Pro widget – it needs The Plus Addons for Elementor Pro installed and its license activated. It will not appear in the free plugin.
  • Widget to enable: go to The Plus Addons > Widgets, search for Dynamic Listing and turn its toggle on.

Steps

  • Add the Dynamic Listing widget to the page.
  • Find the post ID(s) to include (visible in the WordPress admin post list, or in the post edit screen’s URL as post=123).
  • Under Content Source, enter the ID(s) into Include Post(s), comma-separated for more than one.
Include post(s) field with comma-separated post ids

Settings Overview

SettingWhat it doesDefault
Include Post(s)Limits the query to only these comma-separated post IDs.(empty)
Order By / OrderStill controls the display order of the included posts.date / DESC

Related Docs

Not verified

So you know exactly what has and has not been checked:

  • Whether Order By still re-sorts an Include Post(s) list, or whether the listed ID order is preserved instead, was not conclusively confirmed on the front end.

Related Frequently Asked Questions

Related Docs