• Resolved Get Automated

    (@getautomated)


    To further clarify from the Title: If you are already on a page that is considered a “popular post,” it will still be displayed in the Popular Posts widget on the side. Is there a way to disable this? It seems pointless to link to the page that someone is already on, and just causes confusion.

    Please let me know if you need more info or clarification. Thank you!!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @getautomated,

    It would be weird -from a visitor’s perspective- that a popular post link they clicked on on a previous page (eg. the sidebar on your homepage) suddenly disappeared from the popular posts list when they’re viewing that post’s page. That’d be bad UX.

    Anyways, WPP assigns a CSS class called current to the current popular post that you can use to hide it from the popular posts list:

    .wpp-list .current {
        display: none;
    }
    Thread Starter Get Automated

    (@getautomated)

    Hi @hcabrera,

    Thank you for the reply. I tried that CSS but the post of the current page is still appearing. I tried adding !important and it did not make a difference. Am I missing something?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hard to say without seeing some code. Can you please share your site’s URL?

    Thread Starter Get Automated

    (@getautomated)

    Try this page: https://getautomated.net/top-10-ways-to-automate-your-cleaning/

    You’ll see the page is one of the ones listed in WPP on the right side. I currently have the css that you posted above active and will leave it that way for now.

    Plugin Author Hector Cabrera

    (@hcabrera)

    It’s working for me:

    “Hard-refresh” your browser when visiting that URL (ctrl+F5 on Windows, cmd+F5 on MacOS) or use a different browser and you’ll notice that the “Top 10 Ways …” post is no longer being displayed under your popular posts list.

    Thread Starter Get Automated

    (@getautomated)

    Hmm… I tried the hard refresh with no luck. But viewing in a fresh incognito window works! So evidently I can’t see the change while logged in, which isn’t a big deal.

    Thank you so much for the help with this!! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Popular posts displays post of the page that it’s on’ is closed to new replies.