Specific template for subcategory of custom taxomy

You could use the template_include hook to load a specific template for your taxonomy. You would need to change out any instances of my-taxonomy with your specific custom taxonomy and switch out the brand-subcategories.php with whatever your template name is. /** * Force Taxonomy Subcategories to new template * * @param String $template – Expected … Read more

Custom Archive Template for Multiple Categories

The simplest way I can think of would be to have the two categories you want to display together grouped under a parent category. Parent Category |—-Child Category A |—-Child Category B The file category-parent-category.php would by default show posts from both. The file category-child-category-a.php would only show from a. The file category-child-category-b.php would only … Read more

How can I make custom page templates work on child theme?

Edit: I see you’ve answered your own question, but the answer you provided seems dubious to me, so I’m going to post this anyway. A child theme needs a few key elements to work: a style.css with header information (including Template: parent-theme-name), a functions.php file (where you can enqueue the parent theme’s stylesheet), and activation … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)