WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #17016, comment 5


Ignore:
Timestamp:
04/02/2011 01:04:13 AM (7 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17016, comment 5

    v1 v2  
    1 A workaround for your problem would be to modify the resulting posts (or rather the resulting query) before the actual template is loaded.
     1A workaround for your problem would be to modify the resulting posts (or rather the resulting query) before the template is loaded.
    22
    33This can be done using one of 'parse_query' or 'pre_get_posts' actions. Plenty of tutorials for that on the web.