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

Grouping post-types in loop

When a user selects a specific category from a drop-down a list of multiple post types is displayed. I'd like to display the data in groups with the post-type title above in a heading. I'm unsure how ...
0
votes
2answers
82 views

Is there any better/faster code than this ? It shows the categories that an author had ever posted in

I have this query that shows the categories that a user had posted in. For example if I have 3 cats, name NEWS, MEDIA, PUBLICATIONS and the author had only posted in the first two, it will show NEWS ...
0
votes
2answers
404 views

Featured image for links and categories

Is there a ready plugin or solution for implementing Featured Image function to Categories and Links? At Pages and Posts I use the feature image as a background image, using the full size original ...
2
votes
2answers
658 views

Calling clean_term_cache() fails when called in the same plugin that creates terms, succeeds when called separately?

My plugin code is below. In the myPlugin_cleanup() function, I'm creating some categories and assigning term id 1 as the parent. Due to the known bug with creating categories via script (the ...
0
votes
1answer
230 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 ...
1
vote
2answers
414 views

Missing “category_children” option when dynamically creating categories via a plugin

I've isolated the source of a fatal error that's been occurring when a brand new site is previewed just after installing and activating the plugin I'm working on. The problem appears to be that the ...
3
votes
5answers
3k views

Hide Category from Blog?

I am using the Boldy theme from Site5 on a v3.1.2 site. The way this theme works, is that there is a portfolio, (which I am using as a case studies gallery) that pulls in posts from a specific ...
-1
votes
2answers
159 views

Why does my category page display “posted on…” when all I want it to do is display categories?

Refer to: http://blog.studentlife.uiowa.edu/svp/categories/ I just used a blank category template. What can I add to/change the code to make it so that it doesn't put in the category page like it's a ...
0
votes
1answer
170 views

Possible?! A contextually titled back link

The dilema: I have a category menu in sidebar.php that highlights the category one is in. I need to keep that highlight ON when one dives into a post of that category. The blogs posts are usually ...
1
vote
2answers
2k views

Multiple Domain Names - One WP Install (non-Multisite) - Default Each Domain name to Category Archive

Use case is somewhat simple - here goes: Five people share a single wordpress install - not multi-user Each person blogs and puts their posts in a their own unique category Each person has their ...
0
votes
1answer
56 views

Structure with category setting

OK, it's more a philosophic question that a programming question, but at the end it will have a huge impact on code... I have 5 main product, a,b,c,d,e those 5 products have options those products ...
0
votes
1answer
666 views

wordpress multisite… collect all posts on main blog - exclude category?

hey guys, I'm using the sitewide tags Multisite plugin on my wordpress setup. I'm collecting all blogposts of multiple subblogs on my mainblog. Any idea how I could manage to exclude a certain ...
0
votes
1answer
40 views

Is changing post from category in a large blog a good practice?

I was reading this question "Changing post category based on its post date" because I have some similar situation... Also the majority of "featured post" plugins on wordpress works by specifying a ...
2
votes
1answer
149 views

Add a specific category at a specific place to the menu that uses wp_list_pages

I have a main menu where I display pages. All the pages have associated sub-pages, however in the menu some of them are displayed by themselves without sub-pages and some are displayed with a submenu ...
5
votes
1answer
2k views

Force category choice before creating new post?

How can I force the user to first choose a category before continuing to the editor when creating a new post? I want to set some default content, but this is based on the category, so I need to know ...
0
votes
1answer
653 views

How do I list only children of a specific category in a drop-down?

Okay, I think I'm pretty close. I have the following going on: $cat_id = get_cat_id('library'); wp_dropdown_categories('hierarchical=1&parent=$cat_id'); However, it doesn't work with $cat_id ...
-1
votes
1answer
234 views

Build page base on category

I know how to hardcode that... but i like to have a plugin with shortcode that will make it for me... do you know any... If not, i will have to make it myself Have a page (blank) and build it base ...
0
votes
1answer
345 views

wp_dropdown_categories by date?

Is there any way to specify a time period for wp_dropdown_categories or wp_list_categories or something else...? I want to create a archive page, so that if your in the archive of 2010, you'll see ...
4
votes
2answers
2k views

Show Sticky Posts in Category Archive

I'd like to be able to show sticky posts at the top of category pages. I'm using archive.php for my category page. I'm using the code below to display sticky posts at the top of my category archive ...
2
votes
1answer
628 views

Allow contributors to add categories, but not delete

I used a plugin called "User Role Editor" to allow contributors to add categories, but it also lets them delete categories. Any suggestions?
0
votes
1answer
425 views

1 post per category on homepage and counting those posts

What I'm trying to do on my homepage is to pull the latest post from each of 6 categories but then I need the variable $counter to increase (+1) for each post so that I can style them properly. I've ...
1
vote
1answer
1k 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 ...
1
vote
1answer
2k views

Create subdomains for tags and categories

I'd like to find a way to make subdomain addresses work for some of my important tags and categories. For instance foo.thesite.com would show content for thesite.com/category/foo. I've been trying to ...
0
votes
2answers
224 views

Link posts together (relative, not grouped)

I have a Custom post type called 'Stories', which holds 'stories'. I need a way to link stories together. For example, i have Story A. I need a way to define story B as a relative to story A. I ...
0
votes
2answers
2k views

How to disable category without deleting?

