Skip Navigation

[Resolved] Use Toolset custom fields in RankMath Schema

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 9 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2682423
Screenshot_4.jpg

I have read https://toolset.com/forums/topic/how-to-use-custom-fields-created-with-toolset-as-snippet-variables-in-yoast/
but it does not seem to work (for RankMath).

I have tried both %%cf_wpcf-bereidingswijze%% and %%wpcf-bereidingswijze%%
But as this is a WYSIWYG field, I also tried with %%cf_wpcf-aantal-personen%% which is a single line field.

I have created a CPT for recipes and instead of pasting all the content in the appropriate schema fields, it would be awesome if I could use placeholders for ingredients and instructions so they are pulled from my custom post type fields.

#2682546

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We do not have any official integration with RankMath SEO and they require some extensive custom Javascript code to integrate the third party plugin field like Toolset.

If you search our forum you will find number of related tickets:
- https://toolset.com/forums/topic/rank-math-integration/
- https://toolset.com/forums/topic/toolset-rankmath-seo-integration/

I suggest you can switch to Yoast SEO if possible that works with Toolset otherwise you will have to check with RankMath SEO expert about how you can integrate the Toolset custom field.

#2682841

I can't seem to find the Recipe schema in the free Yoast plugin, maybe it is limited to the paid version?
Is there a way I could use the Elementor HTML widget and insert the Recipe schema in plain html and complete the info with Toolset fields via shortcode? I know I can select Toolset Custom Fields as dynamic data in various Elementor widgets.

{"@context":"hidden link","@graph":......,"description":%%wpcf-bereidingswijze%%

#2682856

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yoast SEO schema settings I can see at:
- Yoast SEO - Settings - Custom Types section on left bar -> select your post type -> Schema section on right side

However - I do not have such experience with Elementor, you may try to use that and it it works you may share your feedback and share the solution here so it may help other users in future.