WPIntell

Source evidence

Using other Gallery Styles

Advanced Custom Fields: NextGEN Gallery Field add-on · support · 2015-09-30T14:53:00+00:00

complaintsentiment
mediumseverity
0.69relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 22 rows with source links

22.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

17 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
rpfisterer unresolved
Is there a way to use other NextGEN Gallery styles like masonry and other with this plugin? https://wordpress.org/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/ I found a work around. When you are outputting the foreach in the example instead of: echo nggShowGallery( $nextgen_gallery_id['ngg_id']); //NextGEN Gallery gallery replace this with a shortcode for the gallery style you need and then run do_shortcode: $galleryID = $nextgen_gallery_id['ngg_id']; $galleryShortcode = '[ngg_images gallery_ids="' . $galleryID . '" display_type="photocrati-nextgen_pro_masonry" override_thumbnail_settings="1" size="390" images_per_page="20" spacing="10"]'; echo do_shortcode($galleryShortcode); This will output a NextGen Gallery in the Plus/Pro Masonary style. I include some thumbnail sizing and other attributes that you might find useful. Obviously hard coding these style options will mean all galleries will be the same. If you want more control you would need to create custom fields for each property you want to vary and build this into your shortcode.

Comments

1 shown
davidxbo 2016-01-23T21:55:00+00:00

I found a work around. When you are outputting the foreach in the example instead of: echo nggShowGallery( $nextgen_gallery_id['ngg_id']); //NextGEN Gallery gallery replace this with a shortcode for the gallery style you need and then run do_shortcode: $galleryID = $nextgen_gallery_id['ngg_id']; $galleryShortcode = '[ngg_images gallery_ids="' . $galleryID . '" display_type="photocrati-nextgen_pro_masonry" override_thumbnail_settings="1" size="390" images_per_page="20" spacing="10"]'; echo do_shortcode($galleryShortcode); This will output a NextGen Gallery in the Plus/Pro Masonary style. I include some thumbnail sizing and other attributes that you might find useful. Obviously hard coding these style options will mean all galleries will be the same. If you want more control you would need to create custom fields for each property you want to vary and build this into your shortcode.