Support » Fixing WordPress » Add the post excerpt into a hover over box

  • I’ve been trying to add a title and excerpt that will appear when the mouse hovers over a thumbnail. The title appears fine, but I’m having trouble adding the excerpt. For some reason it appears below the thumbnail and I have no idea why.

    The code I’m using is::

    <div class="imgteaser">
    <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('feature');?>
    	<!--span class="more">&raquo; More</span-->
    		<span class="desc">
    			<strong> <?php the_title(); the_excerpt() ?> </strong>

    My website address is

    Thank you! Any help would be appreciated. Ben.

  • The topic ‘Add the post excerpt into a hover over box’ is closed to new replies.