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
2answers
160 views

Let users comment on categories in WordPress

I'm working with a client who wants visitors to be able to post comments on categories instead of on individual posts, but I am unsure on how to go about it. Is it possible to display the comment form ...
3
votes
1answer
5k views

Remove parent category from permalink? Basically only have the child category?

I think there used to be an out-dated plugin to do this. Is there any way to do this easily with just a little code? We prefer not to rely on a plugin since that makes us dependent on the developer ...
0
votes
1answer
123 views

list taxonomy based on taxonomy

Please, someone can help?! I'm fighting with this for weeks and nothing.... I'm quite new in wordpress and php... There is a way to list taxonomy terms based on another taxonomy? OR If is possible to ...
0
votes
2answers
3k views

WP E-Commerce WPEC 3.8 Sort Categories

I'm running Wordpress 3.1, with the WP E-commerce plugin (3.8.2) with Gold Cart 2.9.1. I posted this question a while back on the getshopped.org forum, with no solution unfortunately... I have a list ...
0
votes
2answers
392 views

Display latest post from Wordpress Featured Category that is also in X,Y,or Z categories

I want to display the latest post from a "featured" category (id=1) that may also be in either X category, Y category, or Z category (id=2,3,4 respectively). Note, there are other posts in categories ...
2
votes
3answers
2k views

Check if post belongs to any category

In my homepage loop, I have something that will show which category the post is in. It will say something like "Posted 4 hours ago in Sports by ...". However, when there is no category set, it will ...
1
vote
2answers
2k views

Add extra fields to Add New Category page

I need to add an extra field to the Add New Category page. Currently it only has fields for Name, Slug, and Description. Essentially, I need to have a second description text box. I use the current ...
0
votes
1answer
79 views

How can I get rid of the the category suffix--NOT “prefix” (i.e. foo-1, foo-2, etc)

I just added a new category to my WordPress site, but the WP is adding a "-2" to the url as if there was an existing category with the same name. But there isn't. There was, but I deleted it. How can ...
0
votes
1answer
56 views

Custom loop by url

So currently I have this working for 'search' ie: if I do www.domain.com/search/query, it returns everything it finds on the word 'query'. I would like to utilize that loop/template I created within ...
0
votes
1answer
255 views

Get Categories Where Taxonomy Equals 'n'

I have a custom taxonomy(the taxonomy is types) that is basically a selector that tells WordPress which section of the site to place the new post. So for example I create a new post and select ...
1
vote
1answer
69 views

How to append category name to category ID in a form field

What would I need to do so that every row has a unique input box, which the user inputs a numeric value, and then the category name is appended to it. e.g Category | Time ----------------- Home ...
0
votes
1answer
698 views

Get categories names as an array to use it in theme settings

I am building a theme and for the Theme Settings Page I followed this tutorial: http://wp.tutsplus.com/tutorials/using-the-settings-api-part-1-create-a-theme-options-page/ What I want now is to have ...
1
vote
2answers
5k views

How to Change the Categories Order in the Admin Dashboard?

The order of categories on dashboard is alphabetical. Can I change it to custom order?
0
votes
1answer
255 views

Exclude the category of the current post

I have a simple site that shows one random post when you reach it. This post then has a link below it that, when clicked, will pull in another random post to that homepage, excluding all posts from ...
2
votes
1answer
329 views

Unpublish all posts in a category

I have a category with about 3.500 posts. 2.500 are not published, but saved as drafts. I want to unpublish all the remaining 1000 posts from this one category. Maybe I will want to delete all of the ...
2
votes
2answers
552 views

Categories lose hierarchy order once assigned to post

I setup some hierarchical categories and when I assign them to a post the widget reflows and loses the hierarchy display. Example: - Education Services -- Arts & Archives --- Fine Arts -- ...
0
votes
1answer
288 views

Get current taxonomy and display query accordingly

Okay i'm having a bit of a catogorisation/taxonomy/filtering problem here and am at loss on how to solve this. I hope someone could help me on the way a bit. Say I've got a blog about food, with a ...
0
votes
2answers
671 views

Output Title of Post's Current Category

How do I output the current category title for each specific post? <?php query_posts('category_name=group&posts_per_page=10'); ?> <?php if (have_posts()) : ...
0
votes
2answers
640 views

How to detect /category and /tag base pages?

In a theme I'm building, I have this structure for detecting what type of page something is. However, if I visit mydomain.com/category/ or mydomain.com/tag/, all I get is the "nothing found" message I ...
0
votes
1answer
433 views

exclude categories from search results

I have the following function, I need to exclude categories from it because it works across the site in several different places. How can I do that? // allCategories(): return an array of categories ...
2
votes
1answer
628 views

Wordpress - Admin Manage Posts - Multiple Filters by Parent Category

Lets say I have the following Categories in Wordpress: Product Category - Cat A - Cat B - Cat C Service Type - Service A - Service B - Service C On the Manage Posts page on the Admin side, I want ...
0
votes
1answer
1k views

list all child categories that apply to current post even if those cats are empty?

list all child categories that apply to current post even if those cats are empty? everything I tried just shows "post not found" - Have alphabetical listing and trying to create A B C D ...
0
votes
2answers
778 views

Custom Wordpress category page showing all posts rather than the specified category

I am trying to build a custom view of categories, I want to have all 'post's show their thumbnail within a jQuery carosel (4 in each slide) , I have got it to a stage where it visually looks how I ...
1
vote
1answer
299 views

How can I list Custom Post Types created with the Types plugin under categories?

I am using the Types plugin and have ticked Categories under the Registered taxonomies that will be used with this post type section. However, no categories seem to appear. Has anyone encountered ...
5
votes
5answers
2k views

Different post sort order within different categories

