WordPress Loop Question
-
Hello,
I was wodering if someone could help me with a loop question …
Now I know that the loop gets all of the latest versions of pages/posts.
But what If I wanted the loop to get the latest versions based on a custom field value?
So for example …
1) Page = ‘About Us’ — Page revision 17 — Custom Field Value = ‘True’
1) Page = ‘About Us’ — Page revision 18 — Custom Field Value = ‘False’
I would like the loop to return latest revisons on all pages/posts with a Custom Field Value of ‘True’ meaning page revision 17 would be the page shown, not revision 18.
Thanks for all of the help …
Mike
The topic ‘WordPress Loop Question’ is closed to new replies.