• Forum
  • FAQ
  • Docs
Notice: In order to post a support question you have to have an account and be logged in.
Register  or  Login
  1. Hello, i have 2 posts under services categorie, i added some pictures on it and i would like to work as a gallery, does prettyphoto does that?

    Like a catalogue on the post.

    thanks

    hstns
    1 year ago
  2. Hi,
    what template you use for that category? You would like this to be like work page on our demo?

    Cheers,
    Max.

    Max
    1 year ago
  3. Hey,

    Im using the services.php
    but i want the lightbox on the post only.

    As link, instead of opening the image file, i would like the pop-up gallery, should i install some plugin ?

    hstns
    1 year ago
  4. Hi,
    you have two options there:

    1. to use nextgen gallery plugin which would automatically create gallery for you.

    2. To add images and code yourself. To do this, find this code in single.php file:

    
    <script type="text/javascript" charset="utf-8">
    
    		jQuery(document).ready(function(){
    
    			jQuery(".gallery a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
    
    		});
    
        </script>
    

    and replace with:
    
    <script type="text/javascript" charset="utf-8">
    
    		jQuery(document).ready(function(){
    
    			jQuery(" a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
    
    		});
    
        </script>
    

    Then use this code for each image:
    <a href="IMAGE LINK HERE" title="TITLE HERE" rel="prettyphoto[gal1]"><img width="150" height="150" src="IMAGE LINK HERE" class="attachment-thumbnail" alt="ALT TEXT" title="TITLE"></a>
    

    Cheers,
    Max.

    Max
    1 year ago

Add Reply

You must log in to post.

 

Add a new topic!

Chances are your issue is already answered, but if it’s not, you can always create a new topic.

Add new topic

Search forums

Searching for something specific? Type something and press Enter to search.