Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter soclueless

    (@soclueless)

    Also I should note I do have the box checked under the settings for keeping the shortcode columns.

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    It makes sense that this happening. I’m actually planning on adding a section in the options page in the next release to disable the plugin on specific page or post IDs. However, until then you could try something like the following example:

    1. Get the post or page ID
    2. In the plugin folder, find init.php and open it up with a text editor
    3. Change lines 107 and 145 from:
      if( has_shortcode( $post->post_content, 'gallery') ) {
      to:
      if( (has_shortcode( $post->post_content, 'gallery')) and (!is_page(YOUR PAGE ID) ) ) {

    Just put the page id where i wrote in YOUR PAGE ID.

    Hope this helps!

    Thread Starter soclueless

    (@soclueless)

    Awesome, that *kinda* worked! For some reason the !is_post declaration wasn’t working for me (maybe because they’re custom post types created through another plugin) … but it worked to use if($post->ID== MY PAGE ID)

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘1 Column gallery not working correctly?’ is closed to new replies.