• Resolved diffler

    (@diffler)


    Thanks for an awesome plugin! Switched from MashShare after GDPR and liking it so far!

    I found the don’t show share count when no shares button. Would it be possible to add an option to show share count only if there are atleast X number of shares?

    Another thing – I liked MashShare visually, especially when I was able to extend the share bar through the whole content area. I like your visual styles more, but as I only use Facebook and Twitter (maybe G+ too) the buttons take very small amount of space and look funny. Would I be possible to add option to fill the whole width of page?

    Thanks a lot and keep up the good work!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Thanks for the kind words!

    Here’s a code snippet for removing the total share count if it’s below a minimum amount you specify: https://www.billerickson.net/code/shared-counts-remove-low/

    While writing this, I found a small bug that will likely be fixed in the next release. If you have “Hide Empty Counts” checked and your post has 0 shares, the “0” is removed but the rest of the button still appears, so it just says “Shares”.

    This will be fixed soon, but if you’d like to implement the fix right now you can add the code shown here to your theme’s functions.php file.

    You can definitely customize the styles to better fit your theme. Since you have 4 buttons in there (including the “Total” field), you can add this in Appearance > Customize > Custom CSS to make them fill the space: https://gist.github.com/billerickson/9865e025eb738a3ceb0cb1ebcd4f819f

    Thread Starter diffler

    (@diffler)

    Thanks for being so amazingly quick reply! Sorry for being so slow myself.

    The fixes worked well but sadly I wasn’t able to change the CSS. I tried adding it to my child theme’s style.css and also to the Custom CSS but couldn’t get it to work. Tried with changing the button to block (as I changed them to blocks) and also changing them back to buttons, nothing helped!

    Thread Starter diffler

    (@diffler)

    Uggggh. I’m very sorry. Thank you, this was resolved. I was trying to implement the fix to a different site than the one I had listed here and this is the result. I hope you didn’t waste your time on this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Share count after X shares + visual question’ is closed to new replies.