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
260 views

create relationship between posts from one category and posts from another category

What I'm trying to do is adding in a post admin page a meta box, dynamically listing all posts from another category in the for of a check box list. This way I can create relations between a post and ...
1
vote
2answers
540 views

Should I use custom taxonomy or custom post type

I've recently taken on a project from a client of mine, after a lot of persuasion I've managed to finally get the website under some kind of CMS. I'm pretty new to Wordpress I've come from an ...
0
votes
1answer
407 views

Posts made to category don't show up (do show up on frontpage)

Added a subcategory to WordPress. Wrote a blog post and attached it to this subcategory. Now for some reason when I check it on my site, it give me the below error: Sorry, you are looking for ...
2
votes
1answer
1k views

Featured Posts for Category Pages

I was wondering if anyone knew how to have a different "featured post" based on it's category per category page? For example, if you are on the medical category page, you would see a medical post ...
0
votes
3answers
704 views

What happened to WP No Category Base?

What happened to the plugin in Wordpress plugin repository? The link doesn't work: http://wordpress.org/extend/plugins/wp-no-category-base/ and search for this plugin doesn't list it. Yes, I know I ...
0
votes
1answer
363 views

How to Show Category List With Corresponding Links?

i want to do a research in Category List Area. I'll Explain Here... Now I have 4 Categories Like 1,2,3,4. First of all it needs to show in the category pages Horizontally.Next is, While Clicking on ...
0
votes
3answers
3k views

How to get Recent Post From Each Category with Thumbnail?

