Change Meta Widget Information - What Code Do I Change ?

Want to change your meta info contained in a Wordpress sidebar widget?

screen shot of meta widget in sidebar

If you are trying to edit the meta data that appear in the sidebar of your Wordpress blog., i.e to add nofollow tags, remove link entirely, add link find this code (or similar) in widget.php file- in your /includes folder.
For detailed info see Edit Meta Widget in Wordpress post.

function wp_widget_meta($args) {
  extract($args);
  $options = get_option('widget_meta');
  $title = empty($options['title']) ? __('Meta') : $options['title'];
?>
    <?php echo $before_widget; ?>
      <?php echo $before_title . $title . $after_title; ?>
      <ul>
      <?php wp_register(); ?>
      <li><?php wp_loginout(); ?></li>
      <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>
      <li><a href="http://wordpress.org/" title="<?php echo attribute_escape(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>">WordPress.org</a></li>
      <?php wp_meta(); ?>
      </ul>
    <?php echo $after_widget; ?>
<?php

Did You Like This Post? Share with Your Favorite Social Media! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Sphinn
  • del.icio.us
  • Digg
  • Technorati
  • De.lirio.us
  • Reddit
  • Smarking
  • YahooMyWeb
  • Netscape
  • Slashdot
  • StumbleUpon

Read Other Related Blogging and Web Marketing Posts

    Editing a Widget- Changing the Meta Widget in Wordpress
      Misuse of the Term “Bleeding Page Rank”
        Daily Top 10 Posts Plugin- Show More Than 10 Posts
          A 301 Re-Direct for Wordpress Blog- Moving Your Wordpress Blog To a New Domain
            Missed Opportunity: Why Are Your Blog Posts Being Made by “admin” ?

            One Response to “Change Meta Widget Information - What Code Do I Change ?”

            1. [...] on tutorials from Widgetizing Plugins, Lisa Stewart, and especially Hrw website; here is my first plugin for WordPress: Meta-Lite Widget for your [...]

            Discussion Area - Leave a Comment




            dofollow directory logo