I have set up a configuration of posts showing up with different custom fields in hidden link
As you can see in the box above, every heading <h5> relates to a custom field. As i activate Jetpack Sharing Buttons, it shows up below the posts, but added three times in the box.
I added the "wrong" instances of Sharing buttons and the code i used to integrate.
Dear William,
I can not duplicate same problem, please check these:
1) deactivate other plugins and switch to wordpress default theme, and test again.
2) If you are using custom WYSIWYG fields, please try add parameter suppress_filters in types function types_render_field(), for example:
types_render_field("my-wysiwyg", array( 'suppress_filters' => 'true'));
and test again.
More help:
https://toolset.com/documentation/customizing-sites-using-php/functions/#wysiwyg
suppress_filters:
'true' | 'false' (default)
If suppress_filters=’true’, all third party (non WordPress) filters hooked into the_content filter will be removed, when retrieving the WYSIWYG content. In certain circumstances, plugins using this filter can add duplicated content to the WYSIWYG content – removing the filters can resolve this problem.
Hooray, the suppress_filters parameter worked out very well! Thank you!