Shortcodes
Social Networks Shortcode
Written by
oxypteros
Code
{{< social LIMIT="17" >}}
Overview
Renders a minimal list of social network links with icons for major platforms.
Usage
- The shortcode will render the menu sc_socialdefined in your site’s configuration file (config/_default/menus.toml).
- You can limit the number of entries shown using the optional LIMITparameter.
- For more details, refer to the social menu documentation.
Parameters Reference
- LIMIT
- LIMIT="5"— (integer, optional)
- The number of items to display from the sc_socialmenu.
Error Codes
- liva-sc-220
- Unrecognized parameter detected.
- liva-sc-221
- Invalid number or non integer value.
- liva-sc-228
- Menu sc_socialis not defined.