Support » Plugin: Nice Likes » “Exclude by ID” Doesn’t Work

  • I wanted my likes to show up on my blog page, so I checked the box in the settings to do so, however, this also adds a like function to my home page. I figured I’d be able to exclude this page with the page ID considering there’s a section for it in the plugin settings, but this doesn’t appear to work. My homepage ID is 1886, but that doesn’t remove the like function from the page. I’ve tried this with other pages as well and came up with the same conclusion. Has anyone else gotten the “Exclude by ID” function to work?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Juanfra Aldasoro

    (@juanfra)

    Hi,

    Thank you for writing. Unfortunately, that’s not possible to do right now. Perhaps what you can do is creating a function that check if the page ID is the one that you need, and then deregister the function where the likes are taking place.

    Best,
    J.

    Unfortunately the “Exclude by ID” function does not work with regular pages or posts for me either. So the like function is also shown for pages and posts that I excluded. Otherwise it’s a nice plugin!

    Yes, unfortunately it does not work with me to hide the pages.

    • This reply was modified 1 year, 1 month ago by  furuba.

    Have a solution. You can hide it by Css.
    CCs code in the customizer:

    .page-id-1829 .nice-likes,
    .page-id-757 .nice-likes,
    .page-id-962 .nice-likes {
    display: none;
    }

    Replace ID numbers with your ID pages

    • This reply was modified 1 year, 1 month ago by  furuba.
    • This reply was modified 1 year, 1 month ago by  furuba.

    But maybe you should fix the problem in the plugin that it is otherwise possible.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“Exclude by ID” Doesn’t Work’ is closed to new replies.