Home › Forums › Pro Support › What is the best tactics to show Really Related posts on WP Show Posts?
- This topic has 7 replies, 2 voices, and was last updated 2 years, 2 months ago by
elvin.
-
AuthorPosts
-
July 6, 2021 at 12:34 am #31729
Sibi Paul
ParticipantHello…
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.
July 6, 2021 at 1:33 am #31731elvin
ModeratorHi 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.July 6, 2021 at 8:17 am #31744Sibi Paul
ParticipantI’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.
July 6, 2021 at 4:25 pm #31753elvin
Moderatorwhy 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)
July 6, 2021 at 4:49 pm #31761Sibi Paul
ParticipantSo…
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.
July 6, 2021 at 9:58 pm #31784elvin
ModeratorWP 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. 😀
July 7, 2021 at 2:08 pm #31795Sibi Paul
ParticipantPerfect, I’m waiting…
July 7, 2021 at 7:37 pm #31800elvin
ModeratorWe’ll make sure to post an announcement once it’s up. Thank you for your patience. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.