• Hi There,

    New person here:
    In the gravit theme I am working in- I can get my sidebar to show up in my pages and posts but not when I go to archives (www.talipurkerson.com/category/blog)

    Anyone know a snippet of code I can add to either my php files or CSS file that will make the side bar on the right appear in the archives or category page?

    Thanks so much in advance!

    Cheers and best

Viewing 1 replies (of 1 total)
  • Thread Starter itspocket

    (@itspocket)

    I found the code to put the side bar on the categories page:

    (<div id=”sidebar”>

      <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Sidebar-2’) ) : ?>
      <?php endif; ?>

    </div>)

    however, I am having trouble figuring out where to put it in the archive php file. Anywhere I put it it messes up the rest of the page.(and it doesn’t go over top of the categories like it does pages and posts) Any suggestions? Thank you so much in advance

Viewing 1 replies (of 1 total)
  • The topic ‘How to get sidebar in archives.php (to show up in category page)’ is closed to new replies.