## How do I set a specific template for sub-categories?

Question
There's a few posts about getting sub-categories to use the same template as their parent but I want to do something slightly different. I have a category 67, and I want all sub-categories of 67 to use a specific template. ...
0
4 hours 0 Answers 2 views

## Print different message on each post based on category type while excluding the latest post

Question
I have been struggling to find a better way to do this, I would like to print different messages on all posts based on the category type while excluding the lastest post in each category. if ( in_category('category-1') ) { ...
0
4 hours 0 Answers 0 views

## Move category description below post list in blog

Question
i am good looking for a way to move - in blog page - the category description under the post list instead of above by default. Can i do that with a php function without changing the theme files ? thanks a ...
0
12 hours 0 Answers 1 views

## Shortcodes not working in category or tag description

Question
when Yoast plugin is enabled shortcodes not working in category or tag description I used this and this article and add these codes to the function but nothing change please help me. add_filter( ‘term_description’, ‘do_shortcode’ ); add_filter( ‘category_description’, ‘do_shortcode’ ); add_filter( ...
0
16 hours 0 Answers 1 views

## Deleting default category in wordpress

Question
I'm looking for a way to delete default category functionality in wordpress but after i delete the default category in wp_terms table in mysql database, it automatically assigns default category to another category. Does anyone know how to achieve this? Thank you ...
0
1 day 0 Answers 3 views

## How can I define a custom archive for childs of a specific category?

Question
I want to show several comics I make without having to rely on plugins (already tried them, each has some limitations I rather just do the work on my own). So I made a parent category called Comics and a ...
0
2 days 0 Answers 21 views

## Setting ACF for Category and for all subcategories

Question
I'm building a website with multiple categories and subcategories, and some of those categories need some advance custom fields to work properly, and for them to have the necessary data i need to be filled. The Problem I'm trying to apply some ...
0
2 days 0 Answers 9 views

## Post publish directly in all categories except one need pending review

Question
Three categories in post. I have created a new role that can publish post in two of them. But I want post in the special category to be pending review first, after reviewing then publish. How to do that?
0
3 days 0 Answers 22 views

## Hide parent categories when clicked, and show it’s childs

Question
Sorry if this is a dumb question but I'm very much stuck on this problem for about 4 days so far. So here it goes. I have the Jevelin theme installed, which has a Portfolio. I've created my categories like this: Category ...
0
3 days 0 Answers 16 views

## get_the_category return empty inside loop

Question
I'm creating a custom template for my website and I'm currently using this code in order to loop to my multisite worpress and get the latest posts: global $post; global$wp_query; $subsites = get_sites(); foreach($subsites as $subsite ) {$subsite_id ...
0
5 days 0 Answers 27 views