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)

1
vote
2answers
2k views

Select category in custom query

I'm sure this question is asked alot, but I cannot figure it out, since all the different ways to query posts are confusing me.. Here is my current code. How can I tell the code to only get posts ...
1
vote
2answers
752 views

How to enable category hierarchy for links?

It looks that by default WordPress had hierarchy only for page/post categories and not for links categories. How can I enable that?
2
votes
1answer
176 views

Adding categories to all blogs at once

I am using WordPress mu 2.9.2 and have the same category structure on all my blogs. How do I add categories to all my blogs simultaneously? Is there a plugin that does this effectively?
1
vote
2answers
547 views

List Posts by Category for a Non-Zero, Non-NULL Custom Field Value?

(Moderators note: The original title was: "Need help identifying and looping through categories where posts have custom field set") I need to loop through my categories however I need to limit the ...
3
votes
1answer
801 views

Qtranslate displays empty categories with get_categories()

I am using qtranslate (Wordpress Plugin) on a website and I don't want to display categories that don't contain posts for a language. So when I do get_categories() (without qtranslate) the ...
1
vote
1answer
936 views

Custom sidebar category listing?

I am trying to make a custom Category Display on my side bar and for that I need some way to get both, the category list and the child list in 2 different arrays or something alike... First, I tried ...
1
vote
2answers
127 views

My Category is too big on the Menu what can i do?

Currently I have a small amount of 100 categories and my MENU goes crazy big and I would like to be able to do 2 things if possible: First category menu with limited amount categories sorted by hits ...
1
vote
3answers
1k views

anything like add_meta_box for categories?

I want to add few custom fields to categories. So I am looking for something like add_meta_box but for categories. Is there any WP function like that for categories?
2
votes
2answers
713 views

Wordpress: category page not for post's

Please at first let me explain my question. I use wordpress to create web sites for flash games, so I don't have certain page for post's. I add each game by post-new.php?post_type=game and u can see ...
0
votes
3answers
997 views

How to totally get rid of Category in my blog?

I prefer using tags and have no interest in using the categories. All my posts now are labeled with a category named "Uncategorized" and I want to turn them off! I want no more categories at all. How ...
0
votes
1answer
802 views

add current-cat class to single post page

