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.

learn more… | top users | synonyms (1)

0
votes
1answer
11 views

New Category - custom taxonomy

When you click on Posts > Category and Add a new Category - is this new Category an example of a custom taxonomy? I had a read of https://codex.wordpress.org/Taxonomies but still didn't make much ...
2
votes
1answer
2k views

Display products for a category, sorted by post_excerpt

I'd like to display a list of products for a certain category, sorted by the post_excerpt. The original code I used was this: $args = array( 'tax_query' => array( array( ...
0
votes
1answer
549 views

Issue on Listing Sub Product Categories In Woocommerce

Using Following code I am able to list all top level Categories on Woocommerce Product Categories $args = array( 'number' => $number, 'orderby' => 'title', 'order' => ...
0
votes
1answer
370 views

Custom loop of a single category, cannot order by date. What am I missing?

I'm going nuts. All I have is a simple loop on the home page of the site (which is a static page), and it should show the most recent (1) post of a certain category. The trouble is no matter what i ...
1
vote
1answer
496 views

Creating gallery with taxonomy images plugin?

My code uses a taxonomy category image plugin to display images for categories. It also displays subcategories of the main category in the parent category page (category.php). I want to display only ...
0
votes
1answer
600 views

Custom url structure - pages under a custom post type

I'm struggling with the structure of my Wordpress site and I was hoping you might be able to give me some advice. The site is for a series of events and the structure is as follows: Gateway ...
0
votes
1answer
403 views

Show 10 Sub Categories Per Parent Category Page?

I have using following code for displaying sub categories in parent category page. Its displaying all subcategories in a single page. I want to display 10 sub categories per page. Please help me to ...
0
votes
1answer
476 views

Random Category with Recent Post Title and Thumbnail

This code below works perfect to pull the title of five random categories, the issue is for each random category I want the latest post title and thumbnail but where and how do I add the post query? ...
0
votes
1answer
652 views

How to display all category images for single post in a page?

Here is my code <div class="our_team_box_big"> <h2>Microsoft</h2> <?php foreach (get_the_category() as $cat) : ?> <div class="one_fourth"> <div ...
0
votes
0answers
6 views

Posts assigned to one category disappear from the main feed

I have a fairly new blog site, www.MagneticPatriot.com. (New means it only has a few dozen posts.) There is a particular category I have on this site, "Web Development," that whenever I assign that ...
0
votes
2answers
823 views

Display posts in three columns by category

I've seen posts which probably answer this, but unfortunately the answers are all a bit technical without telling you where the code should go? At the moment I have my posts directed to a blog page. I ...
0
votes
1answer
395 views

Get categories and descriptions from custom post type

I'm trying to pull all of the categories associated with a custom post type within a loop, but I'm not sure how to get it so automatically pulls all of the categories automatically from the associated ...
-1
votes
1answer
60 views

Remove word “Category” from WooCommerce product page [closed]

I'm trying to remove the word Category from the product page. As far as I know the code that displays that is woocommerce_template_single_meta located into content-single-product.php file: ...
1
vote
2answers
2k views

Sticky post for each category on category pages

I think the title is self explanitory. I would like to show category.php a post I set as sticky post for that category. Do you know a good plugin or a code to do this? Thanks, Sarit
0
votes
0answers
10 views

Linking categories and assigning posts in bulk

I am looking for a way to link categories in such a way, that e.g. if you assign few posts to a category, they will automatically be assigned to another category which is linked to the first one. Here ...
0
votes
1answer
633 views

Best Way to Redirect Category to Page and Hide Category

I have a category archive page at: http://mysite.com/news It displays an archive of items from the category 'news-article' I'd like to redirect any requests for ...
0
votes
1answer
695 views

Related posts widget - category

I want edit this widget to display related posts from current category. This code below display only posts from category that I must choose manually. So I want related posts from category ..thanks for ...
0
votes
0answers
19 views

Manage taxonomy for categories of users just like the native wordpress taxonomy for categories of post

i should realize a post-categories like component for users, exactly I would like to get every functionality that wordpress dispose for hierarchical taxonomies. Focus up about: Admin Case admin ...
-1
votes
0answers
12 views

How to order categories? [on hold]

I started using Woocommerce today, so I'm new to the plugin. I have created all categories required, and ordered them by drag and drop but the front view shows them in alphabetical order. How can I ...
0
votes
1answer
1k views

Show custom menu in category and its posts

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...
0
votes
0answers
20 views

Get Meta Value of a parent category

I have a little problem that I cant get my head around to deal with. I use ACF for custom fields and I have specific fields for categories. On each category I assign a color to a custom meta field ...
0
votes
2answers
829 views

Categories widget show empty?

Is there a way I can display all categories in the categories widget that comes with wordpress. I do not want to have to edit the core files and I want to stay away from rewriting the widget, but if ...
0
votes
0answers
12 views

Sync Post Categories with Pages while maintaining ancestors

I'm attempting to automatically create post categories and maintain the post category hierarchy so that it mirrors pages that have been created while maintaining the page hierarchy. I have achieved ...
-1
votes
2answers
41 views

Only show sub-category

I have a news system with a thumbnail and a box on it that show the category related to the news, using <?php the_category(', '); ?> This worked fine using only one category for each news, but ...
2
votes
1answer
727 views

Display all posts from all categories with pagination

Alright, this might be a tricky one to explain but I'll do my best. At the front page I want to display all the posts from all the categories. However I want them to be divided. Take this for an ...
0
votes
1answer
20 views

Category For Pages In WordPress

I need to categorize search result of WordPress, I have done that through adding categories to posts and custom post types. Now, only pages are listing without any category, I think it is possible to ...
1
vote
2answers
717 views

Exclude Posts From Specific Category from Next and Previous post links

I've been searching for this a lot...but all I get is not what I need. I simply want to show next and previous links on single.php (from all the categories, based on publish date, not just in the ...
0
votes
1answer
19 views

Custom row actions on a specific category

I am wondering if the row actions can be changed for a specific category. Like the Uncategorized category I want no "delete" link. Apparently in class-wp-terms-list-table.php line 336, Wordpress ...
1
vote
4answers
856 views

How to sort list of custom posts to get view like a tree of posts under categories and their children's categories?

I'm new here and my english isn't perfect so I'm sorry for this :) I'm here because I'm workin on site with post list sorted by category and I have problem with sort out my posts in categories and ...
0
votes
1answer
12 views

Inserting categories as a hierarchical terms from frontend form

I want to insert or you may say select the pre defined categories in my custom post type from my front end form. i don't know where i am missing any code. Please help me out in this ... Below is my ...
0
votes
0answers
24 views

Best way to change category base permalink

I am trying to change the base url for a posts category to /%category%/%postname%/, I have changed this in the permalinks and it works, but wordpress then ignore all my page links thinking they are ...
2
votes
1answer
497 views

How to put enctype=“multipart/form-data” in categories form?

I had success putting the code below to include enctype (for images) in custom post type forms, but I'm not able to use it in categories form... is this possible? Thanks. add_action( ...
0
votes
1answer
480 views

how i can hide some category from author admin panel?

i want author can not see some category from author admin panel but administrator can see that.how i can hide some category?my site http://techjagot.com .. here show some function.php code <?php ...
0
votes
1answer
472 views

How to get category slug link? ( include parent categories)

for example, if main category slug is cars; sub-category slug is: Ford; how to get the permalink of Ford, including its parent categories' slug? ( get_category_link() returns mysite.com/?cat=19 type ...
0
votes
2answers
654 views

Category link redirect to custom template page instead of index.php?

I want to make template page for my custom taxonomy. I have custom taxonomy categories listed as navigation links. It's the country list (China, Slovenia, Serbia...). Every of this categories has ...
0
votes
0answers
10 views

i need to show category with add subcategory for post

I have catgeory and subcatgeory for my post of level two , i want a dropdown with catgeory and subcategory , i will also need url. I wrote following code which just shows main catgeory. I also need ...
1
vote
2answers
990 views

Wordpress Child Category Display All Posts

I am creating a Wordpress page where all my posts in the child categories of team are displayed in a grid. I got this working with the below code. The formatting and general layout is great however it ...
0
votes
1answer
2k views

Regex problem in an add_rewrite_rule

I'm working on a category page for a custom post type called articles in WP 3.1, and I'm having some trouble with extracting the page number. The url: /articles/category/background/ Currently, what ...
0
votes
1answer
19 views

Display Taxonomies in loop with template args

I want to display the taxonomies within the loop but with customized template. Here is my code: if ( have_posts() ) { while ( have_posts() ) { the_post(); $args = array( ...
0
votes
1answer
43 views

Hide posts belongs to few categories in homepage

Currently I am using all the latest posts are displaying in the homepage settings. But now I need to hide few specific categories to be displayed in the homepage. All the post belongs to those ...
0
votes
0answers
15 views

When categories are nested underneath a parent, should the parent category also be checked?

At some points I have a three deep nested category structure, when posts are assigned to a category that has a parent, should both the parent and child category be ticked? Or just the child? I know ...
2
votes
2answers
80 views

How to show in search results posts with a particular tag in a particular category?

As the home page of my blog I've a static page. There I want to show the navigation of the site. Category1 Sub-Category1 tag1, tag2, tag3 Category1 Sub-Category2 tag1, tag2, tag3 ...
0
votes
0answers
21 views

dynamic menu parent and child category

I'm trying to create a dynamic menu listing all my category and subcategory.. from that im having 2 problems: first one: it display only the category and subcategory being populated by some post, iw ...
1
vote
2answers
858 views

Add category attribute to custom shortcode

I have created a custom post type called "faq". The custom post type uses categories. I have created a shortcode [faq] that displays all the faq posts. What I would like to do is add an attribute to ...
0
votes
0answers
107 views

Category/Taxonomy Template not loading

I read countless topics and searched alot of codex pages for that problem but I just don't get it. My category template isn't being loaded. Instead, only the index.php comes up. It doesn't matter if ...
0
votes
0answers
18 views

Post count is wrong in all categories on backend and frontend

Admin area is showing wrong post count for all the categories (and I have 300+) It's showing more posts than they actually are, even for new categories with no posts at all shows like 5 or more. I ...
1
vote
0answers
40 views

How to query all posts of a specific category, and any other category combination

Basically, I'm looking to query all post of category 'news', and any combination of other categories to display as Related News on single content type pages. So, if someone writes a post, and ...
0
votes
1answer
26 views

Is it possible to query the result of a query?

I'm not sure if the is even possible, and couldn't find an answer, so I figured I'd ask on here. Basically I want to know if it is possible to query a query result? What I want to do is query for ...
0
votes
0answers
21 views

one category template for diferent <option> values and sub categories

I have the default category.php template and my categories structure is like this: category sub1 sub2 sub3 sub4 sub5 Now what I want is on each subcategory to add ...
1
vote
1answer
60 views

Get posts from specific taxonomy term

I have nhl news website and I have taxonomy for each season (ex 2014-15) Taxonomy in functions: function wptp_register_taxonomy() { register_taxonomy( 'season', 'post', array( ...