Need Help With A Line Of PHP
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:
Portfolio | Boldy by Site5.com
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>
<a href="<?php echo get_thumb_urlfull() ?>
So all I would need to do is wrap my first image with:
<a href="mywebsite.com/any-file.mov"></a>
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 :confused:
-
DEaFeYe Banned{{ DiscussionBoard.errors[5053324].message }}-
snowcloud -
Thanks
{{ DiscussionBoard.errors[5054012].message }} -
-
-
snowcloud -
Thanks
{{ DiscussionBoard.errors[5054665].message }} -
-
andrejvasso -
[ 1 ] Thanks
{{ DiscussionBoard.errors[5055399].message }} -
-
snowcloud -
Thanks
{{ DiscussionBoard.errors[5112768].message }} -
-
Iain Key -
Thanks
{{ DiscussionBoard.errors[5113188].message }} -