Support » Theme: Square » Don't work right sidebar on the page

  • Resolved gorillaweb

    (@gorillaweb)



    Hi,

    Don’t work right sidebar on the page.
    In file functions.php it’s:

    ‘name’ => esc_html__( ‘Right Sidebar’, ‘square’ ),
    ‘id’ => ‘square-left-sidebar’,

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had this same issue. To fix the problem, go to Appearance > Editor and click on “Sidebar (sidebar.php” on the right-side under Templates. Change it to the following (basically, you just replace all instances of ‘square-left-sidebar’ with ‘square-right-sidebar’)…

    <?php
    /**
    * The sidebar containing the main widget area.
    *
    * @package Square
    */

    if ( ! is_active_sidebar( ‘square-right-sidebar’ ) ) {
    return;
    }
    ?>

    <div id=”secondary” class=”widget-area” role=”complementary”>
    <?php dynamic_sidebar( ‘square-right-sidebar’ ); ?>
    </div><!– #secondary –>

    Thanks!

    Theme Author Hash Themes

    (@hashthemes)

    Hi,

    Here is the fixed version if you do not wish to edit the code https://wordpress.org/themes/download/square.1.1.3.zip

    The fixed version is in the queue for update approval and should be release within couple of days.

    Thank you very much 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Don't work right sidebar on the page’ is closed to new replies.