Skip to main content
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
Results tagged with
Search options not deleted user 23610

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.

1 vote
1 answer
626 views

Display list of categories filtered by date?

Such as: -- HR ---Events ----Picnic However, this list has gotten long, and some categories are no longer even used. … Right now, I am using the default Categories Widget in the sidebar, but I can use a different widget or hand-code it. How would I best approach this? …
Steve's user avatar
  • 313
0 votes
1 answer
2k views

wp_list_categories and custom post types

I created posts, and they are all at /asset/post-title I assigned categories to the custom post type, e.g. … "patterns" The categories page shows the number of posts in each category If you look at the post meta for any of these posts in single view, it displays the category(ies) assigned to it. …
Steve's user avatar
  • 313
1 vote
0 answers
90 views

List posts in a category grouped by other categories?

What I am trying to do is create a page for each town (with intro text and photos enter into the page ui) and then a loop of Posts in that town's category grouped by the other categories. …
Steve's user avatar
  • 313
1 vote
1 answer
3k views

"show option all" on list categories doesn't display taxonomy

I have a wp_list_categories list set to display my custom taxonomy. Everything works fine, and now I want to add a show_option_all link. However, when the link is clicked it displays all default pos …
Steve's user avatar
  • 313
0 votes
1 answer
69 views

Configure query with multiple categories in a custom order?

I have a site with posts in 16 categories ("departments"). The home page is a grid of the current (newest) post in each category. … ALSO - and her is the part I need help with - the client wants to specify the categories AND the order they appear. So, my page is the newest post from "Dining", then the newest from "travel", etc. …
Steve's user avatar
  • 313
0 votes
1 answer
2k views

Display 3 levels of categories on page

"Data", loop through the categories, display the second level as H2s, and then display the posts in each subcategory. … -- loop through child categories and make columns --> <div class="col-sm-4"> <!-- category title --> <? …
Steve's user avatar
  • 313
0 votes
1 answer
178 views

Display page of custom posts?

> Also on this page, I am listing the categories with wp_list_categories When you click a category in this list, it goes to archive.php and displays the category there, thanks to this post's reply, … Or is there a better way to display categories of custom post types via wp_list_categories? Note: I'm also not sure why it's showing 2 empty iterations of the loop here. …
Steve's user avatar
  • 313
0 votes
0 answers
39 views

Secondary loop cuts off at 10 posts?

php // get all the categories from the database $cats = get_categories(); $slug = the_slug(); // loop through the categories foreach ($cats as $cat) { // setup the category ID $cat_id= $cat-> …
Steve's user avatar
  • 313
1 vote
1 answer
3k views

REST API: Display Category names in JSON?

Using the Wordpress REST API, I retrieve all my posts into a Angular 6 service. The category field in the JSON displays the ID of the category as an array of numbers. "category": [ 6 ], Is there a …
Steve's user avatar
  • 313
0 votes
0 answers
165 views

Post Editor: display categories from current post type taxonomy only?

However, if I create a post with the default Wp Post type, I still seem them as categories: I'd like to not confuse posters and keep them separate. … In the menu system, these items are showing up in "categories" under "posts" AND under my custom taxonomy: …
Steve's user avatar
  • 313