Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Pages are static, timeless content that are unique from the regular blog chronology.
0
votes
2
answers
682
views
How to get a list of pages (not posts) with specific tags?
I am using the Pages with category and tag plugin to assign tags and categories to pages. … = get_pages( $args );
print_r($pages);
? …
1
vote
Accepted
How to get a list of pages (not posts) with specific tags?
So I figured out how to do this using get_posts instead: Instinctively one would think to get pages one needs to use get_pages but (and this is the key) you can get pages via get_posts as well as long … I came to this conclusion when I realized that posts and pages are both stored in wp_posts so post_type should work and it indeed did work! …