Skip Navigation

[Resolved] Types create multiple instances of Jetpack Sharing Buttons

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by williamS-7 8 years ago.

Assisted by: Luo Yang.

Author
Posts
#455316
Screenshot 2016-11-09 11.40.07.png
FREIE WIRTSCHAFTSFÖRDERUNG Frank Basten.png

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.

#455617

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.

#455722

Hooray, the suppress_filters parameter worked out very well! Thank you!

The forum ‘Types Community Support’ is closed to new topics and replies.