We're merging with GenerateBlocks! Learn more here.

[Support request] What is the best tactics to show Really Related posts on WP Show Posts?

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support What is the best tactics to show Really Related posts on WP Show Posts?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #31729
    Sibi Paul
    Participant

    Hello…

    I’m new to WP Show Posts Pro.

    I would like to show related posts after a single post section.

    Have seen, there is 3 taxonomy available.

    1 category

    2 tag

    3 post format

    What is this Post format means?

    How does this grab related posts?

    What if, I would like to show Really Related posts on my every post?

    I know this is not an Artificial Intelligence-powered plugin to detect posts based on user interest.

    even if so…

    is there any best practice to show best-related posts to the users?

    Thanks.

    #31731
    elvin
    Moderator

    Hi there,

    The post format is the one you set here – https://share.getcloudapp.com/Apuzl88n – when you publish a post.

    More about that here – https://wordpress.org/support/article/post-formats/#supported-formats

    I know this is not an Artificial Intelligence-powered plugin to detect posts based on user interest.

    even if so…

    is there any best practice to show best-related posts to the users?

    As for this one, the best way to go is by creating a helper shortcode that indicates for the WPSP what the current post’s category or tag is.

    add_shortcode('dynamic_wpsp', function($atts){
        $queriedArchive = get_queried_object();
        $atts = shortcode_atts( array(
    			'id' => ''
    		), $atts, 'dynamic_wpsp' );
    
        $settings = array(
            'taxonomy' => $queriedArchive->taxonomy,
            'tax_term' => $queriedArchive->slug,
        );
     
        ob_start();
        wpsp_display( $atts['id'], $settings );
        return ob_get_clean();
    });

    You then use the shortcode [dynamic_wpsp id="1234"] instead of the default wpsp shortcode. 1234 is the WPSP id you want to use.

    #31744
    Sibi Paul
    Participant

    I’m curious…

    why do we need to select post format in wp show posts?

    in what scenario we need it to be selected?

    Then…

    You missed one thing…

    where and how to add the above script?

    to use the above script, Do I need WP SHOW POST Plugin activated?

    What results I can get by using the above script?

    Thanks.

    #31753
    elvin
    Moderator

    why do we need to select post format in wp show posts?

    in what scenario we need it to be selected?

    It’s not really necessary. It’s a filter for when you need to show only post format of a specific type.

    where and how to add the above script?

    It’s a PHP snippet. You can place it on a child theme’s functions.php or through a code snippets plugin. https://wordpress.org/plugins/code-snippets/

    What results I can get by using the above script?

    With the shortcode from the PHP snippet, WPSP will display posts only from the same taxonomy as the current post the visitor visits. It’s basically showing related posts by taxonomy. (either tags or categories)

    #31761
    Sibi Paul
    Participant

    So…

    Why can’t you add it as an option in the Plugin itself?

    Then, WP Show posts will be very much meaningful to show related Posts

    Personally, I don’t like to use multiple plugins for the same function.

    Also, I don’t use any child themes,

    I’m a Premium user of GP, GP Blocks Pro, WP Show Posts Pro…

    I’m a fan of, Tom’s Minimalist Idea…

    So…

    kindly consider adding the option of this Related post in WP Show Posts.

    an option to QUERY very much related from Tags & categories Together.

    Recently, I was using Elementor Pro on my site…

    Their related post query was awesome.

    Really best-related posts were appearing to each post…

    users are very much likely to click and read…

    But, I uninstalled their plugin from all my sites… because of the BLOATS it creates…

    TOM and GP TEAM can do this facility with clean codes…

    I’m waiting for an Update…

    Thanks.

    #31784
    elvin
    Moderator

    WP Show Posts is currently prepped for a major overhaul.

    The team has floated the idea of merging it with GenerateBlocks, effectively turning it into a block with more features from previous requests and I believe this one is part of it.

    It’ll take a significant amount of time though, but it’s finally rolling. I’ll make sure to tag Tom to this. 😀

    #31795
    Sibi Paul
    Participant

    Perfect, I’m waiting…

    #31800
    elvin
    Moderator

    We’ll make sure to post an announcement once it’s up. Thank you for your patience. 🙂

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