Request a Demo
  • Platform
    • Donations
    • Campaigns
    • Events
    • eCards
    • CRM
  • Features
  • Integrations
  • Support
  • Company
  • Platform
    • Donations
    • Campaigns
    • Events
    • eCards
    • CRM
  • Features
  • Integrations
  • Support
  • Company
Request a Demo

Shortcodes

  • Social Share Widget – Internal Guide

Donations

  • Creating On-Page Donation Forms
  • How to configure a sponsorship opportunity donation form
  • How to setup a variations donation form
  • Overview of Donation Forms on LevCharity

Crowdfunding Campaigns

  • Creating a Crowdfunding Campaign at LevCharity
  • Setting Up Crowdfunding Campaigns
  • Crowdfunding Sign-Up Procedure
  • Creating Crowdfunding Emails on LevCharity Platform
  • Exporting Data for Team Campaigns

Integrations & Settings

  • Setting Up Donation Forms in Plugin
  • Crowdfunding Account Sign-Up Settings

Events

  • Creating Events Using the Events Module
  • Creating and Managing Events in the Back-End System
  • Creating an Event Using the OLD Template in Fundraise
  • Creating and Managing Events Using Single and Multiple Templates
  • Setting Up Emails for Events
  • Exporting Event Data from LevCharity Platform
  • Creating Event Digital Ads

E-Cards

  • Creating E-Cards
  • Managing E-Cards
  • Setting Up E-Card Email Notifications

Fundraising Campaigns

  • Creating a Fundraising Campaign on LevCharity Platform
  • Standard Operating Procedure for Managing Fundraising Campaigns

Configure

  • Setting Up Donation Receipts
  • Adding Sponsorship Equipment Pieces to Your Site

Transactions

  • Managing Transactions in the Admin Back-End
View Categories

Social Share Widget – Internal Guide

2 min read

Use the [ inline-social-share ] shortcode to embed a customizable social sharing widget.

🔧 Shortcode #

[ inline-social-share ]

You can enhance it using several optional attributes:

⚙️ Attributes #

socials (optional) #

Default:
facebook,instagram,whatsapp,tiktok,twitter,linkedin,qr

Usage:
Define which social platforms to display.

Example:

Share:

  • This will only show Instagram and Facebook.
  • Does not affect the “Copy Link” button or the device’s default share modal.
  • Using this will hide the QR modal.

copy (optional) #

Default:
true

Usage:
Show or hide the copy-to-clipboard button.

Example:

Share:


link (optional) #

Default:
(empty)

Usage:
Manually specify the link to be shared.

Example:
[ inline-social-share link="https://levcharity.com/about/" ]

Overrides currentPostLink if both are set.

Preview:

Share:

currentPostLink (optional) #

Default:
true

Usage:
Automatically uses the current page/post URL as the shared link.

Example:

Share:


sharer (optional) #

Default:
true

Usage:
Enables or disables the native device share modal (if available).

Example:

Share:


link_class (optional) #

Usage:
Add custom CSS classes to the “Copy Link” button.


label (optional) #

Default:
Share:

Usage:
Custom label shown before the social buttons.

Example:

Share with your friends


🎨 Customization & Developer Hooks #

🔁 WordPress Filters #

Modify shortcode attributes and UI:
levit_block_social-share-inline_atts
Use this to customize passed attributes, icons, and labels.

Modify the QR code logo:
levit_block_social-share-inline_logo_src

  • Defaults to: Levcharity > Image > Organization Logo
  • Fallback: WordPress Site Icon

QR Code – Main Color (dots):
levit_block_social-share-inline_qr_main_color_force

  • Default: average color of the logo
  • Fallback: Levcharity’s magenta

QR Code – Secondary Color (corners):
levit_block_social-share-inline_qr_secondary_color_force

  • Default: lighter version of average logo color
  • Fallback: Levcharity’s magenta

Sharer – Custom SVG icon for button
levit_block_social-share_sharer_icon

  • Default:

📡 JavaScript Events #

QR Modal Generated:
Event: levit-inline-social-share-qr-generated

  • Triggered on: document.body
  • event.detail.modalWrapper gives you access to the QR modal wrapper element for further customization or styling.
Was this article helpful?
Still not sure? How can we help?

How can we help?

Updated on January 29, 2026
Social Share Widget – Internal GuideSocial Share Widget – Internal Guide
Table of Contents
  • 🔧 Shortcode
  • ⚙️ Attributes
    • socials (optional)
    • copy (optional)
    • link (optional)
    • currentPostLink (optional)
    • sharer (optional)
    • link_class (optional)
    • label (optional)
  • 🎨 Customization & Developer Hooks
    • 🔁 WordPress Filters
    • 📡 JavaScript Events
Join our newsletter

Add your email to stay up to date on features and new releases:

[sibwp_form id=1]
  • Docs
  • Changelog
  • Privacy Policy
  • Terms of Service
  • Cookies Settings
  • Docs
  • Changelog
  • Privacy Policy
  • Terms of Service
  • Cookies Settings