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
2answers
416 views

Displaying a custom field in Category Archives

I am using WordPress 3.5.1 / Twenty Twelve Theme. I would like to display a custom field in my Category Archives. I have the following custom field working in my single.php , it displays a custom url ...
0
votes
1answer
2k views

How to create a category and sub-category sorted blogroll with all posts?

I would like some help to post all the posts of my website into a blogroll sorted by categories and subcategories. The end-result HTML I would like to see displayed would be something like this: ...
0
votes
0answers
53 views

Add Custom Post Type Categories to General Categories

I've created three custom post types. I want them seen as general categories. I could not find a solution, can anybody help me? Thank you.
0
votes
1answer
151 views

Category Descriptions - HTML?

Is it possible to allow HTML to be rendered in Category descriptions? My theme uses them quite a lot, and I'd like to style them better with images and links. This seems to be do-able from what I ...
0
votes
1answer
29 views

Link each category to last post

I would like that each category link to the last post of each category. category 1 ----> link to the last post of category 1 category 2 ----> link to the last post of category 2 category 3 ----> ...
0
votes
1answer
105 views

Editing “Kahi's Highlight Used Categories” plugin code - highlighting parent and child category in post page

I´m trying to highlight (using css), the child and parent categories in use in the selected post. So I´ve found this plugin "Kahi's Highlight Used Categories". Plugin´s website: ...
0
votes
2answers
673 views

Add multiple orderby with pre get posts

I am already using a small code to set default sort orderby a custom field called "Year" I need to add another orderby to also sort by "Post Title" in the same sort. Sort = Year-Customfield (DESC) ...
0
votes
1answer
644 views

Advanced Custom Fields: Using category as a rule, before publishing new post?

I am using Advanced Custom Fields plugin to assign some fields to posts with a certain category, but the fields does not appear before I publish the post. I have made some links on the dashboard, so ...
0
votes
2answers
454 views

Display all posts from specific categories on a page

I want to display all posts from specific categories on a single page. Therefore I edited the page.php file in my theme folder. I added an 'if-clause' to check which page currently being displayed and ...
0
votes
1answer
3k views

How to split the categories of subcategories with thumbnails

This is the code I use to display all product categories with thumbnails: <?php $cats = get_terms('product_cat', array( 'hide_empty' => 0, 'orderby' => 'name' )); ?> <div ...
0
votes
1answer
1k views

How can I make wp_list_categories output li with category-slug as class, for its children?

Simply put, I'd like to change the wp_list_categories output from this: <li class="cat-item cat-item-1"><a href="http://mysite.com/category/articles">Articles</a></li> ...
0
votes
1answer
1k views

How To Find Out Wordpress Category Table in MYSQL?

I know WordPress stores all post data in 'wp_posts' table. But here WordPress not define any category id or reference related with it. Please let me know, how 'wp_posts' table find out exact ...
0
votes
1answer
458 views

How to Set an Individual Homepage for Each User?

I would like to give my users the ability to customize the homepage of the site. For example, if somebody is not logged in only the default categories appear. Once someone creates an account and ...
0
votes
1answer
189 views

Removed slug from CPT, now How/where do I hook the filter to the taxonomy term archive pages link?

I added the code below and successfully changed my CPT slug for the taxonomy terms. My blog permalinks are /article/%postname% in case you wonder, and I'd like to keep it that way, so no clashes with ...
0
votes
1answer
958 views

How to choose a sort order (for posts) per category? (ideally when creating a new category)

Assume I have a bunch of posts (articles) in two categories: "upcoming events" (cat=1) and "past events" (cat=2). When listing all posts of a specific category out of those two, category 1 shoud be ...
0
votes
1answer
916 views

Use template of parent category for single post sub-categories

I have single post templates in a folder in my child theme marked "single". I need the sub categories to use the same template as their parent. I've read a dozen tutorials all of which were more than ...
0
votes
2answers
124 views

Can the_category display a post count?

Is it possible for the_category to display a post count within a post. Looks like Posted In: Category Name (3),Category Name (2) etc etc Possible or not? I would just use wp_list_categories but it ...
0
votes
1answer
115 views

If no posts in category display Form instead of not found

I have a couple of categories that don't contain any posts (yet). What I would like to do is have a form which takes users details for future posts. Am I right I thinking I simply edit the page ...
0
votes
1answer
454 views

How to Check if a Child Category is Being Queried

I need to change the number of posts queried for specific categories 'Recipes' or 'Product Reviews'. The below code works great for this, I have it in functions.php: function ...
0
votes
1answer
578 views

I use same slug name for category and page