I need to give each post a unique post order for multiple Categories (per post) it is in. I can imagine a solution using custom fields whereby for each Category there is a corresponding custom field ...
1
vote
1answer
949 views

Multiple Category Search

I'm trying to create a search feature that will allow users to enter a search term and select a couple of categories. The script searches a single category just fine, but when I add more than one I ...
0
votes
1answer
2k views

in_category for custom post types

how can I use the in_category for custom post types? here is my code. <?php get_header('shop'); ?> ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); global $_product; ...
1
vote
1answer
96 views

Permalinks - Different structures for different categories?

Currently I use /%category%/%postname%/ as my permalink structure. However, I would like to have a different structure for different categories. This is because I have a "News" blog that I would like ...
0
votes
1answer
51 views

How to pull a list of posts in a category while exluding posts in subcategories of the category

I'm using a get_posts() call to pull a list of posts in a specific category. However, the recordset also includes posts in subcategories of the target category. How can I exclude subcategories from ...
1
vote
2answers
1k views

How to filter out Categories for specific post types on Wordpress Admin?

How can i programatically change the Category selection menu on wp-admin? is there a hook or filter to edit the Category List? My objective is to filter out specific categories for specific ...
-2
votes
1answer
458 views

How to define category ID in an array?

I have the following: <?php if ( array( 'is_category', 'is_tag' ) ) { ?> What I want to do is (that doesn't quite work): <?php if ( array( 'is_category('13')', 'is_tag' ) ) { ?> So ...
0
votes
1answer
286 views

Custom Portfolio Page

I've a page (at /portfolio) & nav item created called Portfolio. What I'd like is for this page to either contain all the portfolio category's post in chronologically order or else all of the ...
1
vote
1answer
123 views

Categories or Custom Post Type to Organize Content

Let's say I'm starting a martial arts website and I want to categorize content into themes: philosophy fitness training techniques diet Etc. I keep going back and forth between using custom loops ...
1
vote
1answer
2k views

How to select posts from multiple categories and metavalues?

I need to select posts who are in multiple categories and have certain post metavalue. I can select multiple categories with query_posts( array( 'category__and' => array(1,2,3) ) ); But also I ...
0
votes
1answer
260 views

Jigoshop - only displaying 10 products

Just wondering if anyone knows why Jigoshop will only display 10 products that I have in each category. Thank you.
0
votes
1answer
2k views

Query only Posts from Both of Two Category?

I have 3 categories, 1.OnGoing projects(cat id='5') 2.Completed Projects(cat id='6') 3.Upcoming Projects(cat id='7') and also i have another 2 categories:(Not a Sub Category) chennai (cat ...
2
votes
8answers
10k views

Filter get_categories() for taxonomy term in WordPress

I want to show a category only if a (custom) post is in that category AND region = $name for that post. So, e.g. I have a custom post (type "business") named "Mamma Mia" in child-category: ...
-2
votes
1answer
47 views

Moving Blog and Changing URL

I'm moving a blog with a decent amount of traffic and some good google juice. I want to try and proactively fix links that will change. How would I loop through all my categories and tags on my ...
0
votes
2answers
131 views

Category Template - Show Last Entry as Featured

I am working on my category template. Here is how I want the page to display: Category Name - this is done The latest post for each category be on top (then styled which I can do). The Category ...
0
votes
1answer
575 views

Listing all posts from current category on page

I'm trying to list all posts from a certain category, in a list, on the category page that already lists the posts out in blog form. I'm trying to do it in the header area so that you can get an ...
-1
votes
1answer
836 views

how to implement next/prev within category archive?

I click on a link in my WP site to open a category archive. I see a list of posts for that category. I click on the permalink of one of those posts to see the full post. at the top of the window are ...
1
vote
1answer
691 views

How to remove specific categories from posts?

I need to select all posts from database without fetching some categories. For example I fetch posts with this code: $featuredPosts = new WP_Query(); $featuredPosts->query('showposts=40'); So, ...
0
votes
1answer
1k views

Use template of parent category for single post sub-categories

I have single post templates in a folder in my child theme marked "single". I need the sub categories to use the same template as their parent. I've read a dozen tutorials all of which were more than ...
1
vote
1answer
401 views

How to customize tag and category post listings to show introductory content?

In wordpress, we allow google to index our category and tag pages. We don't use no-index for tag or categories, which results very high ranking in a lots of keywords and we are receiving very high ...
0
votes
1answer
148 views

Category names on CPT archive pages [closed]

I purchased a theme and I'm trying to customize the "blog archive" pages for the Portfolio CPT that's included with the theme. The theme is: ...
2
votes
2answers
240 views

Custom Theme Want To Remove One Category From All Displays

I created my own custom Wordpress theme for my website, everything is great. However, I have a strange need, I have one category which is kind of a 'placeholder' for content which is automated and ...
0
votes
1answer
829 views

How to Override default update_count_callback for category

Is it possible to override default update_count_callback for category? The default function counts published posts while I want to count private posts. I do not want to register a new taxonomy.
0
votes
2answers
644 views

Maintaining a separate posts page for certain categories and don't show those on home page

I have a personal blog where I write general posts. I decided I'd like to seldom post about some other topic (let's say it's cats), that interests a very different audience then my current one. So I ...
2
votes
1answer
123 views

“Reversable” and “Re-useable” Subcategories (or other taxonomic structure)

Hope you can help a WP newbie :) It is my understanding (and please correct me if I'm wrong!) that I cannot use the same subcategory slug in multiple parent categories, i.e. this structure is ...
0
votes
2answers
139 views

Can the_category display a post count?

Is it possible for the_category to display a post count within a post. Looks like Posted In: Category Name (3),Category Name (2) etc etc Possible or not? I would just use wp_list_categories but it ...