• Resolved pierrepineau5

    (@pierrepineau5)


    Hello!

    I’m a recent french user of this great plugin but I’ve a problem with the list of people visible on my website. When I put the list on a article (not a page), I have the Jetpack “related posts” plugin which come in a rich text cell of my table… I don’t understand!!

    Related posts in the plugin

    Thank you for your help!

    Have a nice day ??

    • This topic was modified 7 years, 7 months ago by pierrepineau5. Reason: Adding image
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pierrepineau5

    (@pierrepineau5)

    I don’t find a solution… ??

    Plugin Author xnau webdesign

    (@xnau)

    This is because Jetpack is using the global content filter to add this content to all your posts and pages. Participants Database also uses the global content filter for it’s “rich text” fields so that things like shortcodes will work.

    You have two choices:
    1. In the Participants Database settings, under the advanced tab, set the “Use WordPress Auto Formatting” setting to “WordPress auto paragraphs” so it is no longer using the global content filter.

    2. Use a CSS rule to hide the Jetpack content in your Participants Database single record displays.

    Thread Starter pierrepineau5

    (@pierrepineau5)

    Thanks for your answer !

    I didn’t use CSS but i deleted related posts for the article where Participant Database is used (ID = 821).

    function jetpackme_no_related_posts( $options ) {
        if ( is_single( array( 821 ) ) ) {
            $options['enabled'] = false;
        }
        return $options;
    }
    add_filter( 'jetpack_relatedposts_filter_options', 'jetpackme_no_related_posts' );
    
    Plugin Author xnau webdesign

    (@xnau)

    Great solution!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Related posts by Jetpack’ is closed to new replies.