WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
using WP-Types custom fields in meta description template (2 posts)

  1. chrismc69
    Member
    Posted 1 year ago #

    I have a custom post type with custom fields created by the wp-types plugin.

    I have a custom field with the name 'wpcf_local_areas_covered' and want the contents of this field to appear by default in the meta description for the post.

    So in the relevant meta description template I have entered %%cf_<wpcf-local-areas-covered>%% but this only outputs %%cf_%% and not the actual field's value.

    I have also used the post title - %%title%%, which is returned as expected.

    Is there a way to make a Types custom field be used in this way?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. aljuk
    Member
    Posted 1 year ago #

    I'd like to know this too. I'm not using Types on my current cpt project, but I do use it often and this will crop up for me soon no doubt.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic