Page Tags Query in Only One Subdirectory
-
Does anyone know how to make a list of pages with a certain tag, but only in one subdirectory? I found the following two examples of codes to help me get there, but I don’t know how to make the query display only results from a certain subdirectory (i.e. example.com/plants and only pages under the plants subdirectory show up in the query results).
https://stackoverflow.com/questions/32341/how-do-i-list-all-entries-with-a-certain-tag-in-wordpress
and
https://digwp.com/2010/01/custom-query-shortcode/
Does anyone have any thoughts on this?
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Page Tags Query in Only One Subdirectory’ is closed to new replies.