Dynamic Social Media Share Buttons for Webflow CMS Blogposts

2022-01-29
, most recent update.

Dynamic Tweet Button for Weblfow CMS Blogposts

Add a Twitter button to your blogposts with tweet content generated from Webflow CMS

## Functionality to share on Social Media

### add Link Blocks

add a Link Block for Twitter

add a custom attribute in LinkBlock settings

share-tw="1"

Name: share-tw

Value: 1

add a link block for LinkedIn

add a custom attribute in LinkBlock settings

share-in="1"

Name: share-in

Value: 1

### style both as needed

### add code to before closing Body tag

Use the dynamic “Add Field” to replace [TWEET-TEXT] and [SLUG] in above code with the value of your "TOC generated from" CMS field.

Read next in DOCU

Add Copy-able Code Blocks to Webflow CMS

Uses highlight.js and custom code to add code blocks where you can copy the code to rich text element of Webflow CMS

Read next in DOCU

Calculate Read Time from Webflow CMS

Calculated a read time from Webflow CMS and add to your blog template.

Read next in DOCU

Dynamic Social Media Share Buttons for Webflow CMS Blogposts

Add a Twitter button and a share on LinkedIn to your blogposts with sharing content generated from Webflow CMS

Read next in DOCU

Dynamically Generated ToC with Webflow CMS

Generating ToC’s based on h2 and h3 headings of a rich text CMS element with active states in a sticky Table of Contents

Hej. I am on Twitter, too.

Connect with me on Twitter and LinkedIn.