coresocial-share-inline
Description
This shortcode will display the inline-based share block, using default settings in Settings -> Inline, and all settings can be overridden with the shortcode attributes.
Definition
[coresocial-share-inline /]
Arguments
Name
Type
Description
Default
item
string
Type of item to share (‘post’, ‘term’, ‘custom’).
”
item_id
int|string
Real/Actual ID of the item (post_id, term_id).
”
title
string
Title for the page to be used in share content.
”
url
string
URL to share.
”
image
string
Image URL related to the post, required for some networks.
”
networks
string[]
List of networks to show. Default list depends on global plugin settings.
[]
layout
string
Profile buttons layout (‘icon’, ‘left’, ‘right’).
‘left’
align
string
Buttons alignment (‘left’, ‘right’, ‘center’, ‘none’, ‘justify’).
‘center’
color
string
Button color scheme (‘fill’ and ‘plain’).
‘fill’
styling
string
Button style (‘normal’, ’round’ and ’rounded’).
‘normal’
rounded
int
Rounded style button radius.
4
Examples
Basic Settings
[coresocial-share-inline]
Basic settings, some layout changes.
[coresocial-share-inline layout="icon" styling="rounded" rounded="8"]