Support » Fixing WordPress » why my template layout was not use

Viewing 4 replies - 1 through 4 (of 4 total)
  • red square sentences is “righr sidebar <br/>(defult)”

    The theme developer can help with this issue

    If you have created the theme, ensure that the get_sidebar is appropriately referenced

    @luckychingi get_sidebar is appropriately referenced ,where find it ,”functions.php”?

    Is register_sidebar added in functions.php and does the name matches the function call on your php page?

    on the php pages, add a marker and check if WordPress finds your sidebar

    <?php if ( is_active_sidebar( 'sidebar-1' )  ) : ?>
    Sidebar Found
    	<aside id="secondary" class="sidebar widget-area" role="complementary">
    		<?php dynamic_sidebar( 'sidebar-1' ); ?>
    	</aside>
    <?php endif; ?>

    The above script should display ‘Sidebar Found’ above the sidebar content

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘why my template layout was not use’ is closed to new replies.