Archived topic
Post are repeating using WP-Showposts
10 replies · Started by Abdul on May 26, 2022
Posts are repeating for all the categories even though I have provided specific categories based on the advise from the below topic
Hi Abdul,
All the WP show posts lists are the same one with the ID wpsp-10306.
Can you check?
https://generatepress.com/forums/topic/homepage-design-2/#post-1967904
I followed this suggestion
Hi there,
can you share the shortcodes you're using on the page ?
These are the codes that i am using in that page
[wp_show_posts id="10306"]
[wp_show_posts id="10306" settings="taxonomy=category&tax_term=windows"]
[wp_show_posts id="10306" settings="taxonomy=category&tax_term=android"]
[wp_show_posts id="10306" settings="taxonomy=category&tax_term=web-apps"]
[wp_show_posts id="10306" settings="taxonomy=category&tax_term=how-to"]
[wp_show_posts id="10306" settings="taxonomy=category&tax_term=gaming"]
In your WPSP list, are there any categories selected ?
[wp_show_posts id="10306"]
For this one, I have selected all the categories mentioned in the above post so that those articles are listed.
It was working fine until yesterday.
I removed a few shortcodes from the home page after which it started showing like this. I cleared the cache too and checked
Can you remove the category terms from that WPSP list
Can you please let me know if I need to remove from the shortcode or remove from the terms in the WP Show Posts in WordPress ?
If WP then what should I select? Since I need to show Recent posts which is not a separate category but lists the latest posts across all the categories
Fixed it
For some reason, there was an "amp;" in the shortcode. Removed that and it is working fine now
[wp_show_posts id="10306" settings="taxonomy=category&tax_term=web-apps"]
Thanks for the support
Glad to hear you found the issue