Help Center
How to Display Related Posts Using Dynamic Field Widget

How to Display Related Posts Using Dynamic Field Widget

This tutorial fully explains the process of showcasing related posts using JetEngine functionality for the Elementor editor.

Set “one-to-one”, “many-to-many,” and “one-to-many” relations between the posts and custom post types and display particular posts related to the specific publication using the Dynamic Field widget of JetEngine.

Start by setting the post relations between the posts of different types. You can take a look at the appropriate tutorial to find out how this can be done. In our case, we establish “one-to-many” post relations, because there are one author and some of his posts.

post relations

Now we have to create a Single parent post template in Crocoblock > My Library > Single tab and display child posts.

create single post template

In the Elementor editor, drop the Dynamic Field widget in a certain section and set appropriate adjustments. In the Content block, we choose the Source: Meta Data and the Meta Field: Child Posts.

dynamic field widget in elementor with acf field

Then, we enable the Filter field output option and set the Callback: Related posts list. Also, we add links to related posts and specify the HTML tag. The last thing we need to do is click the “Save” button.

dynamic field widget in elementor with acf field

After that, we go to the “Authors” custom post type and view Alan Black’s related posts.

author custom post

Now you know how to display related posts using JetEngine Dynamic Field widget.

Was this article helpful?
YesNo

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.