Question
I have a website and I want to add automatically categories to my menu. I mean when I create new category it should appear in my menu. How I can make it? <?php wp_nav_menu( array( 'theme_location' => 'header', 'container' ...
0
12 hours 0 Answers 2 views

## Delete Term via edit-tags.php

Question
I might get rep'ed down on this - but is there suppose to be a "Delete" link on the edit-tags.php page? Note: not the WP-List-Table, but the actual page where you specifically view the terms individually. It seems as if they ...
0
12 hours 0 Answers 5 views

## add_action hook for completely new post?

Question
publish_post Runs when a post is published, or if it is edited and its status is "published". Action function arguments: post ID. -Plugin API Documentation I've added the publish_post hook to a WordPress plugin that ...
0
4 days 0 Answers 7 views

## List just subcategory and products of active category page in Woocommerce

Question
Working on a category page - taxonomy-product_cat.php - I want to list all the subcategories of that category page, with all its products. I would think it is simple enough but I cant get it to work. I can list ...
0
5 days 0 Answers 7 views

## WordPress subcategories return 404 in custom template

Question
I have a custom Wordpress theme and a main menu on top. This menu has links to different pages, one of them is a link to a Category (archive). It works fine for any first level category, but if I ...
0
5 days 0 Answers 7 views

## WordPress admin categories sort show is wrong

Question
I create categories like: A -- A1 -- A2 ---- A21 ---- A22 -- A3 B -- B1 -- B2 C But in new post on left side admin show wrong: A -- A1 ---- A21 ---- A22 B -- B2 C A2 A3 B1 Why? How I can fix it? Code: $id = wp_create_category('title',$parent); Image :
0
5 days 0 Answers 8 views

## Create custom post type categories

Question
I've created a CPT called 'Projects' in WP using pods. If I now go to the categories sub menu for this CPT I am presented with a long list of categories that were created for the specifically for the default ...
0
6 days 0 Answers 8 views

## wp_list_pages() exclude category

Question
I tried adding this to a similar much older thread but didn't get a response so I am posting it as a new question. I have a large page based website that I am working on. Since it is mainly page ...
0
6 days 0 Answers 7 views

## WordPress – List Sub Categories and Sub-Sub Categories, With Posts

Question
I have the following code. It allows me to show sub categories and documents within them. The thing is, a sub category may contain further sub categories. The code below will show documents belonging to a sub-sub (grand child) category ...
0
7 days 0 Answers 8 views

## Multiple Dropdown’s with Submit Button

Question
I am pulling 2 categories into 2 dropdown lists. When I click submit the URL is showing the filtering but its just loading the homepage. I want the user to be able to select multiple categories and submit to show ...
0
1 week 0 Answers 8 views