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)

1
vote
1answer
17 views

How do I display the posts from a custom post type on a category.php page?

I have set up a category.php according to this wordpress hierarchy diagram. When I am on the page http://example.com/category/my-category I want to display all posts that are under my-category using ...
0
votes
0answers
7 views

Categories to be added by users but kept pending till approved

I want Categories to be added by users OR contributors but kept pending till approved by admin. I need this feature in my hindi poems publishing wordpress blog
2
votes
1answer
629 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?
1
vote
1answer
36 views

Properly display posts on homepage

I'm having trouble displaying posts from a single category on the homepage the way I want them to appear. The theme I'm using uses a 3 column layout for the homepage and a content-sidebar layout for ...
0
votes
2answers
258 views

Can I hide a specific post from latest posts page?

Let's say that I have a post that I only want to be shown in the page of the category that it belongs to. The problem is that this post is also visible in the latest posts page. Is there a way to ...
1
vote
1answer
1k views

ajax for filtering posts by category in wordpress loops

I've been looking around for a way to filter my posts on http://www.waziproject.com/wazimagazine/ without reloading the page. So my question is if anyone can help me out to turn the following into a ...
0
votes
0answers
13 views

Media Popup filter results by custom media Category

i'm using the wp.media for Media Uploader Popup http://mikejolley.com/2012/12/using-the-new-wordpress-3-5-media-uploader-in-plugins/ I created a new category called 'media-category' for the Media ...
2
votes
1answer
255 views

Way to force media uploader use custom image size

I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories. ... So in screen shot above, I'd ...
1
vote
1answer
238 views

Creating gallery with taxonomy images plugin?

My code uses a taxonomy category image plugin to display images for categories. It also displays subcategories of the main category in the parent category page (category.php). I want to display only ...
1
vote
1answer
38 views

Wordpress category check

So I have a plugin, and i want to have a multiselect drop-down list with all categories in widget's settings and store (by admin's choice) selected ones (ids). Then to check if we are viewing a ...
1
vote
1answer
243 views

Changing post category from dropdown

I am showing a list of posts on the front of my wordpress site which each have a dropdown next to them with a list of category's, which are pulled in as follows. As you can see the form submit button ...
0
votes
1answer
11 views

Category Page Template - Can't get category ID

I am creating a category template that uses WP_query to get posts from my custom post type... <?php $query = new WP_Query( array( 'post_type' => array( 'mycpt' ), 'posts_per_page' => 5 ) ); ...
0
votes
1answer
559 views

Display posts in three columns by category

I've seen posts which probably answer this, but unfortunately the answers are all a bit technical without telling you where the code should go? At the moment I have my posts directed to a blog page. I ...
0
votes
2answers
302 views

How can i display category title over thumbnail?

I am trying to implement a slider on my site but i cannot find out how to display the category for each post displayed. I want it to display over the thumbnail. is there a code i can enter to display ...
1
vote
0answers
21 views

Trying to sort and display categories(not posts) by custom field: 'order'

I'm a WordPress rookie. I've added a custom field to my "Category" taxonomy. The custom field is "custom_order" and its purpose is to hold a number so that my categories can be sorted and displayed in ...
1
vote
2answers
254 views

Get last post date yesterday from each categories not work & double result post

