Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author phoenixMagoo

    (@phoenixmagoo)

    Hey there! There isn’t an easy way to exclude galleries yet. I plan on having an exclude feature at some point in the future. However, right now you would have to manually edit the plugin code.

    Do you happen to know the page ID for the page you do not want the masonry gallery plugin to fire?

    Thread Starter krievinshj

    (@krievinshj)

    Thanks for your reply.
    Yes I know ID for the page I don’t want masonry style to apply:ID 24
    Thanks
    Janis

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    In the plugin folder, find the functions directory, then open up three-dot-nine.php

    Change lines 22 and 86 from:

    if( has_shortcode( $post->post_content, 'gallery') ) {

    to:

    if( !is_page(24) and has_shortcode( $post->post_content, 'gallery') ) {

    That should do it! Let me know how it goes.

    Thread Starter krievinshj

    (@krievinshj)

    Thanks a lot.
    Solved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude some galleries’ is closed to new replies.