Forums
Home / Themes and Templates / [WordPress] Strange behavior of the footer!
(@robertosalemi)
10 years, 7 months ago
Hello to all! I working on the following website in WordPress: LINK
I would like to customize the footer, so I wrote the following code: echo '<p>© '.date("Y").' <a href="'.bloginfo('url').'" title="'.bloginfo('name').'">'.bloginfo('name').'</a> Club Valverde (CT) - Tutti i diritti riservati</p>';
echo '<p>© '.date("Y").' <a href="'.bloginfo('url').'" title="'.bloginfo('name').'">'.bloginfo('name').'</a> Club Valverde (CT) - Tutti i diritti riservati</p>';
Male bloginfo variables (‘url’) and bloginfo (‘name’) are printed out from the link href …
How come? Strange!
Thank you.
Error found, the string was written as: <? bloginfo echo (‘name’);?>, but the function does not want the echo!
Solved!
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Good work (yay now able to edit my post).
Sigh, can’t edit my post. I didn’t see you resolved it.
🙂