WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I remove a few things from my template? (14 posts)

  1. fernandezp27
    Member
    Posted 3 years ago #

    How do I remove the RSS icon at the top right of my page? Also how do I remove the "Entries RSS/Comments RSS/WordPress.org" from my Login (Meta) widget?

    http://www.frankfactor.net

  2. dremeda
    Sucuri Wizard
    Posted 3 years ago #

    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

  3. fernandezp27
    Member
    Posted 3 years ago #

    My Login menu is actually the Meta Widget. Is there a way to remove the "Entries RSS/Comments RSS/WordPress.org" 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 - http://wordpress.pastebin.com ]

  4. fernandezp27
    Member
    Posted 3 years ago #

    For the RSS icon at the top right corner of my site (www.frankfactor.net), 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 - http://wordpress.pastebin.com ]

  5. dremeda
    Sucuri Wizard
    Posted 3 years ago #

    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?

  6. fernandezp27
    Member
    Posted 3 years ago #

    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.

  7. simrn
    Member
    Posted 3 years ago #

    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 http://www.allsmsmessages.com/blog/ please help me locate where in the php files i can locate the meta links to edit them .. and how to ..

  8. fernandezp27
    Member
    Posted 3 years ago #

    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

    </script>">

  9. fernandezp27
    Member
    Posted 3 years ago #

    Question about Pastebin? I drop in the code below:

    <iframe src="http://pastebin.com/embed_iframe.php?i=g7A0FQgA" style="border:none;width:100%"></iframe>

  10. fernandezp27
    Member
    Posted 3 years ago #

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

    </iframe>">

  11. fernandezp27
    Member
    Posted 3 years ago #

    I am not seeing the actual link i.e. http://www.pastebin.com/linknumber.

  12. simrn
    Member
    Posted 3 years ago #

    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.

  13. simrn
    Member
    Posted 3 years ago #

    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.

  14. fernandezp27
    Member
    Posted 3 years ago #

    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 (www.frankfactor.net). I want to keep the Login function but remove Entries RSS/Comments RSS/Wordpress.org.

    <?php include(TEMPLATEPATH."/config.inc.php"); ?>
    <!--sidebar.php-->
    <div id="sidebar">

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

    <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>
    </div>

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

    </div>
    <!--sidebar.php end-->

    <!--l_sidebar.php-->
    <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; ?>

    </div>
    <!--l_sidebar.php end-->

    <!--r_sidebar.php-->
    <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; ?>

    </div>
    <!--r_sidebar.php end-->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.