custom fields display tag on hover

  • Author
  • #503293

    I have added custom fields to all my posts and they contain links to thumbnails, What I want to be able to do is on hover display the tag for each post in a div at the top of the page.

    <?php $imgThumb = get_post_meta($post->ID,'img_thumb', true); ?>
    <?php if($imgThumb !=""){ ?>
    <div id="rollover2" style="margin-top:14px;width:300px;height:30px;display:none;">
    <?php the_tags(''); ?>
    " title="<?php the_title(); ?>"><?php echo "<img class='thumb' src='$imgThumb'/>" ?>
    <?php } else { echo ''; } ?>

    Could really do with some help, no one seems to know how to do this.,,,



    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you’ll find help at the forums.

    If you don’t understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.


    sorry wrong support forum

The topic ‘custom fields display tag on hover’ is closed to new replies.