Skip Navigation

[Gelöst] Can I link a custom field with Yoast's noindex field?

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

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 7 Jahren, 2 Monaten.

Assistiert von: Minesh.

Author
Artikel
#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

Sprachen: Englisch (English )

Zeitzone: 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/