Timeline for Custom search filter causes menu and query_posts problems
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 13, 2018 at 11:00 | history | tweeted | twitter.com/StackWordPress/status/1006853840166162432 | ||
Jun 13, 2018 at 8:13 | answer | added | Andrew Schultz | timeline score: 0 | |
Dec 4, 2012 at 18:10 | comment | added | Chip Bennett |
"I don't see how pre_get_posts hook is related to the custom menus" - that's because nav menu items are posts, and are queried as posts. Also: don't ever use query_posts() . Use WP_Query() instead for custom query loops, or use pre_get_posts to modify the main query.
|
|
May 24, 2012 at 11:34 | history | edited | Justine | CC BY-SA 3.0 |
added another problem caused by the same snippet of code, see update
|
May 24, 2012 at 10:13 | answer | added | Sisir | timeline score: 13 | |
May 24, 2012 at 10:12 | history | edited | Justine | CC BY-SA 3.0 |
added 105 characters in body
|
May 24, 2012 at 9:57 | history | asked | Justine | CC BY-SA 3.0 |