WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] WordPress SEO - custom fields in title (10 posts)

  1. BAC
    Member
    Posted 2 years ago #

    Wondering if there is anyway to add a custom field value to the title default structure?

    I am geolocating posts and the location is a key, I could get users to add this value manually in the edit screens, but automating this will be way better.

    If anyone has solved this would love to hear about it!

    p.s. no biggy but for the plugin author: if you add %%title%% twice to the default title structure, the rich snippet preview, in post edit screens, only processes the first instance - however the output in the HTML is OK so it does work fine, but thought I should point it out.

    Cheers

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

  2. lucrothe
    Member
    Posted 2 years ago #

    Any luck figuring this out?

  3. spicydesign
    Member
    Posted 2 years ago #

    %%cf_<field name>%%

  4. Agnes
    Member
    Posted 1 year ago #

    I managed to get the custom fields into the metas, but not into the sniuppet preview...
    Cf http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-add-custom-field-reflect-in-snippet-preview?replies=10

  5. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    @spicydesign gave the right answer.

  6. Agnes
    Member
    Posted 1 year ago #

    I have a custom field called 'obect-creator' and then set %%cf_object-creator%% into the template but did not get it to render in the snippet...

    Also, I would like to use my custom taxonomies here (this is for a museum using dublin core taxonomies), that are language, department, etc.
    I managed:
    - adding %%department%% and others in class-config.php (just for info for users) to be used in titles
    - added it and how to get it in wpseo-functions.php
    It does render in my title's and descriptions (that is fine), yet I dont manage to get it shown in the snippet.
    And I have the same problem with %excerpt% by the way, that show in my meta description when inserted, but not in the snippet.
    So I rellay wonder how to touch this snippet preview

  7. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    Don't edit the plugin and expect me to help you fix your stuff.

  8. Agnes
    Member
    Posted 1 year ago #

    Well, I understand that :)

    So my question would be: does it support custom taxonomies, or do you have plans to support custom taxonomies, as you do for custom fields?

    I only edit the plugon because I could not do as much as it does, but need to do what I am trying to do :)

    Thanks for the great plugin... and the support!

  9. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    As I answered in another thread: I'll probably add that at some point but not right now.

  10. Agnes
    Member
    Posted 1 year ago #

    That would be great!
    There is not another SEO plugin I d like to use (I tried them all before), yet I DO want to use custom stuff from WordPress and to make it sharp, I need it in the meta tags :)
    Thanks, Agnes

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic