Site logo

[Resolved] How to Add Related Post Below Content

Home Forums Support [Resolved] How to Add Related Post Below Content

Home Forums Support How to Add Related Post Below Content

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1738457
    Theodore

    Hi,

    Please, how do I go about adding related posts below contents

    #1738478
    Leo
    Staff
    Customer Support

    Hi there,

    You can try a plugin like this:
    https://en-ca.wordpress.org/plugins/contextual-related-posts/

    And add it using a hook element:
    https://docs.generatepress.com/article/hooks-element-overview/

    Let me know if this helps 🙂

    #1738552
    Theodore

    Thanks for your quick response. I would love to use the hook element. But, I seem to get lost in the required code to add the related content. Could you please simplifu it.

    #1738783
    David
    Staff
    Customer Support

    Hi there,

    first off that plugin will provide you a shortcode.
    Provide here
    Copy that.

    Then:

    1. Go to Appearance > Elements and create a new Hook element.
    2. Paste the Shortcode into the text area.
    3. Then from the Hook List – select generate_after_content
    4. Check the box for Execute Shortcodes.
    5. Go to the Display Rules tab > Location and select Posts > All Posts.

    Publish the element 🙂

    #1740472
    Theodore

    Thanks for the swift response. I don’t seem to get the said code, please.

    #1740611
    Leo
    Staff
    Customer Support

    Looks like David is talking about the shortcode on that linked page:
    https://www.screencast.com/t/6zAKVum0

    #1740626
    Theodore

    Hi,

    Thanks for this. I have resolved to use the suggested plugin.

    #1741545
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.