How you guys doin.. I need a little help with a line of php for my website.
Here is what Im tryn to do.
I am using this theme that has a portoflio page setup for a category that you select. Here is the theme's example:
The category is "Portfolio" and you can see that Portfolio Item1,2,3... are the seperate posts
When you click on the images (which are the set featured images for those posts) they zoom out to a nice floating image platform that is showing you the full size of that image.
I want to be able to link that image to a video or any sort of embed item or file of my choice not just the url of the picture.
I am essentially trying to have those pictures link to seprate videos that will pop out and float above the page just as you see the images doing.
I know this is possible.
So I narrowed down the line of code that does this in the portfolio.php file of the theme:
<a href="<?php echo get_thumb_urlfull() ?>" rel="prettyPhoto" title="<?php the_title();?>"><?php the_post_thumbnail(); ?></a>
If I read this correctly, this part of the code here is the url that the image links to:
<a href="<?php echo get_thumb_urlfull() ?>
If I change this code to represent the link path of the first image of each post, I could essentially link these pictures to any file I wanted.
So all I would need to do is wrap my first image with:
I just don't know the line of php that would reflect this function or if that floating image box would even allow a movie to be played in it.
If any of you could help me with this it would be greatly, greatly appreciated. I am ok with modifying php but this one is a true stumper for me