i know if you are on a category page..wp automatically ads current-cat class to the child of the parent category you are on. like `<li class="cat-item cat-item-701 current-cat"><a ...
1
vote
1answer
274 views

Need Category RSS Feed that shows all posts

How do I go about making this? I've been trying to get add_feed and such but have had no luck.
0
votes
1answer
166 views

How can i call an article from each category and still paginate properly?

I want to have my front page, with three columns, each assigned to a different category. Ideally I would like to query to fetch one post, per column, per page where possible, leaving the column empty ...
1
vote
1answer
163 views

How to make 2 tag feeds show up on 1 page?

I'm looking to create a page within my site that looks like this: Tag/Category: News News Post a News Post b News Post c Tag/Category: Events Event a Event b Event c I'm new to Wordpress. I may ...
0
votes
2answers
532 views

Archives and Categories in Custom Menu

What is the easiest way to place the Archives and Categories lists within my menu under a parent tab. I'd like both of the lists, such as "Archives" leading to the "archives" sub-menu, and the same ...
1
vote
1answer
542 views

Custom Post Types and Categories?

For the life of me I cannot seem to get categories to come into existence with my custom post type. I've added the following — simple — code to the bottom of my theme's functions.php file, ...
2
votes
2answers
2k views

Removing the number in a category slug

I have a category that ends with -2, and there's no way I can change it back to the plain word. I know there are problems with numeric slugs, but this is just a word. I also know that a common answer ...
0
votes
4answers
2k views

How to filter post from categories only if the posts appears in one of them, not the other?

The scenario is, some posts have one category, ok. Some others have more than one category. I must create post with content and also slideshow thumbnails for use with Nivo plugin gallery. Ok. I want ...
5
votes
1answer
477 views

How to get current_cat in navbar, in single post

In a site I have using Wordpress 3.0, when I'm in a single post, the navbar showing the categories doesn't give the parent category the class of "current_cat" and therefore that category is not ...
1
vote
1answer
107 views

Any built-in function to associate a post to category through a plugin?

I have a post ID and I'm just trying to find a function ( I was thinking of something similar to wp_update_post() ) where I can just pass a post ID and maybe a category ID or slug and have it ...
1
vote
2answers
12k views

How do I make the category template display full posts instead of partial posts?

I'm using Wordpress 3.0.1 with the Twenty Ten theme. I'm trying to change the way the posts in the Category view are displayed (i.e. by going to a url like mywebsite.com/category/mycategory). ...
2
votes
4answers
4k views

Display posts links from a category group by year

I want to display posts links from a category group by year. Group by year becouse by default wordpress repeat the date for each post. I try use a code but I got all post in current year. How can I do ...
1
vote
2answers
2k views

Showing post thumbnail (attachment) on the archive.php category listing

I'm seeking to customize my categories listing (archive.php) so that it shows a thumbnail image of the first image attached to each post However, apparently the archive.php file is one of those that ...
5
votes
2answers
1k views

Share one taxonomy across multiple blogs in 3.0 [duplicate]

Possible Duplicate: WordPress Multisite - global categories I have a series of blogs that will use some, but not all, of the same posts. We have one blog where many of the posts are ...
3
votes
3answers
6k views

Does the 'cat' argument in query_posts fetch posts from subcategories as well as the given ID?

Hello friends I am new to wordpress. I have used query like this query_posts('cat=1,2,3') now If category 1 is parent of 2 and 3. then query_posts('cat=1') and query_posts('cat=1,2,3') will get ...
1
vote
4answers
4k views

How do I get my wp_nav_menu single category page to highlight the parent?

With the new wp_nav_menu system, it is possible to add a category as a menu item, so in my example I have a 'news' category, which is a submenu item of 'About'. About (page) --news (category) ...
5
votes
2answers
3k views

Adding Categories to a WordPress Custom Post Type?

Is it possible to add categories to a Custom Post Type in WordPress?
2
votes
2answers
414 views

How do I view a feed consisting of posts from multiple categories?

By default, my site's RSS feed URLs are in this format: category/[category-name]/feed/ As far as I can tell, that doesn't allow me to view a feed using multiple categories. Is anyone aware of a ...
5
votes
3answers
1k views

Decreasing the Memory Consumption of a WordPress Site?

The test site requires a lot of memory when viewing some category/archive pages. I met with the following error messages yesterday: Fatal error: Allowed memory size of 33554432 bytes exhausted ...
4
votes
2answers
2k views

How can I get posts in a subcategory to display on it's parent categories archive page?

Currently when you display an archive category page, it only displays it for the main parent, and doesn't display any of the posts that may be in the subcategories under it's parent. How can I alter ...
3
votes
2answers
426 views

Categories Listing with “selected” category highlighted

Is there a way to draw the categories listing and highlight the current category being viewed? In addition, it would be great to highlight the current category if a post or page that's assigned to it ...
2
votes
3answers
2k views

Is there a way to remove categories in bulk?

I just migrated to worpress and want to remove all of the 'uncategorized' categories, since all of my posts are now all categorized. Is there a way to do this easily?
1
vote
2answers
870 views

List categories for author: list_categories function inside list_authors function

I am trying to make a "contributors" page where there is a list of authors and the categories they have posted in. I am able to use this code to do this for a single author on a single post page: ...
1
vote
3answers
365 views

Custom Stylings for category pages

Is there a way to have the styles on a page appear differently for certain categories, when viewing a page that is only of that category?
0
votes
3answers
628 views

Filtering Children of the “uncategorized” Category out of the Loop?

I have some utility categories that are only used by my theme. To help separate these categories I place them all as children of uncategorized. How can I make sure that any call to ...
1
vote
2answers
384 views

Cannot add / edit categories to a post anymore

I had to modify a published post and for some unknown reason, it removed the categories the post was in. I tried reassigning them, but it does not work: WordPress does not save the categories, so the ...
17
votes
5answers
12k views

Adding Fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?

The question is "How do I add one or more fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?" This question was asked on the wp-hackers list August 1st 2010 and I ...
3
votes
3answers
2k views

WordPress remove <br/> separator from last item in wp_list_categories

I'm trying to remove the last separator (normally a <br/> tag but I changed it to "//") from the last link from wp_list_categories. Basically I want this: Category 1 // Category 2 // Category ...
0
votes
1answer
255 views

Getting a List of Categories for Use in a Plugin?

I need to access a list of all categories for a plugin I'm working on, I know that there is the wp_list_categories template tag for use in themes. What would be the best way of accessing these ...
11
votes
5answers
5k views

Can I add a Category Metabox to attachment?

I am using register_taxonomy_for_object_type() to add the Category taxonomy field to Media uploads (attachments). I'm using this code to do so: add_action('init', 'reg_tax'); function reg_tax() { ...
4
votes
3answers
399 views

5 blogs on one WordPress site

What is the best way to have multiple blogs on one site? I am not talking about Multisite. What I want is one website with 5 blogs. All accessible from one menu and editable from one backend, I could ...