Displays Twice

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19936
    lightwriter
    lightwriter
    Participant

    A new theme I installed had a conflict with the related posts plugin that I was using. In an effort to find one that works, I purchased, downloaded, and installed RPP. However, it has the same problem, where it is displayed twice following posts. (see screenshot). I would like a refund if possible.

    Attachments:
    You must be logged in to view attached files.
    #19945
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I believe the issue is with the theme, not the plugins in this case. I have run a few tests, and in every case there is a duplicate at the bottom, even if the plugin is set to be displayed at the top. I guess that perhaps the ‘the_content’ filter might be executed on multiple elements on the same page, thus giving the problem for both plugins.
    To bypass the issue, I have made the following changes:
    – I changed the plugin options to display at the top of the article
    – Then used this custom CSS here, to disable the first occurrence:

    div.rpp:first-child {
        display: none !important;
    }

    Now only the first instance should be visible, at the bottom of the blog content.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Related Posts Pro for WordPress Support’ is closed to new topics and replies.