Duplicated YARPP on post
-
Hi,
YARPP appears twice on the post: before the share icons and before the footer. I use pressroom theme. I ask the theme support for this and this is their answer:
—————
This YARPP plugin will add ‘related news’ section everytime the the_content() WP method is triggered.
Now in the Pressroom theme the problem occurs, because single posts are displayed using ‘Single post template’ page, because of that we’re triggering the_content() WP method twice. In that case you can see the ‘related news’ section once before the pagination and the second time before the footer.
It would be necessary to edit the plugin and disable the option to add sections on the_content() method, now in the theme files it would be necessary to include some code from YARPP plugin to show this ‘related news’ section in only one place.
I’m not familiar with this plugin, so I don’t know what is the appropriate code to do this. You would need to contact plugin support and ask for help, maybe there’s a shortcode or simple function PHP function that can do this.
————–You can see an example on this page: https://www.ebizlatam.com/16-terminos-importantes-del-big-data-profesional-ti-saber/
Can you help me with this?
Thanks in advance,
–Jose
- The topic ‘Duplicated YARPP on post’ is closed to new replies.