I made a photo page/post using your portfolio template (example Porfolio 2). If I direct someone from another page to that post, the "View Gallery" is gone. Can you add the Piclens "View Gallery" to the single-porfolio.php file or tell me how to do it.
Single-Porfolio Recommendation
(4 posts) (2 voices)-
Posted 2 years ago #
-
I played with single-portfolio.php and portfolio.php and made a photo-gallery.php that does exactly what I want it to do.... That is, put the "View Gallery" on the post page... And it works... Thanks for all your help!
Posted 2 years ago # -
How do you enter "View Gallery" the manual way (with html)? Or does the page require some script?
Shortcode would be sweet...
Posted 2 years ago # -
add these lines (before if (have_posts)):
?><script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script>
<script type="text/javascript">function gallery(gid) {
PicLensLite.start({feedUrl:'<?php bloginfo('wpurl'); ?>/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid='+gid+'&mode=gallery'});}</script><?phpand use such a url:
href="javascript:gallery(1);"where the number passed is the album id. can't help you more with this, if you can't get it to work hire a coder.
Posted 2 years ago #
Reply
You must log in to post.