WordPress.org

Ready to get started?Download WordPress

Forums

Polaroid Gallery
Polaroid only on one page? (2 posts)

  1. jbro
    Member
    Posted 5 months ago #

    Hi, is it possible to have the polaroid gallery only on one page, and leave styling of other galleries to my style sheet and a rel attribute in the functions.php file?

    Thanks

    https://wordpress.org/plugins/polaroid-gallery/

  2. lustek
    Member
    Posted 5 months ago #

    I installed this plugin today and wanted to do the same. in polaroid_gallery.php in line 224 add this code:

    if (!$attr['type'] == 'polaroid') {
    	// returning nothing will make gallery_shortcode take over
    	return '';
    	}

    this way polaroid gallery will be used only if you add in the shortcode this attribute: type="polaroid"

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.