Timeline for How to change main query based on post meta
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 9, 2017 at 14:26 | answer | added | Graham | timeline score: 1 | |
S Aug 8, 2017 at 21:51 | history | edited | Johansson | CC BY-SA 3.0 |
Not able to comment to respond to commenter.
|
S Aug 8, 2017 at 21:51 | history | suggested | Graham | CC BY-SA 3.0 |
Not able to comment to respond to commenter.
|
Aug 8, 2017 at 21:44 | review | Suggested edits | |||
S Aug 8, 2017 at 21:51 | |||||
Aug 8, 2017 at 20:20 | comment | added | Johansson | Your conditional will never be triggered. The query has not been run yet, so you can't check if it has any posts or not. I would use a custom query in my template files instead, since what you want is going to be expensive. | |
Aug 8, 2017 at 18:20 | review | First posts | |||
Aug 8, 2017 at 19:40 | |||||
Aug 8, 2017 at 18:20 | history | asked | Graham | CC BY-SA 3.0 |