Adding Author name in the loop
-
Hey guys,
I needed to add the Author name on the Recent post widget extended module.
I then edited the includes/functions.php file to add :
$html .= '<h3 class="authorname">' . ( the_author() ) . '</h3>';in the loop.That works fine in front office, the author name of the recent posts appears. The problem now is that this same author name also appears outside of the module, directly in the layout container.
Can someone help me to make it desappears ?You can have a look of the bug here : http://octaaave.com/dev/islean/ on top of the contact form.
I am using Gantry framework.
Many thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Adding Author name in the loop’ is closed to new replies.