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

How can I add the custom taxonomy categories to the posts and pages?

I'm trying to build new wordpress plugin. Additional to the default wordpress categories box in the publishing screen of posts and pages, I want to add another box for custom taxonomy categories , How ...
2
votes
1answer
116 views

How can I list random authors from current post category?

The following lists authors of the current category. But I want this to be a list of 6 random authors from current post category. foreach((get_the_category()) as $category) { $postcat= ...
0
votes
2answers
2k views

Custom post type, taxonomy and admin bar

I have two kind of post types in my WordPress website: "Articles" which is the classic post type "Breves" which is a custom post type I want them to share the same standard categories and post ...
3
votes
1answer
1k views

How to convert regular categories to custom taxonomy?

I have a big list of categories/subcategories (around 60 in all). It now makes sense that instead of these categories being available to any post type's category list, these categories should be moved ...
2
votes
1answer
96 views

How to prevent empty category to list content of sub categories?

I have a category structure like following: A ->B ->C D (B is sub category of A and C is sub category of B) I have content only for category "C" and if I open Category "B" the content of ...
0
votes
2answers
258 views

Getting posts from some categories plus some individual posts

I want to display list of all posts under a couple of categories and some individual posts. If I use the following code, it does not return anything, as it looks for those individual posts in the ...
0
votes
1answer
76 views

Trying to get variables in hacked category dropdown

I've discovered a workaround to get wp_category_dropdown to display as a multiple select field. My code is as follows: <?php $sponsors = wp_dropdown_categories( array( 'child_of' => 0, ...
0
votes
2answers
170 views

How can i call from custom fields to the category editor?

I found this code for custom field add category editor. I added custom field to the Category. e.g. My field name is Hastag and i have a Sport category. And i want to call display Sport's custom ...
0
votes
1answer
90 views

Creating Sections for Post Types

I'm trying to create this page structure within WordPress: - Home (http://example.com/) - Blog (http://example.com/blog/) - Blog Post ...
0
votes
3answers
123 views

how can i hide category?

Please help me I am new baby in wordpress, how can i hide that 'course or call' category from the page.. i have var dump the variable which is passing as parameter to query_post $args = ...
2
votes
1answer
199 views

How to create tabled index of posts in a certain category

I have a tech blog, what I want to do is to create an index page for articles in a certain category. For example, I want all the articles under the category "WordPress BasiX" to be arranged in an ...
0
votes
1answer
498 views

How can i list random post from multiple category?

I have an author page, and I want to list posts from current author's categories. e.g. I'm viewing John's page, and John wrote in Sport, Tech, News, Computer categories. Then my code list from this ...
3
votes
2answers
4k views

Display list of Sub-Categories and the posts they contain, within one main Category

I've found tons of code and plugins to do various things; from show posts for specific cats, subcats of a cat, etc.. BUT, I cannot for the life of me find, nor do I know the WP API well enough to do ...
0
votes
1answer
102 views

How can i listing current category and Featured Category post list?

I have a Featured Post Category. Im marked some post Featured. When i viewing a category page(e.g. Sport), i want to list on sidebar both marked post list (e.g Featured and Sport,) I tryed with that ...
1
vote
1answer
709 views

How to sort categories by id in wordpress admin

I would like to know if it is possible in Wordpress admin to show categories in post-new.php and edit-tags.php?taxonomy=category sorted by id NOT by category name.
2
votes
3answers
3k 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?
4
votes
1answer
1k views

Multisite blog converting categories to subdomains

Having http://site.com/category/xyz = http://xyz.site.com/ I would like to move the content from each category to its equivalent subdomain blog, so that when I will access http://site.com/new-post/, ...
0
votes
1answer
74 views

Disable sticky option for specific categories

Is there a way to disable the sticky option on posts in specific categories?
0
votes
2answers
400 views

prefix to post permalinks without affecting category permas

I'm trying to make my links like this: site.com/article-sample-post as "article" is a fixed prefix and "sample-post" is the post slug.. but that prefix affect the category link structure making it ...
1
vote
2answers
1k views

Get categories for a specific post - Custom post type

I'm trying to retrieve all the categories which are related to a specific post, using the wp_get_post_categories() function. The problem is that it is a custom post type, so I tried sending it in the ...
-1
votes
1answer
195 views

Add Category Descriptions to Montezuma Theme

Ok, a Quick Question: I´m using the montezuma theme and would like to add category descriptions above my category pages. How can I do that? I found descriptions on how to do that with other themes ...
2
votes
3answers
2k views

How to create non-unique sub-category slugs?

What’s the best way to make Wordpress accept non-unique sub-category slugs? By default, Wordpress ensures that every ‘slug’ portion of permalink URLs is unique, and is very savvy about using this to ...
1
vote
2answers
54 views

is there a better way of combining this?

Hoping someone can point me in the direction of writing this in a more succinct way. I'm working on my website, and want to display a total of 5 posts from the category 'general wonderings'. The ...
0
votes
2answers
1k views

Target a specific category from a custom taxonomy?

I am trying to target a specific category from a custom taxonomy. This is for WooCommerce. So, the custom taxonomy is called "product_cat" and the category itself is called "adult-dvds". This is ...
1
vote
0answers
90 views

Flat category URLs but retaining hierarchy?

I have the categories as follows: - Beauty -- Hair -- Makeup WP expects the URLs to be: /beauty /beauty/hair /beauty/makeup Is it possible to have the following links while still keeping the ...
0
votes
1answer
1k views

How to list only child categories?

Is there any way to list the child categories only? I just want to filter the Parent Categories
0
votes
2answers
522 views

Display Parent Category of a Post belonging only to Subcategory

So basically, I have posts assigned to only subcategories and not to categories (this is so both of them get displayed in the premalink) and in the post page only the subcategory is displayed. I want ...
1
vote
2answers
211 views

How do I get rid of “category” from my URL structure?

By default WP links to a category like this, mydomain.com/category/travel. Having the word "category" appear in the URL seems unnecessary. I'd prefer have the link read mydomain.com/travel. How can ...
0
votes
1answer
117 views

Stop header code from showing in category page?

Hi I'm using the code below to show different header images in my custom template archives. Only problem is that it is also showing the headers in the category templates. go to ...
0
votes
1answer
3k views

How to list categories and subcategories in JSON format?

I need to integrate this plugin with my WordPress site, and the categories must be in this format: "Option 1": {"Suboption":200}, "Option 2": {"Suboption 2": {"Subsub 1":201, "Subsub 2":202}, ...
1
vote
2answers
982 views

limit a list of tags to one category [closed]

Sorry if this has already been asked, but I am attempting to limit a list of tags to one category, in a couple different spots on my web page. I have this code: <?php $tags = get_tags(); ...
1
vote
2answers
863 views

Combining custom post type and post category

How can I query all the posts from either the custom post type ('videos') or with a post category ('video') in a loop? I've managed to create a query that combines the posts from a custom post type ...
0
votes
1answer
928 views

Pagination breaks on child-categories, works fine on parent-category

I have two parent categories, and pagination is working fine on them - the paged url's show as: /parent-category-1/page/2/ ... etc /parent-page/parent-category-2/page/2/ ... etc However, when I go ...
2
votes
3answers
2k views

Limit a meta box to a specific category

I'm trying to limit a meta_box to posts in a specific category. I'm using this method: http://www.farinspace.com/page-specific-wordpress-meta-box/ and it works rather well But I can't seem to get it ...
0
votes
1answer
224 views

Change layout of post depending on category

I am having two kinds of categories one is events and another is no_category. Posts of Event Calendar are placed under events category and rest are in no_category. As you know what is the default ...
0
votes
1answer
162 views

How do i add custom post types to this query?

I'm using the code below to display the latest post from a certain category but i am using Custom Post Types and I don't know how to insert the custom post type function into this code. I want to ...
1
vote
1answer
385 views

Display comments on a comment page without form

I'm using this to allow me to display my comments for posts on category pages: <?php $wp_query->is_single = true; comments_template(); $wp_query->is_single = false; ?> However I don't ...
0
votes
2answers
125 views

How to filter categories of a post

Is there any way to filter the categories of a post? I am using wp_get_post_categories( $post -> ID ); i want to filter this listing i.e. if(post_name or post_id == "some id or some name") {it ...
0
votes
1answer
98 views

Site 'Categories': save an admin global setting with post metadata [closed]

In WPMU, we are using Site Categories (with Sitewide Tags), but for the life of me I can't see how the category of the sub-site (say, departments in a school) to which each blog belongs ends up in the ...
2
votes
5answers
5k views

On the category page, get the category object

Right, hopefully a nice and simple one... I'm on a category page with the id of 4, I want to get the category object back so I can interogate a few values. I've had a good old look in the WP codex ...
0
votes
2answers
393 views

Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category

I have installed Ambrosite Next/Previous Post Link Plus and I'm not sure how to configure it to achieve what I'm looking for. I have a post category like below: Parent category -> Sub category -> ...
1
vote
0answers
1k views

Dynamic dependent Dropdown lists for Categories, Sub-Categories and Posts!

I'm using WordPress 3.5 as CMS to develop my personal website. The reason I'm writting, is that I need a way to implement a code or plugin to allow users to navigate through posts using ...
0
votes
2answers
83 views

How to do some action weekly?

For each new post, I add News category. And I want to delete this category from each post after 7 days. I already know to "delete" the new category but how to run it every week ?
0
votes
2answers
538 views

Child Category Image

I have some code that display's the titles of my child category posts on one of my pages: <?php $parent = get_cat_ID("photos"); $cats = get_categories('child_of='.$parent); foreach ...
0
votes
1answer
75 views

How to make posts being uncategorized

I have some posts which do not have any category, by default, wordpress shows them under "Un categorized". Is there any way to stop this? I want those posts under the categories I have in metabox ...
0
votes
2answers
2k views

How do I remove a category from a wordpress loop>

I have a question. I need to have, in my archive.php file, a exclusion of a specific category. given what I have now, how would I make that happen? Here is the code: <?php ...
0
votes
1answer
1k views

How to display many photo albums related to category

I am developing one project and in this project i have to display many photos albums related to each category name. Particular. Photos [Custom page.Redirect to next sub-category with name {personal} ...
-1
votes
2answers
449 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
233 views

Saving category to a post, before publishing the post

I have created a link from the dashboard, which goes to add new post, but with a category already selected for the post - but the post will not belong to this category before publishing - this is a ...