Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4572100
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:35:54+00:00 2026-05-21T19:35:54+00:00

Whenever I edit the ‘sidebar.php’ file (in an attempt to strip out the Blogroll

  • 0

Whenever I edit the ‘sidebar.php’ file (in an attempt to strip out the Blogroll & Meta sections of the side bar) the entire site breaks…

<ul>

        <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
            <?php wp_list_bookmarks(); ?>
            <li><h2>Meta</h2>
            <ul>
                <?php wp_register(); ?>
                <li><?php wp_loginout(); ?></li>
                <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
                <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>

                <?php wp_meta(); ?>
            </ul>
            </li>

^^ That’s the bit I’m trying to strip out. Any ideas why it’s coming up as an error page every time I try?

Thanks – Tara

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:35:55+00:00Added an answer on May 21, 2026 at 7:35 pm

    I’ve guessing the removal of this line is the problem:

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    

    You’re probably leaving the closing part of that if statement (which would a } ) on the page and it’s causing a syntax error.

    You’ll either want to remove the entire if statement or just the content inside of it.

    (Thanks to Emil for the edit suggestion)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm editing the functions.php file of a WordPress theme and whenever I edit it,
Whenever I edit files on emacs, it seems a temporary file is created with
Whenever I edit a .config file in Notepad++ (which is an XML file) I
Whenever I use a character set in addition to latin in a text file
Whenever I create a Temporary file in C++ Native WinAPI, the HANDLE returned is
In IE 7 and 8, whenever I want edit or add a row to
Whenever I try to edit the shared properties of my custom web part in
I am quite new to vim and I am trying to edit coffeescript. Whenever
So I am using vim (vi) to edit on command line. Whenever I code
Whenever I tap newButton my app crashes. I am using automatic reference counting. Edit:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.