WordPress.org

Forums

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

  1. jbro
    Member
    Posted 1 year 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 1 year 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"

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polaroid Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.