Is there a plugin or some php code to do this: I want to disable some categories from the category box on the add/edit message page. I don't want to delete the categories and I want to leave the ...
0
votes
1answer
330 views

can I 'combine' categories as a menu item?

I have custom post type and I want to have a menu where I combine category or categories from default Wordpress post type and from my custom post type. Let's say I have these categories sport, ...
0
votes
3answers
738 views

Escaping Quotes

For some reason when i try to put like a embeded video my video has slashes inside the code, but if I add it in the template itself then the code is fine i was told its "escaping quotes" anyhow this ...
0
votes
2answers
819 views

Exclude category to “the_breadcrumb” functions

(sorry for my english) in my theme I Breadcrumbs function. I would like to exclude the categories, can you help me? here's the code: function the_breadcrumb() { global $post; if (!is_home()) ...
0
votes
1answer
80 views

Category “same post” retreive and display

I have made a multiple category. Each item belong to one or more category. So when display one item, i like to retreive the category of this item, and display all post that have belong to that ...
4
votes
1answer
5k views

List all subcategories from category

How can I get all subcategories from a certain category?
1
vote
1answer
733 views

Automatically exclude categories from metabox based on title

I am designing a website which will be used as a school PA system. Users will be posting entries into categories named for specific dates that correspond to school assemblies. We have two assemblies a ...
0
votes
2answers
666 views

get_the_category and echo out link to child-most/deepest category

I have this code which is located on the search.php page and retrieves all the categories for each post and echo's out a link to the first category: $category = get_the_category(); ...
0
votes
1answer
129 views

List categories of a post hierarchically?

Let's say I got the following categories: Style | + Shoes + Pants If I make a post and put it in the Style and Shoes category, it will list them alphabetically instead of hierarchically. So ...
0
votes
2answers
1k views

Category Specific Archive

I'm trying to display a monthly archive but only for a certain category. How can I do this?
2
votes
1answer
2k views

Search doesn't find tags or categories in custom post types

I've added tags and categories to a custom post, but the search bar doesn't find them when I use it. It does find the 'uncategorized' category (default category) that's inherent in wordpress though. ...
1
vote
3answers
129 views

Is it possible to have WordPress not recognize category URLs?

I don't want to support Categories in my WordPress site. I know I can have an empty category.php page to cater for users using a URL to directly query the default Category (/category/Uncategorized), ...
0
votes
2answers
768 views

How would I increase the Author Role to be able to add a new category?

How do I increase Author Role permissions to be able to add Categories? Other solutions welcome. We just need guest authors to be able to add categories while ensuring there is not already a existing ...
0
votes
2answers
165 views

get listed category's id?

ok - so i'm listing categories and their sub-categories. How can i get the ID of the category that's being shown with a function? ( i know what it is in the admin ) ie /category/events/women-in-art/ ...
0
votes
1answer
615 views

Redirect Problems with Archive Page and GET variables

I'm having an issue with a third party plugin called WP-Calendar, where clicking on the "next" and "prev" links in a small calendar results in a redirect error. This problem only appears to be ...
2
votes
2answers
834 views

Preventing index.php?category_name=something from redirecting

I'm trying to filter posts in a category by the year of the post's date. I also want to do this without being redirected to the year template so my ideal URL would be ...
0
votes
2answers
227 views

Category articles “read more” links not active

If I click on a category in my Wordpress blog, it displays an excerpt of all articles in the category, and finishes with a word that says "continue" which has no hyperlink. Example here. How do I ...
0
votes
2answers
2k views

Exclude current post from loop

I have a custom post type for accessories. When you view the post it also shows related posts. It looks great, but it also shows the current post within related posts. Is there a way to exclude the ...
2
votes
3answers
2k views

Display only one result from “get_the_category_list”

I'd like get_the_category_list to only display one or two categories instead of all the categories associated with the post. Haven't been able to find any results. <?php echo ...
1
vote
2answers
2k views

get all tags from category

i'm displaying all posts by category in my template and i was wondering: is it possible to get a list of all tags used by that category? i only found out how to make a tag-dropdown but it's from all ...
0
votes
2answers
10k views

Creating Pages that show specific blog categories [closed]

How do you: 1) create a page and select "Blog Template" and also choose which category for the Blog's you want. 2) Then create a blog post and choose the category for that page....resulting in a ...
0
votes
2answers
109 views

Creating a Blog with numerous categories

I'm creating a health conditions site where contributors will make posts. If I want to have multiple people with the "Author Role" be able to post about various categories, do I have to manually ...
2
votes
1answer
471 views

Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !

What I want to do is a loop like this is something like this I'm really sorry but its hard to format here! I going to put this short url http://pastebin.com/dEdKzgJz so you can see it better... Can ...
5
votes
3answers
3k views

Plugin for custom sort order for categories?

I'd like to employ a sort order option in my theme to allow categories to be sorted similar to pages. Can anyone recommend a plugin that does this?
0
votes
3answers
294 views

And/Or Category Query

I'm having a lot of trouble using php query_posts(array('category__and'=>array(1,3))) - it seems to be pulling anything that's in category 1 regardless of whether it's also in category 3 and I only ...
0
votes
2answers
1k views

one category template for multiple categories

i have category-events.php to list my posts tagged 'events' but it wont work for 'events' child categories. ie i have some posts tagged 'events' and one of events' children 'exhibition'. I thought it ...