Using the traditional shortcodes to add the share buttons in the content (or theme) has the following major cons:
- A change in the style is required to open the template or theme file and modify the shortcode. That is even more annoying if you have used it several times.
- If you decide to temporarily stop the display you should edit the template or theme files.
- The shortcode can be limited in supported options.
The custom display function is made to solve those problems at once. You can create a custom display that can be embedded anywhere using function call, shortcode, Elementor widget, Block Editor element. This custom display goes automatically in the positions menu. This means that you can stop or activate it as you do for other methods. And you have all granular controls for design optimizations.
All custom displays you add will appear automatically in the list of share button positions (group Additional).