WordPress.org

Support

Support » Themes and Templates » [Resolved] sidebar edit-php help please

[Resolved] 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/) 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)
  • Open up sidebar.php and delete the sections on page and meta.

    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 }?>
    <?php endif; ?>

    (sorry for the long post, I’m a noob tryin` to understand PHP 🙂

    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.

    It indeed worked 🙂
    Thank you very much mate, I owe you a beer 🙂

    Glad to be of help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] sidebar edit-php help please’ is closed to new replies.
Skip to toolbar