Need help? Check out our Support site, then


custom fields display tag on hover

  1. tarajaneirvine
    Member

    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.

    <br /> <?php $imgThumb = get_post_meta($post->ID,'img_thumb', true); ?><br /> <?php if($imgThumb !=""){ ?><br /> <div id="rollover2" style="margin-top:14px;width:300px;height:30px;display:none;"><br /> <?php the_tags(''); ?><br /> </div><br /> <a>" title="<?php the_title(); ?>"><?php echo "<img class='thumb' src='$imgThumb'/>" ?></a><br /> <?php } else { echo ''; } ?><br />
    Could really do with some help, no one seems to know how to do this.,,,

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

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

    If you don't understand the difference between WordPress.com and WordPress.org, 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.

  3. tarajaneirvine
    Member

  4. tarajaneirvine
    Member

    sorry wrong support forum

Topic Closed

This topic has been closed to new replies.

About this Topic