Jump to content
Sign in to follow this  
stephwise

feature slider image link - new window

Recommended Posts

stephwise

Hi, This is the code that I am using to make the feature image a link: in theme functions.php file: add_action('pagelines_feature_before','whole_link_image'); function whole_link_image(){?> <?php global $post;?> <?php if(get_post_meta($post->ID, 'feature-link-url', true)):?> <?php endif;?> <?php } and in custom css a.whole_image_link { position:absolute; width:100%; height:100%; z-index:9999; left:0; /*Firefox fix*/ } NOW i want to make slide 4 open in a new window. How should I create a blank target for this? website: http://2dineforhouston.com/ Thanks!

Share this post


Link to post
Share on other sites
Jenny
This thread should help: http://www.pagelines.com/forum/discussion/8604/open-feature-link-in-new-window/p1

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×