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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options answers only user 385

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
Sure that is possible. Take a look at the output of <body <?php body_class( $additional_classes ); ?>> You get a bunch of taxonomy related classes there: tax-portfolio_category << tax-{$taxonomy …
answered Sep 8 '15 by kaiser
2
votes
Just use the break statement to abort after the first cat that is found and that is a child category. foreach ( get_the_category() as $cat ) { if ( cat_is_ancestor_of( 10, $cat ) ) { …
answered Jun 19 '13 by kaiser
0
votes
Easy, if i understood a little bit (of your question) right... $args_include = array(4,5,6,7,8,9,10,72,11,12,13,14,15,16,17, 18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41)'; …
answered Feb 22 '11 by kaiser
6
votes
Should work from inside your functions.php function add_manage_cat_to_author_role() { if ( ! current_user_can( 'author' ) ) return; // here you should check if the role already has_ …
answered Mar 25 '11 by kaiser
0
votes
function ribbon_list_cats( $parent_cat_slug, $echo = true ) { $parent_category = get_category_by_slug( $parent_cat_slug ); if ( $parent_category->count > 0 ) { $output = '<ul>'; …
answered Jul 15 '11 by kaiser
1
vote
Pretty easy. Here's a Plugin that will allow you to do the same to all _builtin taxonomies. You will have to uncomment if you want to get some feedback. The second function shows the result in your wp …
answered Mar 15 '11 by kaiser
0
votes
I'd choose the way that @toscho suggested. Anyway here's a solution that completely removes the built in taxonomy. I wouldn't adivse you to use it (may cause unexpected behavior). /** * Remove buil …
answered Mar 27 '11 by kaiser
7
votes
Try get_categories( array('hide_empty' => 0 ) );
answered Jul 28 '11 by kaiser
0
votes
Just use the current_post property in the loop: if ( have_posts() ) { while( have_posts() ) { global $wp_query; the_post(); // Show current post number: echo …
answered Sep 27 '12 by kaiser
3
votes
Simply call the category_description() - this displays the description that you can enter for each category that you add in the admin UI under "category" (or post tag or each other custom taxonomy). …
answered Feb 18 '14 by kaiser
5
votes
Late answer There's get_terms() here for that. No need for any custom queries.
answered Dec 5 '12 by kaiser
2
votes
Take a look at the source of wp_dropdown_categories(). It uses walk_category_dropdown_tree() to render the output. Right after that you have a filter named wp_dropdown_cats that allows altering the fi …
answered Feb 14 '14 by kaiser
0
votes
I guess you got 2 loops and maybe one before. Try to use wp_reset_query() before or rewind_posts().
answered Jun 15 '11 by kaiser
5
votes
Simply place define( 'WP_USE_THEMES', false ); include 'wp-load.php'; on to of your template files (before everything else). This loads the whole WP core.
answered Feb 3 '12 by kaiser
0
votes
I'm pretty sure i missunderstood you... Approach: Categories & Terms (built in taxonomies) You have got categories (hierarchical built in taxonomy) & terms (non-hierarchical built in taxonomy). You … can also assign terms to categories. So i'd say, you can take the following approach using the built in taxonomies: shoes (parent category) boots (child category) sneakers (child category …
answered Apr 14 '11 by kaiser

15 30 50 per page