Forums

editing meta links (4 posts)

  1. lNrOjBl
    Member
    Posted 9 months ago #

    i am a newbie, i want to edit the meta links

    Admin
    * Site Admin
    * Log out
    * Entries RSS
    * Comments RSS
    * WordPress.org

    i want to delete the

    * Entries RSS
    * Comments RSS
    * WordPress.org

    i looked on my sidebar.php file it was not there then i went to the widget.php file then i took out the following codes:

  2. " title="<?php echo attribute_escape(__('Syndicate this site using RSS 2.0')); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?>
  3. " title="<?php echo attribute_escape(__('The latest comments to all posts in RSS')); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?>
  4. ">WordPress.org
  5. but when i returned to my homepage there where no changes its like i never edited anything can someone please help me....

  • najumi
    Member
    Posted 9 months ago #

    me too..

  • apljdi
    Member
    Posted 9 months ago #

    Hi,

    It looks to me like you aren't removing enough code. Take a look at it again. The parts you removed are wrapped in <li>...</li> (list item) tags. You should be removing the whole list item not just bits of it. As it is, you've cut an anchor tag in half so I'm not surprised you are seeing odd behavior. If you are using the same version of WP as I am what you want to cut is this:

    <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php echo attribute_escape(__('Syndicate this site using RSS 2.0')); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php echo attribute_escape(__('The latest comments to all posts in RSS')); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>

    I tested this on my system, by the way, and it worked like a charm.

  • kylescottmcgill
    Member
    Posted 3 weeks ago #

    Alternatively if you wish to remove certain parts or the entire thing, commenting it out is always one of the best options, however if you are trying to hide from the user these links for example the "Admin Login" link this may not be a option.

    If you do not need to hide it, it just means that you maintain some form of the original code there instead of recreating it after deletion. To comment out things in XHTML for people who might not know, it looks like this:

    <!--
            <li class="box-wrap" id="box-meta">
              <div class="box">
               <h2 class="title"><?php _e('Meta','fusion'); ?></h2>
               <div class="inside">
                <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>
                 <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
                 <?php wp_meta(); ?>
                </ul>
               </div>
              </div>
            </li>
    -->

    Hope this helps out...

  • Reply

    You must log in to post.

    About this Topic

    Tags

    No tags yet.