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
0answers
8 views

Multisite - global categories [duplicate]

I have a multisite network set up (where each blog actually represents one language). The contents of each site can differ (since it's handled by different people with different focus). BUT: We want ...
0
votes
0answers
17 views

how to get value of wp_dropdown_categories

I am making a widget and I have used the wp_dropdown_categories() function in that widget. What I can't figure out is how to get the selected value from the dropdown. What variable is the selected ...
0
votes
0answers
6 views

Loop tags with specific design

Forgiveness for the title, I can not think of anything to describe it. First I have a basic loop: <?php $args = array ( 'category_name' => 'juego-de-tronos', 'orderby' ...
0
votes
1answer
23 views

How to create an array with category ids order by the one that has the most recent post

I can't find a proper solution to this. I have an array of categories for example: $slidercategories_array = array(3,5,6,9,10,11,12,23,24,27); I need to reorder the array like this first the ...
0
votes
1answer
10 views

How to Sync Menu, Widgets and other masters from Main Website to its Sub Site

I am using Wordpress Multisite Network and i am having problems regarding masters to its subsite. I am not able to see the widgets or Menus which were created on Main website to its Sub-site. When i ...
-1
votes
0answers
6 views

Woocommerce create_category hook not working for product categories? [on hold]

so I want to hook into create_category and edit_category for products in Woocommerce. However it seems like it's not using these hooks when creating / editing categories? I know the hooks work for ...
0
votes
2answers
31 views

Show number of articles in menu

I want to display a number of articles in a certain category which is hooked to a menu item. It should look like Bootstrap's "badge" component. Now I've got: and what I want to achieve: Do I ...
0
votes
2answers
20 views

How to add custom post types to normal category pages

I want to have a custom post type, named event, listed with normal posts in the category pages. I have managed to add categories easily to the custom post type with this: add_action('init', ...
-1
votes
1answer
18 views

Show Posts by Price Plan [on hold]

I have made a website on wordpress. There is registraton of any user by choosing Price Plan which is i am going to describe as follows:- Premium Blog Posting - $90 (90 Blogs Per Month) Featured Blog ...
0
votes
0answers
16 views

Backend - Categories and Menus conflicts

I'm having a big problem with my WP instance which is frustrating. Every time I add a new Category ( a simple default category with no custom posts or taxonomies ) it adds, as expected, that new ...
-1
votes
1answer
20 views

Wrap posts from a category in HTML

I want to get multiple posts content from a particular category. I would also like to wrap each post around some HTML. Any ideas on how to best do this?
0
votes
1answer
15 views

Hide category links if there is nothing in the categories - Main Navigation submenu item

In my main navigation menu I have category links that are sub menu items: Example: Main Navigation: Listings Sub menu category items: Boating, Camping, Fishing So basically if there is no listing ...
-5
votes
0answers
18 views

category carousel [closed]

I have one question to ask all guests, in the wordpress I want to buidl category carousel. How can I do? if someone know about this please help me. Thanks.
0
votes
0answers
7 views

changing specific text in the categories meta box

I'd like to customize the categories meta box (the one you see when adding or editing a post). I need to rename the word "Categories" and "Category" to something else, please see the screenshot for ...
0
votes
0answers
14 views

Changing Woocommerce categories programatically

for the last two days I am trying to find a solution to this little problem. I want to change the categories of certain products programatically, so far I have this It seems quite logical for example ...
-1
votes
2answers
36 views

in_category in index.php

I am trying to separate categories because I am working on a theme that will have many different sections on the front page. It makes sense to use categories for these sections. Right now, I have ...
2
votes
1answer
24 views

get_the_term_list by hierarchy order

function btp_entry_capture_categories() { $out = ''; global $post; $taxonomies = get_object_taxonomies( $post ); foreach ( $taxonomies as $taxonomy ) { ...
-2
votes
0answers
8 views

Change order of product categories in woocommerce [closed]

I have a site with woocommerce. A programmer built it and in a product category page there is a list of the main categories sorted in UL > LI hirarchy. I am trying to change the order of the ...
0
votes
0answers
8 views

Display Children Category post and child post under it

Hi I need to display only child category post in home page and then its children title under it in home page recent posts . While doing this it displaying category children post too in home page ...
0
votes
1answer
13 views

Get category name from custom loop and echo it once

I have a magazine front page that updates with every issue, and the front page shows the current issue posts which are stickied. So for example, this month all the posts are in a category titlted ...
0
votes
0answers
13 views

How To Filter Tags by Category

I have a GIF blog with around 15.000 posts and around 8000 tags. These posts are into different categories (2 categories only). The two categories i have are "Reaction GIF" and "Normal GIF". Is there ...
0
votes
0answers
6 views

Display different gravity form depending on parent category

Description I would like to display different gravity forms (every form is in a different language) in single page post for parent category and all subcategories depending on language spoken in ...
1
vote
2answers
50 views
+50

Add role that restricts user to post in specific category

I'm trying to create a role that restricts the ability to post to a specific category, hiding the other from the checkbox. I don't want to use plugins. I'm looking for a snippet to put in ...
0
votes
0answers
9 views

Display products of a certain category as a list [closed]

We have a category which sells generic stuff and therefore we need to display the products of that category in a list form with variations ( drop down box), pack sizes(drop down boxes) and add to cart ...
0
votes
0answers
27 views

archive.php not showing the last post queried [closed]

I have this rare issue. When I visit archive page for a category, it shows all posts but not the last one. If there is only one post in the category, it does not shows any entry. I tried with the ...
0
votes
1answer
16 views

How to schedule categories?

Is there anyway to schedule categories? like I already created the categories but I don't want it published to the public until the scheduled date like how you can schedule posts.
1
vote
2answers
43 views

I want exclude the particular category in sidebar

In my sidebar i would like show archieves list month exclude 'banner' category post. Below codes are tried, but not work for me. <?php echo ...
-1
votes
0answers
13 views

Expand category post by clicking title [closed]

When viewing any category pages it will list all the post titles in that specific category. I want it to expand if the user clicks on the post title which will show the post content of what the user ...
-1
votes
1answer
55 views

Create monthly archive for parent category

Part of the website I'm working on is meant to function like a monthly magazine, with a few different departments. So I have 'Magazine' set as the parent category, and say 'Art' and 'Music' as child ...
0
votes
2answers
25 views

Number of posts in page - set per category and exclude sidebar

I have a widget in the sidebar that shows recent posts. The code below works to set the number of posts per page in each category, but it also affects the sidebar. Is there any way to exclude the ...
0
votes
0answers
15 views

Order main loop by category and then post_date

I'm creating an "announcement" post category. I'd like those posts (using the category id) to appear first in the main loop sorted by post_date desc and then the rest of the posts sorted by post_date ...
0
votes
0answers
28 views

Show Post number of specific Category

I want to show post number of specific category. I want to show it around post navigation For example Post 3 of 13 The code for total # of posts in a category: <?php $post_cat ...
0
votes
0answers
8 views

Wordpress conditional dropdowns in custom post edit

I grabbed this question from another post, I couldn't find an answer. Can someone assist. What's the best way to do this. Thanks I have created a custom post type and a taxonomy for it. Here is an ...
-1
votes
1answer
35 views

Template for product-category page [closed]

Where can I find the template that is used for the product-category page? The general template is "page-full.php". But where is the template for the single-product page (single.php?) and the ...
0
votes
2answers
50 views

Select posts from Category

I am trying to filter posts from category. This category is called "images" And I have the code below: <div id="owl-images" class="owl-carousel"> <?php ...
0
votes
1answer
17 views

List Terms by category

I have a custom taxonomy called portfolio-type. The terms = post_type is portfolio and category is portfolio-type I'm trying to fetch related post of the same category of current post <?php ...
0
votes
1answer
42 views

Navigate posts with different post type that are in the same categories

I created two custom post types that share the same category taxonomy. I'm using next_post_link() and previous_post_link() to navigate through posts with the same category but it only works for ...
0
votes
0answers
100 views

Custom SQL Query: Get all posts with category id and a concated list of tags on each post

I am trying to select all posts from a WordPress database, include few fields on each post, but most importantly I would like to also select the "category id" or each post, and ALL the tags that ...
0
votes
2answers
22 views

Undefined property: stdClass::$id when retriving term ID

I have the following: foreach( $this_post_terms as $term ) : $thiscat = get_term_by( 'slug', $term->slug, 'categories_whatever' ); echo $thiscat->ID; endforeach; The last line throws an ...
0
votes
0answers
14 views

Using category/pagename for Pages

I am using a plugin to assign Categories to Pages. I'm trying to set up a navigation that orders pages into categores. This works fine using the Menu Customization Options, but I can't set up ...
0
votes
1answer
68 views

Category with description and thumbnail

I am using the below codes to show all Parent Terms from a custom taxonomy with title and link on a page. But I want to show the parent term description, thumbnail and post count in it too. So how I ...
0
votes
0answers
53 views

Multiple Loops on category.php with pagination on last loop

I'm trying to achieve what should be fairly simple but I've hit a brick wall when trying to paginate the last of three loops on the category.php template. I've read just about everything I can find on ...
0
votes
0answers
19 views

Filtering by a certain array of categories

This is my first post. If it's misplaced or not correct in any other way, let me know I'm using a portfolio theme for a furniture company. They wanted to sort by product category (Chairs, Tables, ...
0
votes
0answers
19 views

Grouping parent categories into sections

I have the following post categories: Personal Care Jewelry Health & Fitness Automotive Gadgets Health & Fitness and have two sections: Men and Women, what I'm trying to do is to group the ...
0
votes
1answer
28 views

Using categories with pages

I am attempting to use categories for pages (not posts) as a way of filtering child pages. I am working towards having a 'Work' page that lists all its children, and each of these children will also ...
0
votes
0answers
13 views

How to get sticky-posts on front-page working with category query

Im using the front-page.php to display some static content as well as my 5 latest posts in the category "Forsiden" (Frontpage). But the "sticky" post option, is ignored when categorising the posts on ...
0
votes
0answers
25 views

Display parent category with child categories and post count

I want show to specific parent category with child category like a tree see below example main parent catgory (50) child category (25) child category (15) child category (10) ...
0
votes
1answer
26 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
18 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
70 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 ...