Support » Plugin: WooCommerce » Remove social share buttons

  • Resolved Garry Rigby

    (@indigojones66)


    How do I remove social share buttons from all WooCommerce pages?
    (i.e. share this page with facebook, twitter etc – below product prescription)

    Thanks in advane

    • This topic was modified 5 years, 10 months ago by Jan Dembowski.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • WooCommerce doesn’t provide social buttons. They will be coming from either your theme or one of your plugins. To find out which, temporarily deactivate all other plugins and switch to a default theme, then reactivate your normal theme and other plugins one-by-one and check.

    Thread Starter Garry Rigby

    (@indigojones66)

    Hi. Yeah I know; It is one of my social share plugins (Custom Share Buttons with Floating Sidebar) but it only allows me to deactivate on either pages or posts. I have deactivated them on pages, but I need them on my posts and woocommerce seems to come under the category of posts

    Unfortunately the plugin author does not give us a filter to be able to remove product posts from the selection, so I think you’ll need to let the buttons generate, then hide them with some custom css:

    .single-product #socialButtonOnPage {
     display: none;
    }

    Custom css can be entered at Appearance > Customize > Additional CSS.

    Thread Starter Garry Rigby

    (@indigojones66)

    ha ha… lorro
    Thanks so much that worked a treat.
    happy holidays
    regards
    garry

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove social share buttons’ is closed to new replies.