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

Updated on June 24, 2024 by Editorial Team
Table Of Content

Do you want to show some specific posts from the list of custom post types on your Elementor website? By including certain posts from the custom post types you can customize what you want to show to the visitors.

With the Dynamic Listing widget from The Plus Addons for Elementor, you can easily include posts from custom post types by post id. 

To check the complete feature overview documentation of The Plus Addons for Elementor Dynamic Listing widget, click here.

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

To do this, make sure you have created at least one custom post type, you can use the free Advanced Custom Fields (ACF) to create a custom post type.

For instance, we have created a custom post type called Books.

Once you’ve created your custom post type, follow the steps – 

1. Add the Dynamic Listing widget to a page or template. 

2. Select Normal Page or Single Page Related Posts from the Post Listing Types dropdown. 

3. Then select your custom post type from the Post Type dropdown, 

4. After that select the appropriate style and layout.

5. Then go to the Content Source tab, and in the Include Post(s) field, you can add the IDs of the posts you want to include.

Uepwnqeo4odz5qrkmhf5tqck4ho6sawmbbradpn9 zdoehjibhry5wzqnxbski5p tlsgoghp 3atglc zc2ykchidqpufo how to include custom post types by post id in elementor? From the plus addons for elementor

Note: You can add multiple IDs separated by a comma(,).

Note: You can also include posts by selecting a custom taxonomy from the Taxonomies dropdown and then adding a taxonomy slug in the Taxonomies Slug field.

To find the post id from the Dashboard, go to your custom post type.

Hover over the post you want to get the id of, and you’ll see the id at the bottom of the browser, it will show the post edit URL with its id. The number after ‘post=’ is the post id.

Cnsjbpxjnjxph9pkatsrawibijm5 cumuzjz5loee7x6m3v5hhv0zffph8pahemsg2mob4vag3vzismsojr1hklcrw0bmibbfhkocwnrqyrjyhj14q t ptgqmx55mqgdun0nggjn0hhvjw y84n 4 how to include custom post types by post id in elementor? From the plus addons for elementor

Now only that specific post will show.

Similarly, you can exclude posts by ID from the Exclude Post(s) field.

OR
Get Free 25+ Secrets to Make Elementor Website Faster [Guaranteed Results]



    Subscribe to our YouTube Channel for Elementor Tutorials
    New Video Every Week!
    Automatically Convert Figma Designs to 100% Editable Elementor Website

    Related Docs