• Resolved Squirrel99

    (@squirrel99)


    Hello,

    How do I remove the following sections from the right sidebar?
    a) Archives
    b) Meta

    Is the page to edit will be functions.php?

    If yes, what is the exact code that I should edit/remove to completely remove the Archives and Meta boxes from the right sidebar?

    Please help.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Squirrel99

    (@squirrel99)

    I guess removing the following code from sidebar.php resolves the issue for Meta box :

    <aside id=”meta” class=”widget”>
    <h3 class=”widget-title”><?php _e( ‘Meta’, ‘generate’ ); ?></h3>

      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • <?php wp_meta(); ?>

    </aside>

    But, is this method correct? Will it affect the other codes and my site?

    Theme Author Tom

    (@edge22)

    Hi there,

    When you add your own widget to that sidebar, the default widgets will disappear.

    If you don’t want widgets at all, you can remove the sidebar in the Layout section of the customizer.

    Hope this helps ??

    Thread Starter Squirrel99

    (@squirrel99)

    Thanks Tom. Yes, the Meta Box has disappeared when I added in new widgets.

    Issue resolved.

    Thank you very much for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Remove Archives and Meta From Right Sidebar?’ is closed to new replies.