• Resolved Waqas

    (@waqaslone)


    Hi,

    I’m trying to insert Related posts within my post’s content (centre) but for some reason I’m not able to. I have tried 3 different sets of PHP codes which all work perfect if I try it with any other php function but it never works with function rp4wp_children();

    It always displays related posts before the post content. I have also tried to disable and remove the filter for after post content append (rp4wp_append_content) but it still doesn’t work. Looks like there is another filter that’s conflicting with my content insertion filter.

    Any idea on how to insert related posts within the post content?

    Regards,
    Waqas

Viewing 1 replies (of 1 total)
  • Plugin Author Barry Kooij

    (@barrykooij)

    Hey there,

    If you’re trying to display related posts within the content with our template function, you should set the plugin to not output the content. So do something like this:
    rp4wp_children( get_the_ID(), false )

    Kind Regards,
    Barry Kooij

Viewing 1 replies (of 1 total)
  • The topic ‘Inserting Related Posts within Post content’ is closed to new replies.