badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Set Default template for Category Added to Menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13332
    woodlandsp
    Participant

    Hi,
    I have added a category “News” to my menu and I want to give it the default template of “Blog Image Medium”. I would be happy for all categories to use the 1 template.
    Or if I create a blog page how can I filter categories that are displayed on blog page, for example News category only.
    Thanks
    Chris

    #13353

    Hi woodlandsp,

    You just go to the dashboard -> appearance -> theme options -> advanced options -> home page / front page category

    Select multiple category and this selected will be displayed in the front page or home page.

    We don’t have any other features to display the selected category in other page. So you need code customisation.
    We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    If you are unable to fix the issue then you may hire a developer to fix the issue.

    Thank you!

    #13363
    woodlandsp
    Participant

    Hi,
    many thanks. What functions would I be looking to use in the child theme or what script should I be looking at? Could the template be applied to all categories on a menu through Custom CSS?
    Regards
    Chris

    #13398

    HI woodlandsp,

    All the functions is on the same page so you don’t need to move to other page to edit it. This file is inside theme folder -> library -> structure -> content-extension.php. You can change it in your way how you want to display.

    You just create a child theme folder and create a file name functions.php and there you customise the code first unhook and then only customise code and if you are unable then you may hire a developer to fix it.

    Thank you!

    #18661
    damny2020
    Participant

    Found a plugin that looks like it does exactly what we need, allow to choose a template for the category, called Custom Category Template. It should do the trick, but somehow not working in Interface theme. I changed to Twenty Thirteen and worked.

    When it doesn’t work, support issues all point to templates that do not use the normal WordPress template hierarchy. As well, the plugin uses the native category_template hook.

    Does Interface theme use WP hierarchy and native hook? Just trying to narrow the issue in case it might be with another plugin.

    Plugin https://wordpress.org/plugins/custom-category-template/

    Thanks
    Daniel

    #18667

    Hi damny2020,
    We are using the action hook not the native hook and wp hierarchy. We can’t support all the plugins that is in wordpress.org, We are sorry for this and also great thanks for your suggestion.

    Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.