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

How can I hide the category term for posts with none set?

I'm trying to hide the word "Category:" from the metadata on the Twenty-Eleven theme's footer, when I don't have one set for a given post (sometimes I will manually remove the "Uncategorized" ...
0
votes
0answers
20 views

Category Posts Code

You may find my index.php code below. I'm trying to get posts from categories. <?php get_header(); $style = gplab_get_option('home_display'); if (isset($_GET['style'])) { $style = ...
0
votes
0answers
10 views

Is it possible to setup Category wise Subsciption?

Is there any plugin in Wordpress, which will allow visitor to subscribe my WP Site category wise? Like when a user will enter his/her mail address to subscriber, (s)he will be asked to select ...
0
votes
0answers
32 views

select to search in category AND custom post type

I try to do something but which I block. What I need is simple: a search textbox and a select which allows the user to search either in whole or in custom post types, or in category. Separately, I can ...
0
votes
0answers
13 views

Wordpress double post name distinguish by term [duplicate]

I am working on a store locating Wordpress template where I have 5 categories for services. In each category I have 500 cities. I have rewritten my url from: http://www.website.com/post-type/post ...
0
votes
1answer
97 views

How to pass multiple checkbox values to wordpress query?

I am working on a website that has multiple check boxes and I want to show results based on what user has selected. There are about 16 check boxes for music, 8 check boxes for venues and 6 radio ...
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
1answer
21 views

Exclude categories by ID

I've searched this site and tried all kinds of ways to exclude categories 1 and 7 from this list, but nothing is working. No errors but doesn't hide the cats either. Categories 1 and 7 are not empty, ...
0
votes
1answer
22 views

Hide all posts by an author

We have a category called "Tech", and want to hide posts from a specific author on this page. For example, John Smith's posts do not show in Tech category, or any category for that matter, even ...
1
vote
0answers
71 views

How to get latest posts from each category in regular order

let's say I have a main query and it displays posts from Movies and Music categories. I want the query to show always 5 latest posts from Movies and 5 latest posts from Music category. When I create a ...
0
votes
0answers
12 views

Hook on Add new category from post editor [duplicate]

How can I "hook" on Add new category metabox from post editor page? I need to add some default values to DB when adding new category
0
votes
1answer
38 views

Archives for each category on WP Multisite

I'm working on a multilingual site for a client. The easiest way to do this (for free) I found was to use WordPress Multisite Language Switcher (http://lloc.de/msls). I've been working on this site ...
0
votes
0answers
23 views

What is the default template for a category/taxonomy query?

I am trying to figure out what would be the default template used for this URL: http://example.com/categories/16/search_type/and/order/default/ It does not appear to be the category.php or ...
0
votes
1answer
46 views

Show multiple categories in query using redux framework variable

Stuck on trying call an option variable using the Redux Framework - that is utilizing multi-category select - inside the query. Here's what I have as my query: $the_query = new WP_Query(array( ...
0
votes
0answers
9 views

Show snippets in a category feed but full post in other feeds

Is it possibile to have different feed settings for my main RSS feed and the feed for a category? For example, I want to have a category foo that shows only snippets and the post's featured image ...
0
votes
0answers
23 views

All images from posts of specific category

I'm photographer and am developing my own portfolio, it's in the final stage. I'm trying to get all images from posts in a specific category. I can actually get all images from all posts, but they ...
0
votes
1answer
30 views

Update post title with category name after editing a category

I have this relationshop between some categories and posts where the name of the category is also the name of the post. When I add a new category, a post that has the same title as the category is ...
1
vote
2answers
72 views

Display Posts of a Category in Alphabetical Order (Custom Post Type)

I have a custom post type called "link" I have a custom taxonomy for this post type called "link-category" I have a template file for this taxonomy, "taxonomy-link-category.php" I need the template ...
0
votes
0answers
15 views

Move Category into Subcategory, Keep URL structure

The site I'm working on now was a small blog which then expanded into something quite a bit larger than what they first thought. Example below -Pizza -Chinese -Italian What I need is either all ...
0
votes
0answers
30 views

List all wordpress categories on page loop

I'm trying to build a wordpress theme for a magazine site I plan on launching and I'm kind of stuck on a certain issue. I'm listing my posts in a 3 column layout and I'd like to create a page where I ...
0
votes
1answer
33 views

Top menu disapears in Category Pages when filtering using ACF

I am using ACF (Advanced Custom Fields) and filtering the results using the method they posted on their website. ...
0
votes
0answers
25 views

Add child category to parent on post creation and save

I'm trying to build a tree layout for a custom taxonomy. Categories are animals. Big Game (0) -- Bears (2) -- Black Bear (3) -- Grizzly Bear (2) The above is a glimpse of what I have. ...
0
votes
0answers
32 views

wocommerce : list sub category of parent category on current category page [on hold]

