Hi,
I would like to know how to "remove" lightbox function on the portfolio grid.
What I want is when I click on the thumbnail, it send me to the full page like the "Read More" button).
I'm french so I'm sorry if my english isn't good.
Hope my message read clear.
Remove lightbox function on Portfolio Grid ?
(5 posts)
(2 voices)
-
Posted 8 months ago #
-
Hello,
Go to the theme folder and open the file "lib/shortcodes/15-portfolio.php". In lines #241 and #561 you will find this block of code:
$out .= mysite_display_image( array( 'src' => $img[0], 'alt' => '', 'title' => '', 'height' => $height, 'width' => $width, 'class' => 'hover_fade_js', 'link_to' => $link_to, 'link_class' => 'portfolio_img_load', 'prettyphoto' => ( empty( $_post[$id][0] ) ? true : false ), 'group' => $img_group, 'preload' => true ) );Replace it with:
$out .= mysite_display_image( array( 'src' => $img[0], 'alt' => '', 'title' => '', 'height' => $height, 'width' => $width, 'class' => 'hover_fade_js', 'link_to' => get_permalink(), 'link_class' => 'portfolio_img_load', 'prettyphoto' => false, 'group' => $img_group, 'preload' => true ) );Try that and let us know the results.
Posted 8 months ago # -
Thank you very much !
It works perfectly !
It is possible to remove the feature image in the full post ? (but keep it in thumbnail)Posted 8 months ago # -
In the settings field of each post, you will find the option to remove the featured image from the post. Take a look at this guide: http://mysitemyway.com/docs/index.php?title=Post_Options#Disable_Featured_Post_Image
Posted 8 months ago # -
Oh ! Okay.
The name as changed : "Disable Portfolio Fullsize Image "
Thanks a lot !Posted 8 months ago #
Reply
You must log in to post.













