Support » Fixing WordPress » No sidebar on categories page

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    <?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?

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No sidebar on categories page’ is closed to new replies.