Title: sidebar edit-php help please
Last modified: August 18, 2016

---

# sidebar edit-php help please

 *  Resolved [arkan](https://wordpress.org/support/users/arkan/)
 * (@arkan)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/sidebar-edit-php-help-please/)
 * Hello y`all, I’d like some help with the mistylook-101 theme. I’m in the process
   of modifying the theme so I’d really appreciate your help (my blog’s adress is
   [http://arkan.yeahost.com/](http://arkan.yeahost.com/)) on this issue:
 * I want to remove the “page” and the “meta” section from the sidebar (just deleting
   them from sidebar.php doesn’t seem to help).
 * In addition to that, I’ve seen that this theme has some display problem with 
   IE 7 (the sidebar is shown under the posts in the main page when browsing with
   IE).
 * Again, please lend me a hand 🙂
    Greetings!

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

 *  [peiqinglong](https://wordpress.org/support/users/peiqinglong/)
 * (@peiqinglong)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/sidebar-edit-php-help-please/#post-550645)
 * Open up sidebar.php and delete the sections on page and meta.
 *  Thread Starter [arkan](https://wordpress.org/support/users/arkan/)
 * (@arkan)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/sidebar-edit-php-help-please/#post-550647)
 * well, this is the code I removed and the sidebar just just disappeared:
 * <li class=”sidebox”>
    <h2><?php _e(‘Pages’); ?></h2>
    - <?php wp_list_pages(‘title_li=’ ); ?>
 * <?php if(is_home()) { mistylook_ShowLinks(); ?>
    <li class=”sidebox”> <h2><?php
   _e(‘Meta’); ?></h2>
    -  <?php wp_register(); ?>
    - <?php wp_loginout(); ?>
    - [Valid XHTML](http://validator.w3.org/check/referer)
    - [XFN](http://gmpg.org/xfn/)
    - [WordPress](http://wordpress.org/)
    -  <?php wp_meta(); ?>
 * <?php }?>
    <?php endif; ?>
 * (sorry for the long post, I’m a noob tryin` to understand PHP 🙂
 *  [peiqinglong](https://wordpress.org/support/users/peiqinglong/)
 * (@peiqinglong)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/sidebar-edit-php-help-please/#post-550656)
 * That doesn’t look like the complete sidebar.
 * `<h2><?php _e('Pages'); ?></h2>` = display title as Pages (delete this line)
   `
   <?php wp_list_pages('title_li=' ); ?>` = show the list of pages and wrap the 
   pages in `<li>` (delete this line) `<?php if(is_home()) { mistylook_ShowLinks();?
   >` = if on the Home page, display the mistylook links (don’t want to delete this)`
   <h2><?php _e('Meta'); ?></h2>` = display title as Meta (delete this line) `<?
   php wp_register(); ?>` = Show links: Login and Register (delete this line) `<?
   php wp_loginout(); ?>` = Give logged in user a way to log out (delete this line)`
   <?php wp_meta(); ?>` = I don’t remember what this function calls…
 *     ```
       <?php }?>
       <?php endif; ?>
       ```
   
 *  = leave these in.
 *  Thread Starter [arkan](https://wordpress.org/support/users/arkan/)
 * (@arkan)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/sidebar-edit-php-help-please/#post-550730)
 * It indeed worked 🙂
    Thank you very much mate, I owe you a beer 🙂
 *  [peiqinglong](https://wordpress.org/support/users/peiqinglong/)
 * (@peiqinglong)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/sidebar-edit-php-help-please/#post-550831)
 * Glad to be of help.

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

The topic ‘sidebar edit-php help please’ is closed to new replies.

## Tags

 * [MistyLook](https://wordpress.org/support/topic-tag/mistylook/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 5 replies
 * 2 participants
 * Last reply from: [peiqinglong](https://wordpress.org/support/users/peiqinglong/)
 * Last activity: [19 years, 1 month ago](https://wordpress.org/support/topic/sidebar-edit-php-help-please/#post-550831)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
