Query Custom Posts based on Custom Taxonomy SITE WIDE
-
Hello-
I’m trying to grab all published posts from custom post type “artifacts” in custom taxonomy “slis_goals” that are published across the entire site (site wide). I can grab artifacts from a single site using the code below but when the same template is used on the parent (main, ID=1) site, it doesn’t pull in anything. Documentation on this sort of thing is weak in the codex and online, so I’m not exactly sure how to query the database to look in all _posts tables across all sites. Thanks for any ideas you may have.
[Code moderated as per the Forum Rules. Please use the pastebin]
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Query Custom Posts based on Custom Taxonomy SITE WIDE’ is closed to new replies.