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

Random post order into Category Pages

I have a Worpdress Blog and I would like to display post randomly into all the category pages. For example, when I go here http://www.iltrentinodeibambini.it/category/rubriche/lo-sai-che/ I want to ...
0
votes
0answers
12 views

Add category to published custom post type from front-end

I'm developping a site where users can post a CPT that is basically a "service request". They post a draft from a front-end interface and the category is automatically set to a general "service ...
0
votes
2answers
25 views

Get posts from child categories with parent category ID

I have a plugin that shows posts from a chosen category. When child categories are chosen it works perfectly. However when i choose a parent category, it doesn't display any posts from the child ...
1
vote
1answer
31 views

List posts in alphabetical order

What I'm trying to achieve is to set the list shown in alphabetical order. Any thoughts on how i can successfully achieve this? I have pasted the snippet below for reference. <ul ...
0
votes
1answer
18 views

Show next post in same category but start from the latest

I am showing the next post user should read as... <?php previous_post_link('%link', '<span>%title</span>', TRUE); ?> But, if there are 20 posts in a category and I am on the 7th ...
0
votes
0answers
14 views

How to show posts under category name in the main page?

I have posts under two categories, FOOD and DRINK. How do I show the posts under the respective categories in the main page? Is there a theme which automatically does that? I am new to wordpress, ...
0
votes
0answers
12 views

Limit wp_list_categories to show categories of curently logged in user

