• Resolved michaelrieder

    (@michaelrieder)


    Hi Team

    on my website I have post which are privat, or public password protected.

    How can I hide the buttons in this kind of post?

    Best Regards Michi

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author micropat

    (@micropat)

    Hi Michi,

    You can hide the buttons on password-protected posts with some Additional CSS code:

    .post-password-required .addtoany_content { display: none; }

    AddToAny already doesn’t display share buttons on private posts, but if they’re appearing for some reason you can use this CSS code too:

    .status-private .addtoany_content { display: none; }

    Thread Starter michaelrieder

    (@michaelrieder)

    Great!

    Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide buttons if post is privat’ is closed to new replies.