• Resolved johanna2patricia

    (@johanna2patricia)


    Hi everybody,
    This is a great plugin and it worked fine until now.
    On certain posts I have included a menu through this code:
    [rps-include page=9088 filter=true]
    It refers to a page with a menu that I created.
    Now I notice, that on those posts the Add to Any Buttons are displayed twice below each other.
    I didn’t check the add to any option in the screen options in the admin, but I understand from the faq that the Add to Any buttons will be displayed on any post and page.
    That is probably why I get them twice.
    How can I get rid of one of those Add to Any Buttons?
    I already asked the question at the Add to Any Buttons support forum, but they don’t answer.
    Here is a post where you can see the Add to Any Buttons displayed twice, at the bottom of the post: https://www.tina-turner.nl/blog/tina-turner-berlin-january-2009/

    Johanna

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

    (@redpixelstudios)

    Hello Johanna. It sounds like the Add to Any plugin is using the_content filter, which is also in use by RPS Include Content. Try setting the filter value in the shortcode to “false”, which should exclude the sharing buttons on the included content. There is the possibility that the included content will lose other formatting as well since the filter is not applied. Let us know what you discover.

    Thread Starter johanna2patricia

    (@johanna2patricia)

    Hi redpixelstudios,
    Yes that solved the problem of displaying those buttons twice. Thank you.
    But as you mentioned, the content lost its formatting.
    What can I do to solve that? I am not that good in css.
    You can see what happened here: https://www.tina-turner.nl/blog/you-were-there/

    Johanna

    Plugin Author redpixelstudios

    (@redpixelstudios)

    Understood. We have modified RPS Include Content and released a new version (1.1.7) that should address the issue. Instead of running the included post through the_content filter, we are now using the individual functions involved in filtering the content. The approach will avoid content duplication when other plugins, such as those generating sharing buttons, are used. Let us know if you find any other issues and we will do our best to resolve them. Happy new year!

    Thread Starter johanna2patricia

    (@johanna2patricia)

    Thanks a lot! Works like a charm.
    Happy New year to you too!

    Johanna

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sharing buttons displayed twice’ is closed to new replies.