Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author redpixelstudios

    (@redpixelstudios)

    You are quite welcome.

    We looked at the differences between version 1.0.7 and 1.0.9 to see what could be causing the issue. We were unable to locate any significant change in the method used to retrieve the content that would cause the issue that you described.

    As you are likely aware, any shortcodes within the content are executed before it is included on another page, but the scope of what is retrieved is limited to $post->post_content or $post->post_excerpt, depending on the shortcode “content” argument.

    We did replace the wpautop function that was being run on the content with “the_content” filter, but that does not seem to be the culprit.

    If it is not too much trouble, could you disable all plugins except RPS Include Content 1.0.9, update the page containing the rps-include shortcode and see if the problem persists? If it works you would just need to activate plugins until you find the conflict. Let us know.

    Plugin Author redpixelstudios

    (@redpixelstudios)

    Have you had a chance to look further into this issue? Please provide an update at your convenience.

    Thread Starter iMil

    (@imil)

    Hi,

    sorry I haven’t been very helpful these days, for you to know, I “fixed” (ugly fix) the issue by replacing:

    $the_content = $the_title . do_shortcode( apply_filters( ‘the_co
    ntent’, $the_article ) );

    with

    $the_content = $the_title . do_shortcode( $the_article );

    I know that sucks a lot…

    The main problem is that whenever a plugin is activated, it will be re-included as apply_filter() is called before inclusion.

    Plugin Author redpixelstudios

    (@redpixelstudios)

    No worries at all. We will look into the issue further. It is possible that applying ‘the_content’ filter instead of simply passing the content along is causing the problem you are seeing. Thank you for following up with us.

    Plugin Author redpixelstudios

    (@redpixelstudios)

    We believe that version 1.0.10 should resolve the issue. It would seem that removing the_content filter is the approach that needs to be followed because of the way in which shortcodes are processed. Thanks for your feedback. Though we have marked this post as resolved let us know if you run into additional problems.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: RPS Include Content] 1.0.9 includes content but also plugins and widgets’ is closed to new replies.