Share buttons on the post page

Hello Justin, the code I shared does automatically pull the current URL. I wouldn’t be able to explain why it isn’t doing that for you. I would ask Cathy, she’s the Ghost forum expert on matters that are above most of our heads.

Including both the site and all blog posts, then allow users to delete any they do not use. I’ve spent hours on trying to add these and may end up spending another our now, in part because there isn’t video with instruction either.

@The_Jetsetter_Cheap Per instruction, I’ve created a snippet for social media icons, but - like Zavrod - see only black circles when attempting to share. After reading the additional guidance, I’m unclear on how to fix this issue. Thoughts? Sharing the URL to the post with this snippet - What's New with NiT? 🤔

@cary, are you loading the icons? I think that’s what you’re missing.

Add this:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-..." crossorigin="anonymous" />

To your code injection head. (either site wide or on any page you want the sharing to work)

2 Likes

@Cathy_Sarisky, it’s working. Thank you! :slightly_smiling_face:

2 Likes

Justin I am not seeing that I ever shared this, but addtoany.com is the only email sharing functionality I’ve ever found to work. Unfortunately you do have to provide the target url, but I just keep this page always up with my settings i already have set and it’s good to go.

I publish a blog post with the other share functions I published above without sending by email, then copy that post and then use this solution for email only. It’s not perfect solution, bc twice the work but only one I have found for email functionality. (be sure to select no script)
I’m hoping one day the team at Ghost will surprise us with built in functionality.
Screen Shot 2023-12-20 at 9.52.54 PM