Skip Navigation

[Resolved] Ability of Yoast to scan ToolSet Types Custom fields such as WYSIWYG editor

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 3.52 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 6 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#613622
Skjermbilde 2018-02-07 kl. 08.33.36.png

Hello,

I have been searching for a while, and I can`t find a solution for this problem. However, I find the solution for ACF, but not for WP-Types: hidden link

Please see attachment, translated it means that my text has 0 words. So it does not scan my content.

Here is the same problem.
hidden link

Do you have a solution for this now?

#613766

Hi, in version 3.0 the Yoast developers removed a WordPress filter that made it very easy to include custom field contents in the Yoast content scan. Since then, they published this JavaScript library that can be used to extend their content scan:
hidden link

Unfortunately I do not have any example code you can use to integrate this with Types. You would have to write some type of plugin that extracts the custom field values in PHP and integrates them with JavaScript. If you want to access any custom field created by Types, you can find that information in the postmeta table under the key name "wpcf-" + your field slug. So if your field slug is "summary-wysiwyg" then the key in postmeta is "wpcf-summary-wysiwyg". I will be glad to offer any assistance to retrieve custom post field values from the database, but passing those values into Yoast is beyond the scope of the support we provide here in the forums. A skilled developer may be able to assist, and you can connect with one at our contractors portal: https://toolset.com/contractors

Let me know how you would like to proceed.