This topic has 1 reply, 2 voices, and was last updated 10 years by Laura.

  • Author
  • #86437
     cameronvegas
    Participant

    How can I insert a sidebar into the page that contains all posts?  The functionality to set the page template as “sidebar right/sidebar left” disappears once I designate the blog page as the “Posts Page”.

    Thanks in advance.

    #86539
     Laura
    Moderator

    Hello, please go to your hosting file manager or ftp and find the index.php inside of the theme folder, copy the file and paste it inside the child theme folder, now edit it and place the following code, depending on what sidebar template you want:

    For left sidebar

    COPY CODE
    
    <?php
    //create left sidebar template
    kleo_switch_layout( 'left' );
    ?>
    

    For right sidebar

    COPY CODE
    
    <?php
    //create right sidebar template
    kleo_switch_layout( 'right' );
    ?>
    

    Check out the screenshots please 🙂
    1- How it should look like
    2- How to select the sidebar ( in the blog page editor, at the end of the page )

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?