Support » Fixing WordPress » Main Sidebar doesn't show on site…

  • Site:

    I’m as beginner as it gets when it comes to making websites.

    For making my WordPRess site, I have been following this video:

    That being said, I am able to put things in the Main Sidebar under Widgets, but my changes don’t show on the site.

    I’m not sure which code you need to help, but here’s the code for “sidebar.php”:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button, not blockqoute. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser. ]

    // Exit if accessed directly
    if ( !defined('ABSPATH')) exit;
     * Main Widget Template
     * @file           sidebar.php
     * @package        Responsive
     * @author         Emil Uzelac
     * @copyright      2003 - 2012 ThemeID
     * @license        license.txt
     * @version        Release: 1.0
     * @filesource     wp-content/themes/responsive/sidebar.php
     * @link 
     * @since          available since Release 1.0
            <div id="widgets" class="grid col-300 fit">
            <?php responsive_widgets(); // above widgets hook ?>
                <?php if (!dynamic_sidebar('main-sidebar')) : ?>
                <div class="widget-wrapper">
                    <div class="widget-title"><?php _e('In Archive', 'responsive'); ?></div>
    						<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
                </div><!-- end of .widget-wrapper -->
    			<?php endif; //end of main-sidebar ?>
            <?php responsive_widgets_end(); // after widgets hook ?>
            </div><!-- end of #widgets -->
  • The topic ‘Main Sidebar doesn't show on site…’ is closed to new replies.