WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Not Compatible with Gallery Plugin (8 posts)

  1. suntao678
    Member
    Posted 1 year ago #

    I noticed that YARPP was not compatible with Gallery Plugin. Do you have the solution for this?

    Thanks!

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    @suntao678 I haven't heard about any incompatibilities with any Gallery plugin. Can you send me a link to that plugin? What exactly is the incompatibility?

  3. suntao678
    Member
    Posted 1 year ago #

    Michael,

    Thanks for your reply.
    Here is the URL for the plugin.

    http://wordpress.org/extend/plugins/gallery-plugin/

    I am also listing two URLs of my sites below. One without this Gallery shortcode, YARPP works perfectly.

    http://www.bargaindealsdaily.com/electronics/tevevisions/telehook-small-medium-tv-articulated-arm-for-flat-panel-display-10-to-40-screen-support-steel-black-th-1040-vfl-50/

    Here is the one with Gallery shortcode, it didn't show any related posts.

    http://www.bargaindealsdaily.com/one-day-sale/adorama-deal-of-the-day/flashpoint-all-in-one-portable-flatbed-scanner-with-preview-lcd-all-in-one-100/

    Thanks again for your help!

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    I see. Let me look into this. Can you post exactly what shortcode you're adding to your content?

  5. suntao678
    Member
    Posted 1 year ago #

    Here is the shortcode, [print_gllr id=xxx]. "xxx" is the id of the gallery.

    Thanks again!

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    I reproduced this issue... it is very odd... hope I can figure out a fix soon.

  7. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Alright, I've figured out this issue. This is due to the poor design of the Gallery plugin, where in the_content is called within a shortcode, which itself is called through the_content. This interacts poorly with the WordPress filters system, causing certain filters (including YARPP's) to not fire properly.

    I suggest you contact the plugin author and suggest a rewrite of that component. There is literally nothing YARPP can do to circumvent this. :(

  8. suntao678
    Member
    Posted 1 year ago #

    Thanks again for the feedback. I will contact them if they can update the plugin.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.