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 |
Every Post in WordPress is filed under one or more Categories. Categories allow the classification of your Posts into groups and subgroups, thereby aiding viewers in the navigation and use of your site.
0
votes
2
answers
114
views
Display a mixed list of posts and media
I added categories to the media library using these functions in functions.php:
// add categories for attachments
function add_categories_for_attachments() {
register_taxonomy_for_object_type( 'category …
0
votes
Display a mixed list of posts and media
Thanks to @bjornredemption, I used the following code snippet:
$args = array('category' => $wp_query->get_queried_object_id(), 'posts_per_page' => -1, 'orderby'=> 'title', 'order' => 'ASC', 'post_typ …
0
votes
2
answers
440
views
Unable to edit categories in custom post type
I have a custom post type created using the following code:
// Event Post type
register_post_type('event', array(
'capability_type' => 'event',
'map_meta_cap' => true,
'supports' => array('titl …