Support » Plugin: Async Social Sharing » Disable or enable on specific pages

Viewing 1 replies (of 1 total)
  • I’d like to do this from the user back-end as well. Unfortunately, it seems that almost all social sharing plugins have choices of either “pages” or “posts” and nothing else.

    I suggest using a little css editing to achieve what you want (appearance > editor > stylesheet.css):

    .home .async-wrapper {display:none}
    will hide the sharing container on the home page


    .async-wrapper {display:none}
    .home .async-wrapper {display:block}
    will hide the container on every page, except those that you list.

    Each page you have is assigned a unique class in it’s body section. You can find the class name in the body tag. Examples are .home, .blog, .page-id-19.

    Btw, I don’t think display:none will stop the sharing buttons from loading though. But, they’ll load last, so it won’t be too much of a burden on the perceived load time.


Viewing 1 replies (of 1 total)
  • The topic ‘Disable or enable on specific pages’ is closed to new replies.