coresocial-profiles-list

This shortcode will display the block with all the profiles you have defined in the plugin Settings -> Profiles panel.

Attributes

Shortcode has several attributes:

  • show: Show all profiles or some. Supports: ‘all’ and ‘profiles’. Default: ‘all’.
  • layout: Profile buttons layout. Supports: ‘icon’, ‘label’, ‘icon-top’, ‘icon-left’, ‘icon-right’. Default: ‘icon’.
  • align: Buttons alignment inside the block. Supports: ‘center’, ‘left’, ‘right’, ‘justify’, ‘none’. Default: ‘center’.
  • target: Target used for the links. Default: ‘_blank’.
  • rel: Value used for the links REL attribute. Default: ‘noopener’.
  • font-size: Font size for the profile button, in pixels. Default: ’16’.
  • icon-size: Font size used for the icon, in pixels. Default: ’20’.
  • icon_border_radius: Border radius for the buttons. Default: ‘0’.
  • icon_background: Background color of the button. Default: ‘transparent’.
  • icon_text: Text color of the button. Default: ‘inherit’.
  • icon_hover_background: Background color of the button on hover. Default: ‘transparent’.
  • icon_hover_text: Text color of the button on hover. Default: ‘brand’.
  • icon_background_custom: Custom Background color of the button. Default: ‘#FFFFFF’.
  • icon_text_custom: Custom Text color of the button. Default: ‘#000000’.
  • icon_hover_background_custom: Custom Background color of the button on hover. Default: ‘#FFFFFF’.
  • icon_hover_text_custom: Custom Text color of the button on hover. Default: ‘#000000’.
  • profiles: List of id’s of the profiles to show, if the ‘show’ is set to ‘profiles’. Default: ”.
  • block_id: Unique ID to add to the profiles block element. If empty, it will be autogenerated. Default: ”.

Options: ‘icon_background’, ‘icon_text’, ‘icon_hover_background’, ‘icon_hover_text’ can have following values: ‘inherit’, ‘transparent’, ‘brand’, ‘custom’.

Examples

Basic Settings

[coresocial-profiles-list]

Basic settings, different colors and radius

[coresocial-profiles-list icon_border_radius="4px" icon_background="custom" icon_background_custom="#EEDDEE"]
0
0
336
Rate this reference

You are not allowed to rate this post.

Leave a Comment