WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19985, comment 2


Ignore:
Timestamp:
02/07/12 22:27:54 (4 years ago)
Author:
novakpeter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19985, comment 2

    initial v1  
    1313The whole listing is bad if you are in "events" subcategory! In "news" category, it lists posts from "news" category (and pagination works) - OK. In "events" category (which is subcategory of "news"), it lists posts from "news"(!!!) category (and pagination doesnt work) - BUG. I thing this simple thing just should work (the same way for category and subcategory). 
    1414 
    15 What do you mean by hooking initial query, do you mean hooking pre_get_posts? 
     15What do you mean by hooking initial query, do you mean hooking pre_get_posts? I have tried already. I was able to show normal posts from certain category and custom posts from certain category. I was not able to show normal posts from certain category and custom posts from ANY category and not assigned to any category:-( And the whole thing didnt work in parent category:-(