Skip Navigation

[Resolved] Can I link a custom field with Yoast's noindex field?

This support ticket is created 7 years, 2 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 1 reply, has 2 voices.

Last updated by Minesh 7 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#570905

Hello, I have a custom field, wpcf-archive, that 'archives' certain posts. I use it to filter them out from most search results on site, and would like to also exclude them from my sitemaps. Is there some way of automatically setting Yoasts's custom field, '_yoast_wpseo_meta-robots-noindex' to 1 when 'wpcf-archive' is set to 1? Thank you

#570923

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - there is no such native feature available to set yoast's noindex flaf to 1. Maybe you can try to save the meta key '_yoast_wpseo_meta-robots-noindex' to 1 while you add/edit your post based on your field 'wpcf-archive'.

More info:
=> https://toolset.com/documentation/user-guides/conditional-html-output-in-views/