No sidebar on categories page (3 posts)

  1. LFMel
    Posted 2 years ago #

    Hi, working with a designer on a wordpress site; the designer set everything up.

    I need to add advertising in the sidebar on the recipes page, it's a categories page and I am guessing the problem is that the theme doesn't include a sidebar on the categories page. I tried adding <?php get_sidebar( 'sidebar-primary'); ?> to the category.php file, thinking that would make it add a sidebar but no luck. Maybe I inserted it in the wrong spot, I put it after the content <div> tag.
    There are a lot of hooks in the category.php file and I don't know hooks/what to do without becoming fluent in php. Any help is much appreciated. Thanks!

  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    <?php get_sidebar( 'sidebar-primary'); ?>

    was your file name sidebar-sidebar-primary.php ?


    as you seem to be working with a commercial theme, have you contacted the theme's seller for support?

  3. Aaron
    Posted 2 years ago #

    Well you want to take the fundamental layout of single.php and put that into category.php

    But it appears like a paid theme and this forum doesn't support those. If it is you should ask for support from where you bought the theme.

Topic Closed

This topic has been closed to new replies.

About this Topic