Skip Navigation

[Resolved] View not showing expected results from category

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by Sammut 5 years, 6 months ago.

Author
Posts
#1133454
Screenshot 2018-10-24_08-19-18-187.png

I created a view: [wpv-view name="custom-post-grid" catslug="free-sheet-music"] and the results are pulling in posts from categories outside of the slug. These posts are not categorized in the slug at all. I added a screenshot of my view.

Looking at the debug info I do not see the category being filtered.

SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  WHERE 1=1  AND wp_posts.ID NOT IN (34933,35273,34713,34473,32190,31965,31831,31775,31710,31571,31333,31332,6333) AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish'))  ORDER BY wp_posts.menu_order, wp_posts.post_date DESC LIMIT 0, 5
Basic query arguments
Array
(
    [post_type] => Array
        (
            [0] => post
        )

    [paged] => 1
    [suppress_filters] => 
    [ignore_sticky_posts] => 1
)
#1133459

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.