New sidebar.

  • Anonymous


    I was wondering if it’s possible to add a new sidebar to the left, so I can be running both the left and right sidebars?




    I was able to move things around and increased the size of the layout to make room for a left sidebar, but I still can’t figure out how to add one to the left.

    Am I able to add the sidebar with hooks? If so, any tips on how to use them, because I never have.



    Syahir Hakim


    Not at the moment, and I suspect I probably won’t be adding it in the future as well. This is because the content area of the theme is already small as it stands now with just one sidebar to the right. Adding another sidebar to the left will cause the content area to be squeezed further, and I don’t think many people would want that.

    Of course, the right sidebar and the container can both be resized to accommodate another sidebar to the left, but this will cause a lot of disruptions to existing theme users who have already adjusted their sidebar items to fit just nicely in the current sidebar.

    Of course, you can do the modifications yourself using a child theme and resize them to your heart’s content.



    Thanks for the reply, Syahir. This is a friendly bump because we kind of posted at the same time, and I’m hoping you didn’t miss my 2nd post. :p


    Syahir Hakim


    Yep, I just noticed that 😀

    In the header.php file, just add this code at line 118 (assuming you’re using version 1.1.2):

    <?php do_action('graphene_before_content-main'); ?>

    You can then use that action hook to add your new sidebar.

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.