Support » Plugin: Add Posts to Pages » Clashes with another plugin NextGen Flex Slider

  • Resolved ajcke

    (@emerinea)


    On a page I use the shortcode [nggallery id=2 template=”sliderview”] for the plugin Responsive NextGEN Flex Slider Template. When I add [add_posts category=Elementary show=5] underneath the slider shortcode both the slider and posts display on the page. When I add full=false (or full=false) and edit Add Posts to Pages shortcode to [add_posts category=Elementary show=5 full=false] The posts display on the page, but the slider does not. Instead of displaying the slider the shortcode text for the slider displays on the page.

    http://wordpress.org/plugins/add-posts-to-pages/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter ajcke

    (@emerinea)

    Actually it’s breaking the nextgen gallery plugin. I thought it was only affecting the slider. Using the shortcode [ nggallery id=2 ] behaves the same way.

    Plugin Author Arsham Mirshah

    (@arshammirshah)

    Hi ajcke,

    Please try NOT including the (full=false) on the add_posts shortcode. By default, it is automatically false 🙂

    If that doesn’t fix it.. allow me to understand:

    Taking the [add_posts] short code off of that page fixes NextGEN?

    Could you set up a couple pages for me to review.. then send me the links?

    • Page with just nextGEN gallery
    • Page with just add_posts
    • Page with both, with add_posts on top
    • Page with both, with nextGEN on top

    I can’t think of a reason why this would fail.. other than styling issues.

    Thread Starter ajcke

    (@emerinea)

    I’m trying to narrow down the issue. Hopefully this helps. There was a space in the nextgen shortcode after [ and before ]. I deleted this space. The following urls now display correctly. Once I add the code full=true it breaks. See URLs 5-7 below.

    Page with just nextGEN gallery (does work)
    shortcode used:
    [nggallery id=2]
    http://hn.k12.oh.us/test2/page-with-just-nextgen-gallery

    Page with just add_posts (does work)
    shortcode used: [add_posts category=Elementary show=5]
    http://hn.k12.oh.us/test2/page-with-just-add_posts/

    Page with both, with add_posts on top (does work)
    shortcode used:
    [add_posts category=Elementary show=5]
    [nggallery id=2]
    http://hn.k12.oh.us/test2/page-with-both-with-add_posts-on-top/

    Page with both, with nextGEN on top (does work)
    shortcode used:
    [nggallery id=2]
    [add_posts category=Elementary show=5]
    http://hn.k12.oh.us/test2/page-with-both-with-nextgen-on-top/

    Page with just add_posts full (does work)
    [add_posts category=Elementary show=5 full=true]
    http://hn.k12.oh.us/test2/page-with-just-add_posts-full/

    Page with both, with add_posts on top full (doesn’t work)
    [add_posts category=Elementary show=5 full=true]
    [nggallery id=2]
    http://hn.k12.oh.us/test2/page-with-both-with-add_posts-on-top-full/

    Page with both, with nextGEN on top full (doesn’t work)
    [nggallery id=2]
    [add_posts category=Elementary show=5 full=true]
    http://hn.k12.oh.us/test2/page-with-both-with-nextgen-on-top-full/

    Plugin Author Arsham Mirshah

    (@arshammirshah)

    NICE! Thanks for narrowing it down..
    So it’s when you go full=true that it breaks, huh?

    I’m looking into this for you… Might be later this evening for me to find and deploy a fix.

    THANKS again!

    Thread Starter ajcke

    (@emerinea)

    Yes that’s true.

    The theme also has a shortcode for posts that breaks when both nextgen gallery and the theme post shortcode exist on the same page. Here is a page that displays this. http://hn.k12.oh.us/test2/elementary/announcements/
    Shortcode:
    [nggallery id=2 template=”sliderview”]
    [title size=”large”]News & Announcements[/title][posts number=”5″ order=”date” category=”7″]

    Thread Starter ajcke

    (@emerinea)

    Any luck? I just tested this out on another wordpress install. The same thing occurs. When a nextgen gallery and add post to pages (full=true) shortcode exist on the same page it breaks the nextgen gallery plugin.

    Plugin Author Arsham Mirshah

    (@arshammirshah)

    Hey there – I updated to version 1.3.
    Try installing that and let me know if it works.

    Thread Starter ajcke

    (@emerinea)

    I upgraded to 1.3, but get the same results.

    Maybe I could try another gallery slider plugin. Any recommendations?. All I’m trying to do here is display gallery images in a slider. I really like NextGen (lots of features) and the FlexSlider addon for NextGen (responsive and looks nice) and of course it’s free.

    Another option is to create a custom page template and code the posts.

    Plugin Author Arsham Mirshah

    (@arshammirshah)

    Bah – are you using the latest NextGen gallery?

    You can also use WordPress’ built in gallery — not sure if it uses a slider, but I know it exists 🙂

    Let me try it on my side ajcke — I’ll see if I can’t debug this bad boy.

    Thread Starter ajcke

    (@emerinea)

    Yes. Latest NextGen 2.0.40.

    Plugin Author Arsham Mirshah

    (@arshammirshah)

    FIXED IT (92% sure)!
    Please update your plugin & let me know.

    If it works, would you mind rating the plugin?

    Thread Starter ajcke

    (@emerinea)

    You da man! You can be 100% sure! What did you change specifically? I just wrote over the old version and didn’t compare.

    Thread Starter ajcke

    (@emerinea)

    I found an older version. You changed line 74
    $content = apply_filters(‘the_content’, $content);
    to
    $content = wpautop($content);
    nice work!

    Plugin Author Arsham Mirshah

    (@arshammirshah)

    Woohoo! Yeah I was running too many filters.
    Thanks for your help!!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Clashes with another plugin NextGen Flex Slider’ is closed to new replies.