[Resolved] category issue

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support category issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31198
    Hans
    Participant

    Hi,

    I have an issue where the following happens. On my news page https://www.zuidelijkwesterkwartier.nl/nieuws/ i have a widget thats let’s the user selected a category. But when for example ‘Bombay’ is selected which has 1 blog post, all post are displayed. Same goes for other category.

    I tried to make a standard wordpress archive page to test what’s wrong but when i disable WSP and create a new archive page i still get this shortcode [wp_show_posts id=”4830″] on the archive page.

    My question is how can i use WSP with the category widget so that it does work like it should?

    Hans

    #31218
    elvin
    Moderator

    Hi there,

    You’ll have to instruct WPSP to do a query matching the current category archive.

    Try Tom’s code here – https://generatepress.com/forums/topic/custom-category-archive-page/#post-1777697

    #31227
    Hans
    Participant

    Thanks Elvin for pointing me to this solution, this worked as aspected.

    Hans

    #31257
    elvin
    Moderator

    Nice one. No problem. Glad to be of any help. 😀

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