For Example,Now I have 3 Categories Like Food,Transport,Technology.Under These Categories I have Many Posts.Now I Want To Show the Latest Post From Each Category.{How to get Recent Post From Each ...
2
votes
1answer
342 views

Login “Lightbox” for specific category content

There's a specific category on my website that should be restricted to teachers only using login. However, I don't want to hassle the teachers with the not so welcoming admin Wordpress offers. I would ...
2
votes
1answer
313 views

How to override Category rendering mechanism

Currently for every category there is a separate template (category-1.php, category-2.php, etc..), in my case there is over a hundred of them. I want refactor it to 4, so for instance if $cat is in ...
1
vote
2answers
309 views

Category slug $_SERVER['REQUEST_URI'];

I'm not sure whats wrong with this line. Have I place this incorrectly? How do I get it to recognize the $yourcat->slug; $cat = get_query_var('cat'); $yourcat = get_category ($cat); $uri = ...
3
votes
4answers
2k views

How to change the layout and styling of posts according to their category in WordPress?

I'm customizing a WordPress installation and was wondering what the best way to do this is. I want to customize each post completely depending on the category. Each post will be under only one ...
0
votes
1answer
419 views

Anyway to hide a Category in the Categories section when adding/editing a post in WP Admin?

I have a Category that I would like to hide in the WP Admin so the author can never check it when adding or editing a post. Is there anyway I can prevent it from showing up by modifying my ...
2
votes
1answer
2k views

Categories not working as expected with custom post type

I have a custom post type set up like: add_action('init', 'portfolio_register'); function portfolio_register() { $labels = array( 'name' => _x('Photos', 'post type general name'), ...
8
votes
7answers
9k views

Get Category ID inside Category template

how do I get the cat ID inside the Template. Very important: I can not do it by the name, because we have muliple cats with the same name. Only the slug is different. If I'd get the slug, it would be ...
0
votes
1answer
116 views

sidebar troubles, taxonomy trouble

can you help me with two things : i have different movies, to classify into different "genre", should i use "taxonomies" or the already built in "category"? is taxonomy more appropriate in this ...
0
votes
2answers
2k views

Displaying custom post type on category pages but not on blog listings

I think this is a fairly simple issue but I haven't got my head around it. Question: how do I get my custom posts to show only on the category archives, but not in the blog post listing page? ...
1
vote
1answer
820 views

Checkboxes in the category list?

I want the category list to have checkboxes so that the visitor can navigate much more easily, just like the way Amazon does it. Compare: left is my current layout, right is what I want to achieve ...
0
votes
1answer
206 views

Code for Category, Tags, Archive URLs

Working on an SEO plugin and stuck on something I thought would be simple. Looking for code to generate just the URLs for categories, tags, search, and date archives when on that archive set. So if ...
10
votes
4answers
865 views

What is the difference between a “tag” and a “category”?

I have been using WordPress for several years, but have yet to see a reason to employ tags over categories or tags with categories. What is the thinking behind the two, and when are each appropriate? ...
1
vote
2answers
179 views

How do I specify more than one category?

I am excluding comments from specific categories. However, when I try to exclude more than one, it doesn't work. This works: <?php if (!in_category('7')) comments_template(); ?> This does not ...
2
votes
1answer
840 views

Why aren't sub-categories nested after creating post in the WP Admin?

I have several sub-categories set up. Everything displays properly as far as nesting (see below) when creating a new post. Category 1 --Sub Category 1 --Sub Category 2 --Sub ...
7
votes
0answers
356 views

Wordpress: Can I add categories/tags to all sites in my network at once?

I've installed Wordpress 3.1.2, and have enabled the multi-site network. Each employee in my department can now have their own company blog. I was hoping to provide a bunch of pre-defined categories ...
0
votes
1answer
1k views

Wordpress get from single.php back to the right category page

in my single.php i have a link back to the category: $category_id = get_the_category(); $category_link = get_category_link( $category_id[0]->cat_ID ); If i am now coming from page 2 to the ...
0
votes
2answers
626 views

Display most recent posts in category with Twenty Ten theme widget

I am fairly new to WordPress, and I would like to have a list of the most recent posts in a certain category appear in a right-hand panel (I can do this with all posts, but not specific categories) I ...
1
vote
1answer
414 views

How do I get the child category posts from a custom post type?

I have a Custom Post Type called "Movies" with 2 categories called "Now Showing" (cat id=6), and "Coming Soon" (cat id=7) I am trying to alter the code to only pull in the child category for two ...
3
votes
3answers
17k views

How to show all posts of the category in wordpress?

I have create a category by using Custom Post Type plugin, and now only the 5 most recent posts of the category are showing. What I want is to show all posts for the category. For examle, suppose I ...
0
votes
2answers
609 views

How would you create a “weekly” archive?

I'm looking to create individual archives for each category of my website, but want to them to break into weeks. Check out the linked image (can't embed images as a new user?): ...
0
votes
1answer
250 views

Dynamically Adding Category Specific Content To Specific Category & Subcategory Pages

I'm working on an internal project/idea (a directory of sorts for a vertical market) where I will have 40 Categories with each Category having (potentially) 30 Sub-Categories. For each Category and ...
0
votes
1answer
211 views

Exclude a category from a query that includes its parent category

I am trying to use ids to control the structure of the output of my categories. I need to exclude a category that is part of the parent category that is being queried. What I am trying is : ...
0
votes
2answers
3k views

Limit number of posts on a custom category template - breaking pagination

The following code was mentioned from one of the commentors, however it is breaking the pagination. Any corrections please <?php include(TEMPLATEPATH. '/includes/headline.php'); ...
1
vote
1answer
1k views

Wrap Post count in a span

I'm using this code: $args = array( 'hide_empty' => FALSE, 'title_li'=> __( '' ), 'show_count'=> 1, ); wp_list_categories($args); How ...
1
vote
2answers
4k views

How to search for categories and/or tags?

I have a search function on my blog. If I enter a value, say 'fruits' in the search box and it doesn't match in any of the posts but it is the name of a category in the blog then I want the posts that ...
0
votes
2answers
4k views

How to get child category list post in one template?

Here is what I want to have My category Structure in WP admin Cat Parent -Cat Child 1 -Cat Child 2 -Cat Child 3 -Cat Child 1 This what I want to have in one template: It show the list of ...
1
vote
2answers
354 views

Why would in_category only return one post in a specific category?

So... what I'm trying to do is simple - get the post content for all posts, but only in a given category. Simple - filter the loop using in_category. So I did this (this is actually a stripped version ...
0
votes
1answer
1k views

Display all posts from selected category

This is going to be tough to explain. I have created a custom theme and have a file called: categories.php, in this file i have: <?php $args = array('hide_empty' => FALSE); ...
0
votes
2answers
2k views

Show list of categories even if they have no posts

Is there a way to show a list of all categories available even if there are no posts associated with them. So if there is a post in that category then it echos a link and if not it just echos out the ...
0
votes
1answer
466 views

Count the posts number for every category

I'd like to count the number of posts created for every category, so: 12 Works (12 posts in works category) 36 Pictures (36 posts in pictures category) 17 Furnitures (17 posts in furnitures category) ...
0
votes
1answer
3k views

Posts URL structure like site.com/category/the-post-title

I'm new with wordpress and I would like to understand better if it's possible to create pages with an url based on the category and then the post title, so: something like ...
1
vote
1answer
323 views

Wordpress Post # of # filtered by category slug

I want to show post #4/100 at the top for each post for which I'm using following code function updateNumbers() { /* numbering the published posts: preparation: create an array with the ID in ...
0
votes
1answer
3k views

Category page showing posts from all categories

I am trying to set up a category archive (editing category.php) that displays a list of posts from one single category. If I left the twentyten default code (get_template_part( 'loop', 'category' ...
0
votes
2answers
630 views

Recent posts per category loop?

I need a loop/plugin/widget to display latest posts from the category the user is browsing and at the same time if he visits the home page, it should show posts from all categories (not a specific ...
0
votes
1answer
189 views

Displaying Custom Posts

I came across a strange problem while working on my dev environment for a site we're making. We have custom post types, so I'm not sure if that's the reason why it's not working correctly. However, I ...
6
votes
3answers
8k views

How do you add categories to custom post types in WordPress?

I'd like to be able to have categories of a custom post type, how do you set this up? update I want to keep the default categories for regular blog posts, but a separate set of categories just CPT. ...
2
votes
1answer
6k views

How can I limit WordPress editor roles to a specific category?

We're trying to use WordPress as a light CMS system and we need to be able to section off parts of WordPress so that editors for one product aren't able to edit other products. Seems like out of the ...
0
votes
2answers
2k 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
3k views

Why Pagination is not working on Category.php

There are two different category "Life Sciences" and "General Lab" and there are sub-categorical product on "Life Sciences". Now "General Lab" category want to fetch all the sub-category and products ...
0
votes
4answers
221 views

Wordpress for Podcast Network

Is there a theme or some hack of the categories system that I can use to create a site for a podcast network? I want it similar to This Week in Tech in that all the podcasts will appear on the front ...
1
vote
1answer
718 views

functions.php conditional tag - only show in single.php?

//Geo Map add_action( 'woo_post_inside_after', 'my_geo_mashup' ); function my_geo_mashup() { global $post; if ( in_category('listings') ) { echo GeoMashup::map(); } } Works to ...
1
vote
2answers
520 views

Bulk category update is not updating

I am using wordpress 3.1. and I have to reorganize categorize my posts. For this purpose, I am willing to remove some categories. Therefore, after login to admin section of my blog, I go to post > ...
0
votes
1answer
282 views

How do I list all child categories that apply to current post?

On my site, I am working on categorizing pictures based on what is in them and am having trouble listing the categories that apply to the post. For instance: A post might include a picture of an ice ...