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

displaying the categories post

I have this php code below for displaying the post from the specific categories. <ul id="sliderx"> <?php query_posts('category_name=slideshow&showposts=10'); while (have_posts()) : ...
0
votes
1answer
34 views

delete category name in the pages

I'm looking for a way so that I can delete category's name in the pages. I tried to find something for category in index.php but I couldn't find anything. Please help me to solve this problem. ...
0
votes
1answer
233 views

CPT archive page - show one post from each taxonomy term

Basic loop question: I have a custom post type with a custom taxonomy and 3 terms. On the archive page (archive-custom_post_type.php), I would like to display one post from each taxonomy term. Is ...
0
votes
2answers
823 views

Categories from front-end, checkbox selection doesn't work

I'm using the plugin Post from site, which sets up a WP front end writer. I changed some line of code because I need to select categories with checkboxes and not with a multiple select (as it was ...
0
votes
1answer
157 views

Show posts in “image” format when viewed in category page, but with comments in blog

I am working on an artist's website. She wants each image to show up in the blog, and to category pages like "paintings", "calligraphy", etc. When viewing the category pages, the images should be ...
1
vote
1answer
654 views

Collapse subcategories in post edit screen

Is there a plugin to collapse/expande subcategories in post edit screen? In other words I'm looking for analog of CMS Tree Page View plugin, but for categories.
7
votes
3answers
80k views

How to Display Product specific to a category with WooCommerce Plugin? [closed]

I'm using plugin Woocommerce to do shop online. I have many categories for example shoes, clothes and so on. How can I display the products of specific category? I see such product loops of on the ...
0
votes
1answer
665 views

How can I add an “ALL CATEGORIES” entry in wp_dropdown_categories?

I want to let the users search posts by categories. So I use wp_dropdown_categories to build a drop-donw list with all categories. Trouble is I want to allow them to set this to "ALL CATEGORIES" as ...
3
votes
1answer
2k views

How to Make a Categories Meta Box with Hierarchical Checkboxes on Frontend?

My website allows uses to post posts of a custom post type ("place"). I would like to display the same "Categories" meta box seen in WordPress dashboard when you add or edit a post on frontend: ...
4
votes
1answer
623 views

Custom post types with their own permalink structure

My main posts are news items (category "news"). Therefore, I used global URI writing in the following format: /year/month/post-name I also have posts that contain photo albums (category "photo") but ...
0
votes
1answer
227 views

How can I include custom category and tag base in template files?

How can I include custom category and tag base names in the category and tag template files? Specifically, I'd like to include in the page title of category and tag pages the custom category and tag ...
0
votes
1answer
424 views

How to show beneath posts the full category path?

My portal has the following category structure: CategoryLevel1=>CategoryLevel2=>CategoryLevel3=>CategoryLevel4 I assign posts to CategoryLevel4 but I want to show the full category path beneath each ...
1
vote
1answer
1k views

How can I convert some categories to a custom taxonomy?

I have a WordPress install that has a ton of categories. I want to convert some of these categories into a custom taxonomy. For example, I have: Categories: Category A Subcategory 1 Subcategory 2 ...
0
votes
1answer
723 views

how to separate categories in loop.php?

I am trying to get all the posts in a specific category separated into 3 different sections. Each category will be in a different div. When I try doing this, WordPress lists every post in every ...
0
votes
1answer
31 views

How can i display in a archive page a number of post i want

How can i display in a archive themplate ( post type) page a number of post, Let say i want to display a number of 20 post....in archive page, under i want to display the pages... Please look here : ...
1
vote
1answer
630 views

Giving wp_list_categories the class of the category

I am using wp_list_categories to list my categories in my menu. When the menu is generated each category is listed as a <li>-element with "cat-item[number]" as class. Is there a way to also or ...
1
vote
1answer
46 views

Order categories by most posts

How can I list the categories by most posts News(100) Updates(45) Alerts(20) and so on
1
vote
4answers
1k views

How only display all post related to category

I'm trying to make a custom template for my category pages that only pulls in post under a specific category. At the moment, I am only able to pull in all post and not category specific... My code so ...
0
votes
1answer
4k 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
2answers
1k views

Multiple menu items highlighted

I am using WordPress as the CMS for my website. For my navigation menu, I am using WordPress' inbuilt navigation menu function. You add categories, page, etc, to this and it generates a list with ...
0
votes
1answer
185 views

query_posts not reading correct categories

I'm using this code (below) to display posts from a category on two separate pages. The first page lists category 32 and the other lists category 31. However, on the second page it displays posts from ...
2
votes
2answers
384 views

How to show a category post to a specific registered user

I'm working a private blog and I'd like to know if this can be done with any other plugin or any other way: Lets say we have 3 categories: CA, CB and CC, and 3 users, UA, UB and UC, all of them can ...
0
votes
0answers
31 views

Duplicate post issue on multiple category loops on one page (1 post) [duplicate]

Possible Duplicate: Duplicate posts I am building a homepage template and it has an area with 4 separate category loops in a grid layout. Each loop will only show one post. The posts that I ...
1
vote
2answers
194 views

What is the advantage of using header-catname.php over is_category('catname');?

Let's say I have a category named as catname (the slug would be catname). I want the header styled differently when visitors open the category catname. The article on Ghacks explains how to create a ...
2
votes
2answers
62 views

