Add a Facebook Like Button to Your Website
To add a Facebook Like button to your website, follow these simple steps:
For Version 7.1 Sites:
- Generate the Facebook Like Button Code:
- Visit Facebook's Like Button Configurator
- Customize your button settings
- Copy both code snippets provided
- Add the SDK Code:
- Go to your Squarespace site's Code Injection panel
- Paste the Javascript SDK code in the Header field
- Save changes
- Place the Like Button:
- Open the page where you want the button
- Add a Code Block at desired location
- Paste the Like button code
- Preview to verify appearance
For Blog-Specific Like Buttons:
- Navigate to Blog Settings:
- Open Pages panel
- Access Blog Page settings
- Go to Advanced tab
- Customize the Code:
- Paste Like button code in Blog Post Item Code Injection
- Replace site URL with {permalink}
- Save changes
When logged in, the button may not display due to security measures. View your site while logged out or in incognito mode to see the button.
Important Notes:
- Disable existing Facebook share buttons before adding custom ones (Version 7.0)
- Code customization may affect mobile responsiveness
- Button appearance varies by template
- Regular updates might impact functionality
- Test across different devices and browsers
Version 7.0 users should consider using built-in sharing buttons instead of custom code for better compatibility and support.
The Facebook Like button allows visitors to share your content directly to their Facebook news feeds, increasing your content's visibility and reach.