[Support request] Show Related Posts without plugin

Home Forums Support Show Related Posts without plugin

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1318957
    Sagar

    Hi there,

    I want to show related posts in the sidebar and after the content. I don’t want to use any plugin because they slow down the websites like Yarrp and others.

    Is there any code or something like in other themes. I request Tom to create a related post plugin, especially for GP users.

    Please help me with some code.

    Thank you.

    #1319157
    David
    Staff
    Customer Support

    Hi there,

    Related Posts is something that requires a plugin.
    You may want to research plugins that display posts related just by Categories for example. They will not have the performance impact on your server like YARRP does.

    #1319344
    Sagar

    Hey,

    I have seen one of the methods of creating related posts through your plugin WP show posts. Use this plugin and activate the Element module.

    Add this code in the hook in order to show the related posts by Category:

    ——-
    I found this in this blog: https://www.wplogout.com/display-related-posts-in-generatepress-theme/

    Could you please check this code and let me know so that I can add it on my website without installing any other related post plugin except yours WP show posts.

    #1319398
    gabrielvb1100

    I was trying the same thing as you, and I ended up using this code
    https://www.hongkiat.com/blog/wordpress-related-posts-without-plugins/
    but i prefer to use WP SHOW POSTS in an element

    #1319457
    David
    Staff
    Customer Support

    This blog post from the Merch site in the GP library explains how and where to add the code:

    https://gpsites.co/merch/the-single-post/

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