Skip to main content
All CollectionsFAQEditor
How to create a "Share" button
How to create a "Share" button

How to create a button that can share content to a social media website

Studio Support avatar
Written by Studio Support
Updated over 2 months ago

How to Add a "Share This Article" Button in Studio

In Studio, you can obtain the URL of the currently displayed page using a variable called $url. By utilizing this variable, you can enable visitors to easily share the current page on social media platforms like X (formerly Twitter) and Facebook with just one click.

Detailed Steps for Adding a Share Button

For instructions on how to set up a share button for X (Twitter), please refer to the guide on installing an X share button.

スクリーンショット:Xのシェアボタンを配置する様子。

For Facebook, use the following URL:

Facebook:

https://www.facebook.com/sharer/sharer.php?u=[Insert the URL of the page you want to share here]

Share Button Templates

The editor provides part templates for X and Facebook share buttons. You can add these from the embed menu in the add panel. These buttons can be freely customized in terms of design.

Social Media Sharing with Twitter and Facebook

By following these steps, you can enhance your page's interactivity and encourage visitors to share your content seamlessly across social media platforms.

スクリーンショット:シェアボタンのテンプレートを配置する様子。

ツイッター ツイート ソーシャルメディアシェア

Did this answer your question?