• Hi, I have been unable to place any content in my primary sidebar menu. I’m trying get a categories menu in the primary sidebar. I’m using the WordPress Twenty-Fourteen theme. I believe the problem may be with the sidebar.php file, but I’m not sure. It looks like some coding may be missing from the file (my site was hacked a few weeks ago). This is all I have under the primary sidebar coding:

    <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary">
    
    <?php dynamic_sidebar( 'sidebar-1' ); ?>
    	</div><!-- #primary-sidebar -->
    	<?php endif; ?>
    </div><!-- #secondary -->

    Is this it or is there something missing? I’m fairly new at WordPress and coding, so please keep that in mind.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Missing Sidebar.php script?’ is closed to new replies.