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

by 1 replies
1
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
#programming #description #link #page #php #replacing
  • $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>';

Next Topics on Trending Feed

  • 1

    $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.