I am trying to figure it out, how to force wp_list_categories, to show categories, which have posts assigned to them but for currently logged in user. Right now this function shows all (other user's ...
0
votes
1answer
12 views

Wordpress Categories in data-groups

I'm building a jQuery masonry type gallery in Wordpress, which works off categories. I'm 90% there but need to display the categories in a data-groups tag for it to work. ie: <div class="project" ...
0
votes
0answers
6 views

Hierarchical Category->Sub Category->Post View for Wordpress

I am really working hard to get a specific Post view in my Wordpress blog. Example Click http://theunlockr.com/roms/android-roms/ Then Click http://theunlockr.com/roms/android-roms/asus-roms/ I ...
0
votes
0answers
23 views

Dynamically load content based on Title and Category

After googling for about 2 days now without finding the proper answer - and I must commit that I'm not that well educated in php programming, I hope the community may provide me with the correct ...
0
votes
0answers
9 views

How can filter for category children?

Following my previously problem (can you see here Problem when I try to insert pagination For these problem, I needed a "category-blog.php" file and the filter and the navigation works. But How can ...
0
votes
1answer
26 views

Different styles for categories - need to edit a plugin

I'm using a plugin to add recent posts to home page and I am using different styles for the categories. I have the different styles working on the blog page but not on the posts output from the ...
-2
votes
0answers
12 views

How to change post categories order per post basis? [on hold]

I got stuck trying on a way for sorting categories of posts per post basis. Does anyone know a plugin or a code to help with that? i'am not a tech guy so i ratter go with something already built..
0
votes
1answer
13 views

How to query all custom posts of a certain type and checking what category they have

Here's what I have: Custom Post type: Vendors Vendor categories: Wedding Party Catering I want to query all Vendors and then assign them a class based on the category they are in. The class ...
-3
votes
0answers
14 views

Woocoommerce stop user from purchasing products from differerent categories

Does anyone know/have a solution that would allow user not to buy two product from different categories. So every time a product is added to cart I would need to check if a product is already in the ...
0
votes
0answers
24 views

WP_Query by a category id and a custom post_type

I need to query all posts that belong to a given category (default, not custom) and a custom post type. As simple as that. The fact that it doesn't work, to me, is ridiculous. Unless I'm missing ...
0
votes
0answers
8 views

Get link to top-level parent category of post

I am trying to create a link to the top-level parent of a given post. Many of my posts are in sub-categories. I intend to place a 'root category' image that links to the root category. I have tried ...
0
votes
1answer
18 views

Unable to get all tags from specific categories

Page in question. I'm trying to use a WP_Query(); targeting specific categories and displaying all the tags used for posts within those categories. I noticed that some tags, like truffles aren't ...
0
votes
0answers
13 views

how to place page navigation on a specific page at the end of posts from specific category in thesis theme

In single page of wordpress site I am trying to show 10 posts from a specific category. At the end of the list of 10 posts I want to show page navigation so user can navigate to old posts of this ...
0
votes
1answer
38 views

Exclude categories For Custom post types

I have category 1, category 2, category 3, to category 7 and custom post types Gallery, Article, Front Row.. How can we restrict the admin to choose the category for custom post type Gallery to Cat ...
0
votes
2answers
87 views

create single.php for specific category by category id

I'm trying to create template for specific category with id 1 for example. The template should be applied to all of the pages belongs to this category. So, it should be something like single-1.php. I ...
0
votes
3answers
53 views

If statement within PHP echo

I have the following to display my list of categories: $categories = get_categories( $args ); foreach ( $categories as $category ) { echo '<li><img src=""/><a href="' . ...
0
votes
1answer
15 views

Extract post category except one category

My posts are in two categories - one that defines their type eg. article or review and the other defines the topic - tablets,smartphones,smartwatches, etc. How can I get the current post's category ...
0
votes
0answers
14 views

Post Editor: display categories from current post type taxonomy only?

I have a custom post type and a related taxonomy which is called "Asset_Type": Which is perfect. However, if I create a post with the default Wp Post type, I still seem them as categories: I'd ...
1
vote
1answer
19 views

Can you pre-check wordpress categories?

I have created a custom taxonomy, which has 2 terms. I'd like to have both of these checked/selected by default when someone creates a new post. Is this possible? I've searched but found no solutions. ...
0
votes
0answers
23 views

Linking custom post categories and post categories

I am using Posts 2 Posts which links between my posts and custom post types on a single page. For example I have a post about printing business cards and a coupon (custom post type) displayed in the ...
0
votes
1answer
39 views

How to make my category archive behave like a page

I don't want to use the category page as usual (list of posts). I would like to add more content: text, images, columns. Which is the best solution? Maybe redirect from a category page to a page? ...
0
votes
0answers
24 views

category__and works, but why?

I've already found a solution for my question/query but I can't help feeling dirty; this works, but I don't know why, or if there is a better solution. I have a post that has several categories, for ...
0
votes
2answers
21 views

Tags Instead of Category

I have this widget that allows me to show the latest posts from a specific category in the sidebar. Here's the code; add_action( 'widgets_init', 'tie_categort_posts_widget' ); function ...
-1
votes
0answers
32 views

Categories, Sub-categories and single posts

not sure what to do here. I have a client who has a downloads page, on that page they have a list of post categories (manuals, brochures etc.) which are links to their own pages using their own page ...
0
votes
0answers
12 views

Make a custom permalink for a specific category

I would like to make 1 post and check off 2 categories, say cat1 and cat2. I want cat1 to spit out my post like this : site.com/past-name Then cat2 to spit out the same post like this : ...
0
votes
1answer
42 views

Add advertising box to a specific category page

I need to add some ( image or texts ) on top of one of my categories I thought about editing category.php, but it affects all the categories How can I insert various static data on each category? ...
0
votes
0answers
9 views

How to add two-column rich-text category descriptions?

I want to have category descriptions that my website's editors can change without having to write HTML. And: Rich text and image insertion is needed as well. So I need to customize category ...
0
votes
1answer
35 views

How to show “category” name?

I'm a novice and Ii'm trying to edit my theme. I need to show the category after text "Listed in:": //echo $todaydate; if(is_array($rec_dates) && strtolower(trim($is_recurring)) == ...
0
votes
2answers
66 views

How to get a list of term names of the custom post type im currently on in single.php

Ok so I have a custom post type of "Products" and a custom taxonomy of "Types". Now in the types taxonomy I have dozens of categories and sub categories assigned to custom post types. Custom Post ...
0
votes
1answer
29 views

Custom Post Type - Admin Columns

I'm getting these 0's in front of my categories and tags: https://www.dropbox.com/s/7v9hvf25wsw15p8/Screenshot%202014-11-08%2020.50.02.png?dl=0 Here's what the code in function looks like: // Work ...
0
votes
0answers
30 views

Building a drop down menu for child categories

We have an auto selling WP site with a makes page with logo and a link to view all vehicles in that category. Ideally we would like a drop down menu in their displaying all models (the childs of the ...
0
votes
0answers
23 views

How to create team for users?

i trying to create team to manage all the users in more effective way in multisite. i want to create some temas like "support" "super admins" and etc... to each team we need to have option to select ...
0
votes
0answers
40 views

Some questions regarding post-types and pagination

I've built my own theme from scratch using the HTML5 Blank Framework My problems started when I added 3 differen post-types; Work, 50mm and Findings. I've hided the standard 'Posts' type, so that I ...
0
votes
1answer
16 views

Show category meta in loop on homepage

I'm working on a site that groups content into 'issues' using categories. The home page shows the latest issue by pulling the category with the highest ID (thus the most recent). What I want to do is ...
0
votes
0answers
16 views

Pages hierarchy: Category or Parent?

I understand that the Wordpress default is to have Posts organised in Categories and Tags, and Pages in Parent>Child relationships. Now I can make Categories available for Pages, in which case I can ...
0
votes
1answer
18 views

How set all posts in wordpress in one category

I Have 9587 Posts that in 2 category. I need to delete one category and set it in one category, For-example, I have post in (News, Hot News) categories. So i need this post in one category (News). ...
0
votes
0answers
17 views

How exclude some categories?

<?php $category_ids = get_all_category_ids(); foreach($category_ids as $cat_id): $cat_posts = get_posts('numberposts=3&category='.$cat_id); ?> <div ...
0
votes
0answers
15 views

Add custom field to category of custom post type

I want to add a custom field (for a icon) to categories of a custom post type. I use the default category type and not a own create category taxonomy. How can I add the custom field only to the ...
0
votes
3answers
47 views

Categorise Custom Post Types

I don't want to add the category support for the posts of a certain custom post type but to categorize the post types itself. How is that possible? Story behind: In my theme I handle different post ...
0
votes
0answers
22 views

Using categories and pages in menus

I've got a problem with mixing categories and pages within menus. As a fictional example: - About us (custom page template) -- What we do (page) -- Key staff (page) -- CEO blog (category) ...
0
votes
1answer
49 views

Retrieving posts by their date and category

I'm trying to create a plugin for displaying post titles and dates (which will be displayed as links to those posts) of a specific date range and category. So far I have managed to get to display the ...
0
votes
2answers
35 views

Adding a button to a product if it's in a category, then linking to that category

I've got a site with products... and some of those products are in categories (collections). For those products I want to show a button 'view the collection,' and have that link to the category. So, ...
0
votes
0answers
12 views

Particular category returns empty post both in admin area and in frontend

This category has 47 posts. Can view the individual post. When we filter the post with particular category in the admin area, it returns empty. In the frontend this category shows 0 post. Disabled all ...
0
votes
2answers
15 views

getting content from main domain to sub-domain using category and WP_Query

I have a main website with 2 sub domains. www.example.com www.space.example.com www.products.example.com I want to publish articles on my main website using categories to sort them. for example, ...