• Resolved sandyc

    (@sandyc)


    I know this subject has been discussed in several posts, but I am new to WordPress and need a little hand holding regarding editing the sidebar.php file. Help???

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sandyc

    (@sandyc)

    This is the HTML code:

    <?php responsive_widgets_before(); // above widgets container hook ?>
    <div id="widgets" class="<?php echo implode( ' ', responsive_get_sidebar_classes() ); ?>">
    	<?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>
    
    <ul>
    					<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
    				</ul>
    		</div><!-- end of .widget-wrapper -->
    		<?php endif; //end of main-sidebar ?>
    
    	<?php responsive_widgets_end(); // after widgets hook ?>
    </div><!-- end of #widgets -->
    <?php responsive_widgets_after(); // after widgets container hook ?>

    I understand a little HTML, but this is too complex.

    What theme is this? What are you trying to do?

    Thread Starter sandyc

    (@sandyc)

    I have deactivated all of the widgets in my site, namsparties4kids.com, but the archive widget remains. I do not want any widget to show. I tried adding a blank text widget, but that only served to display a visible empty box on the page. The theme is responsive. As I said, I am learning.

    For pages or posts, you should be able to select a full-width template that won’t show any sidebar at all. On the post or page screen, look for the template pull down in the Page Attributes box on the right side of the screen.

    Thread Starter sandyc

    (@sandyc)

    Thank you. It worked. This is a learning curve.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Removing hard coded widgets’ is closed to new replies.