I added one slug and page with the same name and they worked fine, but when creating a second WP forced me to rename the page (being created after the category) with an additional "-2" how to clear ...
0
votes
1answer
118 views

Get post related on category

it's a catalog website for different product. I need a function that will get the category of the selected product, and get all the product from that category Let see an example. A table, is in wood ...
0
votes
4answers
6k views

Get all categories and posts in those categories

I am looking for a solution that allows me to print the following: Cat 1 Cat 2 Cat 3 Post 1 Post 1 Post 1 Post 2 Post 2 Post 2 Post 3 Post ...
0
votes
2answers
554 views

Custom Post Type, Two categories, Two columns with Pagination

I searching a lot to found a way solves that and no luck at least. Sorry for my unpulish english, I do my best explaining my issue. I have a Custom Post Type called 'Events' this have two categories ...
0
votes
3answers
2k views

wp_nav_menu not appearing for a couple pages

I solved the problem with the page, the correct answer is ptriek's comment below. Well I'm having a bit of an odd problem here, wp_nav_menu works on all pages EXCEPT my category pages (probably my ...
0
votes
3answers
2k views

Using same slug name for a page and category

I know it isn't good practice but I'm considering using same name slugs for some pages and categories on a site that I'm working on. It's a small site and it doesn't seem to affect anything in ...
0
votes
2answers
1k views

wp_list_categories: get latest featured_image of category

I was thinking about a nicer way to display the categories in my sidebar. Instead of a plain list style, I'd like to have images / thumbnails show up as well. Currently I'm using the following: ...
0
votes
1answer
1k views

Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category

I'm trying to get the terms of a taxonomy (kind) and the number of content they have but only for a specific category (get_parent_page_slug() = city name = category slug). This is what I have so far: ...
0
votes
2answers
916 views

Display most recent post in category instead of archive?

I've successfully redirected my blog page to my most recent post - i.e. so when you click the 'blog' link in the nav it goes to the most recent post page and you can click next/prev buttons to ...
0
votes
1answer
278 views

How to display a category list in a mediawiki like way?

I would like to reproduce on Wordpress the same behaviour of mediawiki when it comes to display the posts of a certain category (with an alphabetical order, in columns and using first letters in bold ...
0
votes
2answers
566 views

Pagination for query_posts();

I know there have been many question like this and I've read them, but I still cant get it working... I have this query: query_posts(array('cat'=>3,'posts_per_page'=>5)); And I simply display ...
0
votes
1answer
352 views

wp_list_categories link to first post of category instead of calling taxonomy template

I'm using wp_list_categories to give me a list of links to categories (no surprise there) Is it possible to get Wordpress to link to the first post of a given category instead of calling the taxonomy ...
0
votes
1answer
714 views

How to make category RSS feeds show full content

I'm trying to fix a friend's feed to show full content in the category feed instead of only a summary. He's already done the setting bit, but it still doesn't seem to work. Thoughts? EDIT: The feed ...
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?
0
votes
1answer
422 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
2k views

Regex problem in an add_rewrite_rule

I'm working on a category page for a custom post type called articles in WP 3.1, and I'm having some trouble with extracting the page number. The url: /articles/category/background/ Currently, what ...
0
votes
1answer
181 views

Wordpress MU 2.9.2 to 3.0.5 changes to category.php

In the latest version of WP I see the category.php page is now using edit-tags.php. The version Im running seems to have an issue with the search feature on this page whereas the new version doesnt. ...
0
votes
1answer
661 views

Categories will only display links to posts

Hey I'm currently using the Titan theme for my website and I want each category to display each FULL posts for that particular category, but with my theme Titan this is not a option. I only get links ...
0
votes
3answers
445 views

How can I create a permalink with two categories, with the order based on the parent category?

Basically, I'd like to create a category permalink like example.com/books/adventure without having to make adventure a child-category because it will apply to other categories as well. So the end ...
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 ...
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
votes
1answer
580 views

List only child categories a post is in, of a specific parent category

Either this is harder than it needs to be or I am just not understanding WordPress/PHP very well :( All I want to do is show the child/sub categories of a specific parent category...but only if the ...
-1
votes
2answers
303 views

Moving Categories submenu to Media, but still opens Posts menu

I'm developing a very media-centered site with WordPress and am using the default categories and tags on uploaded media using, in part this plugin Media Categories. I am displaying a sub-menu item ...
-1
votes
2answers
809 views

Auto add pages to category menu

I have created a custom post type called Products, on the product pages i have a menu in the left sidebar. This menu is made up of categories for the products. Is it possible to have my products ...