In WooCommerce, if there is no subcategory of the current category, then it display the subcategory of the parent category. I tried following code: $args = array( 'type' => 'products', ...
0
votes
1answer
32 views

filter single_cat_title avoiding the breadcrumbs

I'm developing a simple plug in and I need to filter single_cat_title in category page adding some html in every category page. Just doing this: function subtitleCategory ($title) { return ...
0
votes
0answers
20 views

How to set a default one (i.e. Uncategorized) in Custom Taxonomy?

I'm using Custom Post Type and Custom Taxonomy in a project of mine. Just before delivering the site I found a serious bug. I used a simple WP_Query() with the following arguments: new ...
0
votes
0answers
6 views

Archive list with only years and months belonging to a category

I need to generate a list of years and months belonging to a category. For example I have two main categories (A and B). I need a list of years and months of post published only of the category A and ...
1
vote
0answers
29 views

Display category description instead of “nothing found” page

I use wordpress 3.8.1 with the theme tweenty fourteen. Unfortunetly , when you click on a category with no post assigned to it for now , it's display a "not found" page. I try to make a plugins with ...
0
votes
1answer
22 views

How to remove title from category page in header

I am trying to not show the page title on certain pages, including home, a custom post types page, and a category page (/category/blog). I came up with this, and it's working for everything but the ...
0
votes
1answer
34 views

htaccess redirect for all categories converted to tags now showing 404

I have a WordPress site which syndicates content from a number of sources and auto creates categories and tags. I have converted a large number of categories to tags which now leaves a ton of ...
0
votes
0answers
26 views

How to paginate categories and sub categories?

Here is my code so far: <?php if (isset($wp_query) && $wp_query->max_num_pages > 1) : ?> <div class="row"> <div class="col-md-12"> ...
1
vote
0answers
38 views

WordPress URL Rewrite for dynamic and customized URL

I'm working on a website in WordPress where I have to show AP News from external Database and not from the WordPress DB. I have created few shortcodes for this, which are working absolutely fine. I ...
0
votes
0answers
21 views

woocommerce how to catch the last product in each category? [on hold]

since all the products in woocommerce are li in the same list(ul products), I am looking for an option to catch the last li in each category ul products li.catA li.catA--->this one li.catB ...
0
votes
1answer
17 views

Add description to categories menu in admin

I'm trying to create a simple paragraph above the categories menu, on the post editor page. Most of the tutorials I see are adding input meta values, and not in relation to the categories. What's the ...
0
votes
1answer
23 views

Retrieve all posts within tag OR category?

I've created a simple loop. And I have the following array for the query: $live_tags = array( 'tag' => 'live', 'showposts' => 5, 'post_type' => 'post', 'post_status' => ...
1
vote
2answers
32 views

Display content from custom post type if match to main post category

I solved the problem of displaying from a custom post type in a post with this solution, however, I want to filter even more and only display the posts from custom post type that match the main post's ...
1
vote
1answer
50 views

Exclude sub category posts from category display

I have a post category structure like this: news news / conferences news / newsletter In Appearance > Menu, I have added 3 menu items. One each for the categories News, Conferences, Newsletter. ...
0
votes
1answer
43 views

get_posts ignoring 'category' and displaying all posts

I'm going a bit crazy on this one. I'm trying to display a list of posts in a category on an Admin page in a plugin I am writing. The following code works fine on my dev server (OS X/Apache): $args = ...
0
votes
1answer
123 views

woocommerce - products by category slug? [on hold]

good morning, I need to display the shop base page in a category layout,meaning first show all the products from category A and beneath it all the products from category B and so on.. I trying to use ...
0
votes
1answer
51 views

Latest Posts not in the right order

I have changed my website's homepage to show only latest posts on the home page by going to settings > reading and using the "Latest Posts" option, but I just can't get things to work properly. On ...
0
votes
1answer
30 views

Gettind 404 not found wen click the view button for a given category custom post type portfolio

I have created a custom post type portfolio and custom categories. Everything is working fine as expected however when I click into the custom post types categories and click the view button for a ...
1
vote
0answers
49 views

Custom taxonomy/category order

My products are sort by menu_order, but I would like to sort category name too. I tried a few plugins and all doesn't works. Code, which display category name and products list: <?php ...
0
votes
1answer
43 views

Get the ID of the current post's child category

A client of mine wants to create a simple "related posts" loop that shows 6 of the most recent posts that match the current post's category. The issue is that every one of their posts have the same ...
0
votes
1answer
31 views

Rename Default Category (Uncategorized) Via a Function

I'm looking for a function to rename the default 'Uncategorized' category. The reason I need this is because I'm running a WordPress multi-site largely used by users with little technical knowledge ...
0
votes
0answers
12 views

Problem with drop down with custom categories

I am having an issue with using a custom category. The category is called counties and includes the following entries: Warwickshire, West Lothian, Westmorland, Wiltshire, Worcestershire and ...
0
votes
4answers
73 views

How to exclude categories from recent posts, recent comments & category widgets?

I use the bellow function (thanks to @helgatheviking!) to exclude categories from the wordpress loop. It works very well - posts of selected categories are excluded from the loop on the main blog ...
0
votes
1answer
26 views

Assign specific ads to specific categories/posts

I've been playing around with solution to be able to show a different header banner on different categories, and hopefully later on, be able to extend that query to the post level. I've found a few ...
0
votes
3answers
52 views

How to show more than 5 posts?

I am running code that shows child categories, and all posts in the child categories. But if there are more than 5 posts in a category, only the 5 newest are shown. How can I show all, or at least ...
0
votes
0answers
17 views

Exclude a category of posts from all listings if user doesn't have a role

I have some categories that I'd like to bulk exclude from all listings (the loop on the main blog listing page, category listing pages, archives, etc.) and to show them only to users with a specific ...
0
votes
1answer
33 views

Link to a latest news item with correct url

I need to have a page, that displays the latest post in the category 'news' or sub category 'news->nen-news'. And I need to be able to link to from the main navigation (news->news article). My news ...
0
votes
1answer
20 views

filter a loop base on specific category

i am going to filter my loop base on the category the problem is that when i am using the following code it display all my post. // Query args $custom_cat_args = array( 'posts_per_page' => 15, ...