prettyphoto parameters in [fancy_images] shortcode mod for Infocus

resolved (6 posts) (2 voices)

  1. joryuto

    I am using the modified shortcode to have a simple fancy_image gallery at the end of some pages. My only problem is that I'd like to make the social buttons to disappear. I tried to modify the shortcode.php but it just gives this error message: Parse error: syntax error, unexpected T_STRING in /home/drbokorl/public_html/wp-content/themes/infocus/lib/functions/shortcode.php on line 38.

    Here is what I tried to do. I added this at line 38 of the updated shortcode.php

    jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({social_tools: false});

    Posted 3 years ago #
  2. Elliott

    Hello joryuto,

    You are trying to get rid of the social icons within prettyPhoto correct? Try the solution in this thread,, and let us know if that works for you.

    Posted 3 years ago #
  3. joryuto

    O yesss, it works :):)

    thank you for your help :)

    Another thing...

    In a fancy_images gallery can I specify the title for every image? Or just for individual images and this way they won't work as gallery?

    Posted 3 years ago #
  4. Elliott

    If your using the inFocus shortcode then you should be able to do it like this,

    [fancy_images title = 'filename1.jpg,filename2.jpg,This is a caption,And here is another']

    See this thread for more info,

    Posted 3 years ago #
  5. joryuto

    I tried this, and it works right.

    Is there no possibility to have captions under the thumbnail images from the main page? I cannot use the portfolio option because I need the sidebar. I've seen that in awake the captions are working with fancy images...

    Posted 3 years ago #
  6. Elliott

    I'm not sure at the moment but I believe we have this as a feature in the next update. We are nearing completion so it would be best just to wait a bit.

    Let us know if you have any other questions joryuto.

    Posted 3 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme