Skip to main content
All CollectionsTroubleshooting and FAQsFrequently Asked QuestionsGeneral
How to Create a List of Related Posts for a Single Post Page With Divi
How to Create a List of Related Posts for a Single Post Page With Divi

Learn how to create a list of related posts for a single post page in Divi to keep visitors engaged and enhance user experience.

Updated over 3 months ago

Displaying a list of related posts on a single post page can keep visitors engaged by directing them to additional relevant content.

This feature helps increase page views and enhances the overall user experience by providing readers with more articles that match their interests.

This article will guide you through creating a list of related posts for a single post page using Divi, ensuring a seamless and engaging navigation experience for your audience.

To create a List of Related Posts, you can use any of the following methods:

  1. Use the Divi Theme Builder (recommended).

  2. Use the Divi Builder for each post.

  3. Use a 3rd Party plugin.

Create a list of Related Posts using Divi Theme Builder

  1. Go to WordPress Dashboard → Divi → Theme Builder

  2. Create or Edit the All Posts Template → Custom Body

  3. In the All Posts Template → Custom Body, insert a new Section

  4. Insert a 1 Column Row

  5. Insert a Text module and add the Related Posts text

  6. Set the text to be an H2 Heading.

  7. Insert the Blog Module.

  8. Open the Blog module's settings window and set the following options in the Content option group:

    1. Post Type: Posts

    2. Post Count: 3

    3. Included Categories: Current Category

    Blog module content option group

  9. In the Elements option group, deactivate the Show Pagination option;

    Blog module elements option group

  10. In the Blog module's settings → Design → Layout, choose Grid (optional step)

The result can be seen in the screenshot below:]

Blog module related posts

Note 1: Following the above steps, the Blog module will only show posts from the same category with the post in view.

Create a list of Related Posts using Divi Builder on each Single Post

Note 2: The same steps can be followed for the Theme Builder All Posts template, with the difference that the changes are made to each post.

  1. Go to WordPress Dashboard → Posts All Posts.

  2. Create or Edit any of the existing Posts with the Visual Builder.

  3. In the single post layout, insert a new Section.

  4. Insert a 1 Column Row.

  5. Insert a Text module and add the Related Posts text.

  6. Set the text to be an H2 Heading.

  7. Insert the Blog Module.

  8. Open the Blog module's settings window and set the following options in the Content option group:

    1. Post Type: Posts

    2. Post Count: 3

    3. Included Categories: Current Category

  9. In the Blog module's settings → Design → Layout, choose Grid (optional step).

Create a list of Related Posts using a 3rd party plugin

  1. After installing and activating the plugin, go to WordPress Dashboard → Settings → YARPP.

  2. Set the following settings for The Pool section:

    1. Post types to include: Posts

    2. Display sticky posts: checked

    3. Limit the same post type: checked

    Yarpp the Pool section

  3. Set the following settings for The Algorithm section:

    1. Match threshold: 1

    2. Titles: Do not consider

    3. Bodies: Do not consider

    4. Categories: Consider

    5. Tag: Consider

    6. Project Categories: Do not consider

    7. Project Tags: Do not consider

    Yarpp the Algorithm section

  4. Set the following settings for the Automatic Display Options section:

    1. Automatically display related content on uncheck everything

    2. Maximum number of posts: 3

    3. Theme: Thumbnails

    4. Thumbnail Size: you can choose et-pb-post-main-image(400x250) (optional step).

    Yarpp Automatic Display Options section

  5. Edit the single post or the All Posts Theme Builder template

  6. Choose where to display the YARPP related posts and insert the Code module.

  7. Place this shortcode in a Code module:

    [yarpp]

    Use the Yarpp shortcode
Did this answer your question?