WP_Query and calling for multiple pages
-
Hi,
I am using this code in the WP_query section of the widget:
{ "post_type": "page", "orderby": "rand", "page_id": "234,37,61" }
I am imagining that either “page_id” does not support multiple ids or I’m doing something more wrong than that.
Trying to have the widget feature a random page on each load from a list of available pages.
Any way of doing that?
the ip to the site (still building): https://23.21.211.27/
- The topic ‘WP_Query and calling for multiple pages’ is closed to new replies.