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)

2
votes
1answer
8k views

Getting Wordpress custom taxonomy/category?

Well, I'm using my own taxonomy for custom post type. It looks like this: register_taxonomy("our_gallery", array("gallery"), array("hierarchical" => true, "label" => "Types", "singular_label" ...
0
votes
1answer
826 views

How to automatically generate custom menu item from categories?

I would like to display all my category items under a single parent but I failed to do so now I'm creating a new menu link for each category and dragging it into place in the custom menu screen. Is ...
9
votes
7answers
23k views

Can I set a default featured image for a category?

I'm setting up a site with a theme that takes advantage of the "featured image" feature of WordPress. Since my end users are not the most tech saavy in the world, I'd like to set things up so that the ...
1
vote
1answer
166 views

Making the category & tag Description textarea bigger

Which files do i edit to make the textarea for tag & cat description bigger? Or maybe there's an easier way through functions.php to save having to do it every-time i update wp? Thanks
0
votes
2answers
427 views

Related Tags not in category

I'm using this piece of code to show related posts based on the tag of the post you are viewing. I'd like to modify is a little to exclude the related posts from the loop if they are in the same ...
2
votes
8answers
9k 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: ...
0
votes
2answers
1k views

Display posts separated by Category in Author's page

I created an author's page using: <?php if(isset($_GET['author_name'])) : $curauth = get_userdatabylogin($author_name); else : $curauth = get_userdata(intval($author)); endif; ?> ...
1
vote
2answers
2k views

How can I make all subcategories use the template of its category parent?

(Satisfying minimum text requirement)
0
votes
2answers
248 views

WordPress Category Question

I cannot figure out how to use the wp_list_categories function to do what I need it to: <?php if(is_page('realisations')) { ?> <ul id="subpage"> <li><strong>Les ...
2
votes
1answer
618 views

how do I filter single_cat_title to remove all instances of a particlular word

I have certain names in my category title (that need to stay there for other reasons). I am displaying all category titles with the blog name prefixed, but on categories that already have this name I ...
3
votes
1answer
675 views

How to set up sub-categories for author pages?

I am setting up Wordpress for a school. They want to enable teachers to have their own section of the site where they can create posts in different categories (assignments, events, etc). I know that ...
0
votes
3answers
4k views

Use a wordpress page to display a certain category

I'm trying to set up a portfolio page on my wordpress website, and I would like the following construct: /blog/ where I blog all kinds of things, including portfolio entries /portfolio/ where I show ...
1
vote
2answers
2k views

Query posts by category AND custom field, then ORDERBY another custom field - help!

OK I need to query posts using the following criteria: category_name=office, meta_key=featured_post, meta_value=Yes and order these results using a second custom field which has a numerical value ...
4
votes
2answers
2k views

Filtering categories in the permalink structure

Using /%category%/%postname%/ for the permalink I get a URL string of all the categories that the specific post is included in. I would like the categories in the url to be filtered down to only one ...
0
votes
3answers
2k views

Having problems with paging

My category.php lists articles on the first page, and on the bottom I have a pager. When I click page 2, the index.php page is loaded and the url looks like this: http:// ...
0
votes
2answers
410 views

how do I use the walker class to display categories in their correct heirarchy?

One would think that returning categories using wordpress functions would automatically display them in their heirarchy? Ive noticed that categories dont necessarily do this, so I am trying to find a ...
0
votes
3answers
2k views

Have multiple category queries from the URL been fixed yet?

Is it now possible to query multiple categories from the URL? http://www.mywpsite.com/?cat=1+7 ? I think this has worked for tags for some time. If not, is there another way to achieve this?
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
782 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
826 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
986 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
134 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
2k 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
719 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
1k 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
838 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
276 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
168 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
166 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
543 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
556 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
499 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) ...
6
votes
2answers
4k 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
436 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
445 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
935 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: ...