Viewing 4 replies - 1 through 4 (of 4 total)
  • najumi

    (@najumi)

    me too..

    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.

    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="https://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="https://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
                 <li><a href="https://www.ads-software.com/" 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…

    Hey, this wont work in WP 2.9

    Here is a link to a tutorial: https://kthxbai2u.com/archives/56

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘editing meta links’ is closed to new replies.