Rewrite category wordpress

Is it possible to rewrite only one category ? I have a category "Photos" and just for this category. I just want to rewrite it from /category/photos to /photos
-1
votes
1answer
65 views

How do i set up multiple portfolios (each with its own defined set of images -) to display on the same page?

I want to have one multi-column portfolio page but within each column or cell is a defined set of images for that particular category (or event) I do not want to rotate through images and see ones ...
0
votes
2answers
1k views

Is it possible to put next and previous category links?

I'm not trying to navigate to the next post within a category, but to put previous category and next category under the category description on its archive page and navigate between archive pages. ...
0
votes
1answer
91 views

Category page when using static front page

I'm using a "static" front page with the posts on a page called News. Is it possible to make the categories use that as the base? Like this: /news/[category_name]/ And is it also possible to do the ...
4
votes
1answer
685 views

How to show list of posts by author and category?

Let three categories and their IDs: cat1 = 1 (parent) cat2 = 2 (child of cat1, parent of cat3) cat3 = 3 (child of cat2) Let each category has 3 posts, they are: post1, post2, post3. And each posts ...
0
votes
1answer
124 views

Pretty URLs with Categories and Tags

How do I create pretty permalinks for a query page that includes results from both categories and tags. For instance, if the category is Country (America) and the tag name is city (New York), can I ...
1
vote
0answers
322 views

Two separate portfolio pages

Is it possible to have two different portfolio pages with different items in each one? I use a free theme called ADAPT, and I have two "portfolio template" pages, NEW vehicles and USED vehicles. An ...
0
votes
2answers
180 views

Shortcode interpreted as text

I have the following shortcode in one of my pages [[Intern: Termine/News]] This works on a password protected sub page. Now I want that all news of the category Termine/News are on the parent page. ...
1
vote
1answer
1k views

Show children of top level category only

Imagine i have a URL structure like this: www.domain.com/category/subcategory/ This is my code: <?php $args=array( 'child_of' => $cat-id, 'hide_empty' => 0, 'orderby' => ...
0
votes
1answer
165 views

Drop posts from categories in MySql

Is there a way to remove all posts from all categories? I found plugin for this, but it's very slow. What I need is MySql query that will help me remove all posts from all categories. If you know how ...
1
vote
0answers
50 views

category url structure

Is it possible to have listed all available categories on www.example.com/category/ request. Using the following url as mentioned in my example generating 404 error.
0
votes
1answer
307 views

Select posts that match multiple category names, must match all categories listed

I need to search for posts that belong to multiple categories, but they must match all categories listed, as in if I list category names 'japanese' and 'dessert' the matching posts need to be in both ...
1
vote
1answer
340 views

Previous/next link to post in category, NOT tag?

On a single post page I have the following code after my loop: <?php previous_post_link('&laquo; %link') ?> &#124; <?php next_post_link(' %link &raquo;') ?> For some ...
2
votes
2answers
427 views

prevent post to have multiple categories in my plugin

I'm writing a plugin, I want to prevent posts have multiple categories (i.e same product having category "Samsung" & "Apple"). Any idea on how to use some actions/filters to achieve this using my ...
1
vote
0answers
176 views

Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX

I need to be able to do the following: List all terms in a custom taxonomy (categories for custom post type) When a user clicks on a category, a listing of all posts in that category appears When a ...
0
votes
3answers
293 views

Echo Category Nicename

I am trying to echo the category nicename to reference a category image stored in my images folder in another folder called categories. I am using this code: $category = get_the_category(); echo ...
0
votes
2answers
418 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 ...
2
votes
2answers
315 views

Assigning a category to a user role

I was looking for a plugin for this, but so far I cant find one that does what I want. I limited the user role capabilities with 'Restrict Capabilities'. But the authors still have to click the ...
1
vote
1answer
50 views

Combining post categories and link categories?

So as to get a single index of both internal posts and external links on the same or related topic/subject matter, is it possible to combine post categories and link categories? I would like to be ...
1
vote
1answer
111 views

Block multiple categories from Blog

I found this code on this site by AshFrame which I added to my functions PHP file and works perfectly to stop one category being displayed on my blog (I have a custom menu so have the category ...
0
votes
1answer
875 views

Search functionality with multiple categories

Good day fine wordpress gurus, I'm having a tough time writing a function that handles the search in a couple of user-selected categories. The way I'm presenting the categories is through the old ...
0
votes
1answer
412 views

Use regular category with custom post types

I'm using WooCommerce that uses a custum post type (product) with its own product category taxonomy (product_cat). Now I'm using an other plugin (minimu) that selects posts to display based on the ...
0
votes
1answer
48 views

Problems with explode [closed]

I have a text box in the admin area for entering the names of categories. Right now, this is what is in it events homepage Just like that above. Two categories separated by a space. So now I am ...
0
votes
1answer
701 views

How to add a custom thumbnail size for a specific category?

The default thumbnail size for the Wordpress theme I use generates category thumbnails for the homepage and archive page at 200x110px. I would like to add a custom thumbnail size for a specific ...
1
vote
1answer
1k 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
205 views

get latest post in category date

I'm building an ajax archive tool. Among the functionalities it can list categories. For each entry i'm displaying the category name (with an anchor that links to the category page) and the number of ...