Tagged Questions

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
355 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
875 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
944 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
81 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 ...
6
votes
1answer
8k views

List all subcategories from category

How can I get all subcategories from a certain category?
1
vote
1answer
787 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
714 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
130 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
2k 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
133 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
945 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
169 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
685 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
890 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
251 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
3k 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
3k 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
13k 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
114 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
549 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
4k 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
302 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 ...
11
votes
4answers
6k views

WordPress Multisite - global categories

Setting up a WP multisite instance - the client has an existing ontology / set of categories that they want to classify all content across the set of blogs. Also the desire is that any new categories ...
0
votes
2answers
670 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()) : ...
2
votes
3answers
469 views

Is there a plugin that will completely remove the category system?

I have no use in categorizing/tagging my posts with anything, at all, and it doesn't look very good to have every post say "filed under: uncategorized." Is there any plugin to do this, or do I need ...
1
vote
1answer
116 views

Code to pull in a PHP file named after the category ID

I use this code to pull in an image based on a post's category. Images are named after the category they represent, so a post in category 50 pulls in 50.jpg. <?php foreach((get_the_category()) as ...
1
vote
2answers
470 views

List Terms in Category

I want to list all terms of a specific taxonomy used in a category. Like I have a taxonomy called 'Manufacturer' and a category 'Shoes'. Each post in this category has a term like 'Nike', 'Adidas' or ...
0
votes
2answers
996 views

Different size video display for category page (smaller) & detail page (larger)

I have a 'media' category page that pumps in videos / image galleries. I'm looking to have a smaller size video display (vimeo / youtube) on the category page, and the full size video on the single ...
0
votes
1answer
2k views

How to show only child categories using the_category();

I'm using the_category(); on my category.php template to show the category's name — the problem is that it attaches the category's parent category. Is there any way to show only child categories using ...
0
votes
1answer
443 views

Query the Loop without breaking it

Im trying to make different querys in my category like one with a offset of post and one that shows one post but while it continues to go through the loop, this is what i have but the loop keeps ...
0
votes
1answer
543 views

Exclude category from related post

I made a related post sidebar widget and im trying to exclude a category from it i tried 'exclude'=>7932 but that doesnt seem to work, is there another way to do this? <?php $category ...
0
votes
2answers
1k views

Custom Fields to Category edit page, then displaying them in a template correctly

Seem to be having a few issues with this project lately so sorry for spamming questions! I needed to give the category edit page in the admin a few additional fields to allow my client to manage them ...
2
votes
1answer
1k views

get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category

Thanks to @MikeSchinkel I have the following code: $term = get_query_var('term'); $brand = get_term_by('slug',$term,'brands'); // This here just to illustrate $categories = ...
2
votes
1answer
216 views

Is it possible to post with Word 2007 via XML-RPC and limit categories by user?

I'm working on a project for a school district I work at where we want to use Word Press to have employees from all of the buildings post announcements and press releases via Word 2007. We will then ...
0
votes
3answers
2k views

Exclude a category name using cat name

I'm trying to exclude a category because I have a post that i have in multiple post. How do I like for example I have a post in the categories lastest news and pictures but I want to exclude latest ...
0
votes
1answer
2k views

Adding tinymce to Custom Field boxes on Category edit page

I've managed to add the required custom fields to my category edit page (the code is below). All I'd like to do it have the textareas #Category_Extras_Features and #Category_Extras_Applications to ...
0
votes
1answer
61 views

Wordpress “Categories to tag converter” not working on imported Blogger posts

I just imported a blog from blogger to wordpress recently. The blog consisted of about 3500 tags in total. On importing them into wordpress, they were converted to categories for some reason. I have ...
0
votes
2answers
4k views

Check is category parent or not from its ID

question is simple (i don't know is aswer too ;) I just want to check that, does a category has child (or is ancestor) from its cat-id with a function. Eg. function check_category ...
0
votes
2answers
1k views

Multiple Category Query

Is it possible to display a wordpress category page but have it pull posts from mulitple categories? For example, let's say I need to pass in params for cat_id in this fashion ...
2
votes
3answers
255 views

How Can You Exclude Categories From Your RSS Feeds?

I've searched and found posts that have asked and answered how to merge different categories into an RSS feed. What I need to know is how to exclude specific categories from the RSS feed? ...
0
votes
2answers
168 views

Possible to make a subdirectory that loops through a single category?

I'm trying to separate the main part of my blog (the informational portion) from more commercial parts. WHen you load my homepage, I purposely exclude a category because I don't want my normal ...
0
votes
1answer
1k views

Using a rich text editor for category description?

is it possible in Wordpress to have the category description use a rich text editor rather than a standard text area? If so any idea how to make it use one? Thanks!
5
votes
2answers
7k views

get_categories for custom post type with a specific custom taxonomy attached

Basically I have a custom post type of 'products' which has two taxonomies attached to it...the normal 'category' and a custom taxonomy called 'brands'. I have a page which is 'brand' specific. On ...
1
vote
1answer
417 views

Disallow categories from this MySQL query

I'm trying to modify a plugin that generates an archive listing so it shows only one category, making it a single category archive. The old version of the plugin used a get_posts query, and so it was ...
1
vote
1answer
1k views

Fixing category count

Somehow my post counts are incorrect due to inserting rows via php. I have the following code to update the count, is it correct? global $wpdb; $result = mysql_query("SELECT term_id,term_taxonomy_id ...
0
votes
2answers
689 views

Show a Category X's custom post type on Category X archive page?

I created a custom post type "landing_page" to hold content I want to display on the top of category archive pages. So for each category, I have one landing_page entry tagged with that category. What ...
0
votes
1answer
426 views

Categories as selectable links on submission form

I have a submission form where users can submit posts on my site. I have three steps (3 form pages) and in the first one user selects the post category, clicks the submit button and moves on to the ...