<?php $categories1=get_categories('orderby=post_date&order=DESC'); function filter_where( $where = '' ) { $today = date('Y-m-d', current_time( 'timestamp' )); $yesterday = strtotime ( '-1 day' ...
0
votes
0answers
24 views

If in_category not working for multiple single.php pages

I searched far and wide (on here & Google), reading about how to have multiple single.php pages for different categories of posts. The consensus was to do something like this: <?php /* ...
0
votes
2answers
609 views

category filter doesn't work in WPML

I translate the categories to another language, but in the main page, the two language categories are all displayed. How can I filter another language? My WPML version is 2.4.1. I found all the ...
0
votes
1answer
430 views

filter the post listing for a particular category from archive month list

I have the month year archive list in my sidebar. after clicking on any month all post on that month listed. Now I how can I filter the post listing for a particular category ? What I mean is that ...
1
vote
1answer
508 views

Pagination for category slug returns 404 when page >= 2

I have a custom type and the slug is: 'rewrite' => array('slug' => 'blog/%blogs_tax%'), And after register_post_type() I have a function to rewrite the slug variable. I works fine, but I ...
5
votes
1answer
574 views

Can't custom taxonomies have same terms (slugs) as categories?

I knew that it's not possible to have same terms (term slugs) under categories and tags, but surprisingly, as I realized today, that's the case with custom taxonomies as well. So for instance, if my ...
0
votes
1answer
516 views

Add class to items in wp_list_categories()

I have this in my category.php to show sub-subcategories: <?php if (is_category()) { $this_category = get_category($cat); if (get_category_children($this_category->cat_ID) != "") { echo ...
-1
votes
0answers
35 views

How To Display Categories Conditionally on “The Loop”

I'm trying to get specific categories to display, and only when a given page is displayed. I have tweaked the start of "The Loop" to look as shown below but it doesn't work. Any suggestions on how to ...
1
vote
1answer
208 views

How to create category index table out of wordpress site or on other website?

I want to create a page on other part on my website (outside wordpress directory) where I can show list of posts from a specific category. I am looking for exact solution provided by @toscho here: ...
0
votes
2answers
432 views

How to display only one category in a custom post type?

I have a custom post type called 'portcat' and I want to display the results of only one portcat category ('games' - which has an ID of '3') on my page. The below code displays all of the categories ...
0
votes
1answer
249 views

Query posts from current year

I don't quite get why this isn't working. I'm trying to use the following to only show posts from the current year on the front page: <?php query_posts( "&year=$current_year&order=DESC"); ...
1
vote
1answer
219 views

How to get the depth of a category's subcategories

I'm looking to get the depth a category's subcategories. Suppose I have a category 'grandparent' which has a subcategory 'parent' which in turn has a subcategory 'child'. How do I get to integer 2? ...
5
votes
4answers
3k views

How to export categories in wordpress

I want to export all Wordpress categories (no posts, just categories) from one blog to another. How can I do that ?
-1
votes
1answer
348 views

Display category tree of a post in search results

Do anyone know how to display a category tree of a post in the search result. Foe example: If a post is in level 3 category level 1-> level 2 -> level 3 where the level one is the parent one.
1
vote
2answers
266 views

Category Thumbnail Display - How to display ONLY the main Category

I am using the eList wordpress theme. Now on the main page, there is a thumbnail display of all the categories listed. Now, on the theme you will see that they have no sub-categories under the ...
0
votes
1answer
350 views

Make wp_dropdown_categories into a variable that persists until changed?

User selects category1 from wp_dropdown_categories, if user clicks on tag2 any point after, they only see posts from category1 with tag2, not all posts with tag2. Is there a way to store the chosen ...
0
votes
0answers
18 views

Querying Multiple Categories With Different Offsets

On my website I have a "Breaking News" section which shows the most recent 4 stories in the "Breaking News" Category. Under this I have a featured news section which displays 5 more stories from the ...
1
vote
1answer
22 views

Is it possible to add short code and html tag in Category Description?

I want to add a shortcode (like slider) and html tag like <h2>-------- text -----</h2>. Is that possible? I have already tried but is not really working. Only normal text is showing, no ...
0
votes
0answers
16 views

Own Custom Tags/Category page ( posts)

I want to make a page where on each tags : My page should look alike : http://www.missmalini.com/aamir-khan-2/ Above page is coming from http://www.missmalini.com/celebrity-fan-pages/ this are ...
0
votes
1answer
775 views

how to show custom menu in category and its posts?

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...
1
vote
1answer
531 views

Get Tags specific to Category using WooCommerce plugin

Could anyone help me to implement this code in WooCommerce, ie instead of categories to use product categories, and instead of tag to use product tag. In functions.php : function ...
1
vote
1answer
29 views

Solutions to repost categories into multisite blogs?

I have done a search on this topic but was unable to find a solution to this specific question involving wordpress multisite. I currently have a wordpress network where domain.com is our main site ...
0
votes
2answers
1k views

Displaying list of subcategories and not parent category

I have a blog which has three top level categories. Each top level category has a list of sub categories. I am displaying only certain top level category posts in certain sections of the website. ...
0
votes
1answer
23 views

Conditional Statement custom post type category

I would like to display a text depends of my custom taxonomy category, like: if custom post type category is X, then echo Text Y. I've tried this, but its not working: global $post; if ...
0
votes
2answers
247 views

custom query for both category and pages using global $wpdb;

I have a custom query returning categories, but I also need to return some pages with a particular post ids. How would I add those? They obviously have no taxonomy and are page post types. Below is ...
0
votes
1answer
21 views

Mass/Bulk assign categories to posts

I need to assign categories to about 200 posts in bulk. Each post would have a few categories. I have the post ID's along with the Category ID's for each post in a text file like this: Post ID, ...
0
votes
1answer
354 views

Custom url structure - pages under a custom post type

I'm struggling with the structure of my Wordpress site and I was hoping you might be able to give me some advice. The site is for a series of events and the structure is as follows: Gateway ...
0
votes
2answers
47 views

Shows only one Category in home page

Hi i'm trying to change the home page, because i'd like to have a slider and down only one category of article. you can look at the page on line: http://goaboa.it/home-2014/ I cannot see anything ...
-1
votes
1answer
57 views

Display All Products by Category with WooCommerce

With WooCommerce, I want to display all the categories in a store as headings, with all of their products listed below in an unordered list. Is this possible to do? I've seen a few things that'll let ...
0
votes
1answer
670 views

forming WP_Query for posts of all post types but from specific categories

I need to get post from blog, custom post type 1, custom post type 2. custom post type 3 and either from category 1 or category 2 or category 3 or category 4 or category 5 or category 6 or category 7 ...
-2
votes
0answers
21 views

Use function query shows category update list post in homepage

Use function query shows category update list post in homepage. I wont shows categoyr name and post list update http://upic.me/i/mu/00gcc.png http://www.cartoonclub-th.com/
0
votes
1answer
37 views

How to call Shortcode categories for custom post types?

Hi I'm trying to do something rather tricky in my Wordpress Theme I'm more of a designer front-end developer so its a bit of a guess work with php. Anyone have any ideas why this code only displays ...
0
votes
2answers
24 views

Show post categories

I'm trying to show post categories for some breadcrumbs. At the moment, I have this: the_category(' / ', 'multiple'); But for some reason, it is stating the parent category twice (I only want ...
0
votes
1answer
271 views

Get all first images of posts in same category

I am trying to build a list of thumbnail images linked to their associated single content pages within the same category. So, when I am in the category of 'x' the list returns all image attachments ...
0
votes
2answers
298 views

Get unique post in parent category

I have a parent category and several child categories. I also have several posts that belong to the child categories. Each post can be belong to several categories. I want to know how to query the ...