• Resolved monikirk

    (@monikirk)


    Hello – I’m new to WordPress, I have ‘looked after’ a school site before by just adding content. But I help with our local Riding For The Disabled and have volunteered to update the site. I’m frustrated by the right hand side column that say Archives and Meta. I don’t think it is necessary? There will probably be more questions, but I’m working through tutorials! Thank you in advanced to anyone who might give me a few pointers.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Karunya Chavan

    (@karunyachavan84)

    The “Archives” and “Meta” sections you are seeing are default fallback widgets added by the theme when no widgets are assigned to the sidebar widget area.

    In your theme’s sidebar.php file, you’ll likely find code similar to: (You can find this file under Appearance -> Theme File Editor)

    <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
    

    The theme uses this to display default content whenever the sidebar is empty.

    If you do not need those sections, you can either comment out or remove the fallback Archives and Meta blocks from that file. Removing the fallback entirely is usually the cleaner long-term approach as,

    <?php
    /**
    * The Sidebar containing the main widget areas.
    *
    * @package Vision Lite
    */
    ?>
    <div id="sidebar">

    <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
    <?php endif; // end sidebar widget area ?>

    </div><!-- sidebar -->
    Karunya Chavan

    (@karunyachavan84)

    Also, if possible, make these changes in a child theme so they are not lost during future theme updates.

    Thread Starter monikirk

    (@monikirk)

    Thank you for your advice – I’ll follow your dirrections!

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

You must be logged in to reply to this topic.