Support » Themes and Templates » How do I remove a few things from my template?

Viewing 13 replies - 1 through 13 (of 13 total)
  • dremeda


    Sucuri Wizard

    All of these areas are contained in your theme files. Each theme is different.

    In your case it looks like these areas are contained in header.php and sidebar.php

    My Login menu is actually the Meta Widget. Is there a way to remove the “Entries RSS/Comments RSS/” from my Login (Meta) widget without having to gut the code. If not, where in my sidebar.php code would I remove these 3 things from the Meta widget?

    [Moderated: Too much code – Please add your code to a service like Pastebin then add your link to the post – ]

    For the RSS icon at the top right corner of my site (, where in the header.php would I remove this link?

    [Moderated: Too much code – Please add your code to a service like Pastebin then add your link to the post – ]



    Sucuri Wizard

    Please do not post all of your code in the forum (Forum Welcome), minimal use is acceptable. Please use a service like Pastebin, then paste the link in your post.

    If you’re using a theme that is widget ready, you should be able to go to appearance/widgets and swap out the active widgets.

    As for the RSS feed icon,are you trying to remove the entire icon?

    Okay, I will use Pastebin.

    For Meta/Login widget, If I remove the Meta widget, it removes the login feature, which I want to keep that, just remove the others under the meta widget.

    For RSS, I would much rather move the giant RSS icon to the bottom of my site but, if I can’t, then remove it and add a RSS widget later where I can specify the location.

    i want to remove entire meta widget [not few links] from side bar. I’ve tried: appearance > widgets > dragging them to edit or del but no success. Here’s link to my blog please help me locate where in the php files i can locate the meta links to edit them .. and how to ..

    You should be able to drag them back over to deactivate them. I am having a hard time locating my code as well.

    Link to header.php


    Question about Pastebin? I drop in the code below:

    <iframe src=”” style=”border:none;width:100%”></iframe>

    And if I click on link above and drop it in there:


    I am not seeing the actual link i.e.

    yeah, i drag them back to deactivate, but no success. i think it’s in the php files; i’ll have to change something in the php code, but what .. need help.

    oh … i was looking around .. mm .. i just edited the sidebar.php file, and i am done … for all seeking help to get rid of meta in sidebar; here is what i did.
    appearance > editor > sidebar.php > ctrl+F to find “meta” > edit to remove undesired links > update the file.

    I’ve got a sidebar.php, a r_sidebar.php, and a l_sidebar.php (see code below). I did a search in all and could not find “meta” in any. Code below. I put my meta (Login) in my sidebar2 which is on the right side ( I want to keep the Login function but remove Entries RSS/Comments RSS/

    <?php include(TEMPLATEPATH.”/”); ?>
    <div id=”sidebar”>

    <div class=”ads”>
    <?php include(TEMPLATEPATH.”/ad.php”); //include the ad unit ?>

    <div id=”sidebarwrap”>
    <div id=”popular”>

    • <h2>Popular Articles</h2>

        <?php $my_query = “cat=” . $db_pop_cat . “&showposts=5”; $my_query = new WP_Query($my_query); ?>
        <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>

      • “><?php the_title(); ?>
      • <?php endwhile; ?>

    <div id=”popular-bottom”></div>

    <?php include(TEMPLATEPATH.”/l_sidebar.php”);?>
    <?php include(TEMPLATEPATH.”/r_sidebar.php”);?>
    <div class=”sidebar-bot”></div>

    <!–sidebar.php end–>

    <div id=”l_sidebar”>

      <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>

      <!–recent posts–>

    • <h2>Recent Posts</h2>

        <?php get_archives(‘postbypost’, 10); ?>
    • <!–list of categories, order by name, without children categories, no number of articles per category–>

    • <h2>Topics</h2>

        <?php wp_list_categories(‘orderby=name&title_li’); ?>
    • <?php endif; ?>

    <!–l_sidebar.php end–>

    <div id=”r_sidebar”>

      <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(2) ) : else : ?>

      <!–recent posts–>

    • <h2>Archives</h2>

        <?php wp_get_archives(‘type=monthly’); ?>
    • <!–Blogroll–>

    • <h2>Links</h2>

        <?php get_links(-1, ‘

      • ‘, ‘
      • ‘, ‘ – ‘); ?>

    • <!– Categories –>

    • <h2>Topics</h2>

        <?php wp_list_categories(‘orderby=name&title_li’); ?>
    • <?php endif; ?>

    <!–r_sidebar.php end–>

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How do I remove a few things from my template?’ is closed to new replies.