WordPress.org

Forums

ShareThis: Share Buttons and Social Analytics
Remove ShareThis from specifix category posts (6 posts)

  1. Schalk Joubert
    Member
    Posted 1 year ago #

    Hi,

    I have some posts thgat is only for members, and the are all in one specific category.

    I like to remove the share this from the excerpt as well as the single post for the member posts only.

    I add this code to not display the sharethis buttons, but the issue is now that it leaves an open space, which i can't get rid of...

    Anything else I can try?

    Many thankx

    Schalk

    .category-1192 .stButton { display: none; }
    .category-1192 .st_facebook_buttons { display: none !important; }
    .category-1192 .post .st_facebook_buttons { display: none !important; }
    .category-1192 .stButton .stFb,
    .category-1192 .stButton .stTwbutton,
    .category-1192 .stButton .stMainServices { display: none !important; }
    .category-1192 .st_plusone_buttons,
    .category-1192 .st_fblike_buttons { display: none !important;

    https://wordpress.org/plugins/share-this/

  2. Schalk Joubert
    Member
    Posted 1 year ago #

    Hi,

    Further to my question above, some more detail:
    http://www.moonstone.co.za/category/compliance-and-legislation/#sthash.dFZY63DK.dpbs

    This is a category page from where I would like to remove the sharethis.
    Note, I only want to remove the sharethis from categories that will be private.

    I can remove the sharethis by doing the above, BUT
    The
    and the space stays there...

    Screenshot:
    https://www.evernote.com/shard/s289/sh/2f997087-8cef-4edf-b6a2-e567dc92561d/1cdcbc1b658ef4c874e3bb7137f29d80

    Hope you can help.

    Regards and thanks

  3. Schalk Joubert
    Member
    Posted 1 year ago #

    Hi,

    This is my own fault, I added the code manually in my post template, as I only wanted the share this to show in posts.
    ( this was before the page option )

    However, now that I removed it from my template, it doesn't show up at all...

  4. sharethissupport
    Member
    Posted 1 year ago #

    In the ShareThis WP Plugin, right now the option to remove the buttons from certain posts is not available, only from pages is available. We may implement this feature in our upcoming Plugin updates.
    As we can check your website, it seems that you have removed the plugin. Please check and let us know.

  5. Schalk Joubert
    Member
    Posted 1 year ago #

    Hi,

    I actually still have the plugin active, but since last upgrade the share this buttons disappeared.

    I deleted and and downloaded a fresh copy of Share This, no luck.
    I then saw this post, and un-commented the 2 lines, still no luck...

    http://wordpress.org/support/topic/sharethis-not-showing-after-update-please-help?replies=5

    Any advise?

  6. sharethissupport
    Member
    Posted 1 year ago #

    As we can check your website code, it seems that you have commented the ShareThis Span tag code and hence buttons are not showing-up.
    Here is a screenshot - http://screencast.com/t/8ndfTLx4

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ShareThis: Share Buttons and Social Analytics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic