Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Replacing the description with a link to a page? (PHP) (https://www.warriorforum.com/programming/722791-replacing-description-link-page-php.html)

taskemann 7th December 2012 02:09 AM

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

$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

scottlpool2003 7th December 2012 09:47 AM

Re: Replacing the description with a link to a page? (PHP)
 
$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>';


All times are GMT -6. The time now is 05:56 AM.