Footer code for copyright and homepage link wordpress correct

I found this code on Lorrelle site that was incorrect and I commented to correct it but Lorelle didn’t understand what I said , the code was errored and I tried to comment that it was wrong but the site stops embed of code in comments basically

<p><a href="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>">
<?php bloginfo('name'); ?>
</a> is dedicated to blogging about blogging.</p>

Should be

<p><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>">
<?php bloginfo('name'); ?>
</a> is dedicated to blogging about blogging.</p>

As the call for url is bloginfo url not bloginfo name as that is the call for the name of the site

The code you probably are looking for ( if you have edited a scripted footer to remove links) is

<br>Copyright &copy; <?php echo date('Y'); ?> <a href=”<?php bloginfo('url') ?>”><b><?php bloginfo('name'); ?></b></a>. All Rights Reserved.<br><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"> <?php bloginfo('name'); ?> </a> is dedicated to blogging about blogging.<br><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.<br>

It is in the footer below between the ||| markers!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google
  • Yahoo! Buzz
  • TwitThis
  • Live
  • LinkedIn
  • Pownce
  • MySpace

Leave a Reply