Replacing the description with a link to a page? (PHP)

1 replies
$credits = '<p id="copyright"><span class="credits fl-r"> Copyright © - AwesomeGeekStuff.com All rights reserved. </a></span> <a href="'. home_url() .'">'. get_bloginfo( 'name' ) .'</a><br /><small>'. get_bloginfo( 'description' ) .'</small></p>';
I want to change the "get_bloginfo( 'description' )" to a hyperlinked text to a page on my blog. Anyone who know how I can do this? I've tried to replace the "get_bloginfo( 'description' )" with HTML, but it won't work.


Thanks,

Jimmy
#description #link #page #php #replacing
  • Profile picture of the author scottlpool2003
    $credits = '<p id="copyright"><span class="credits fl-r"> Copyright © - AwesomeGeekStuff.com All rights reserved. </a></span> <a href="http://www.yournewlink.com">Your New Link</a><br /><small>'. get_bloginfo( 'description' ) .'</small></p>';
    {{ DiscussionBoard.errors[7442743].message }}

Trending Topics