WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WordPress SEO by Yoast] WordPress SEO – custom fields in title

[Resolved] [Plugin: WordPress SEO by Yoast] WordPress SEO – custom fields in title

  • BAC
    Participant

    @bac-1

    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/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Any luck figuring this out?

    spicydesign
    Member

    @spicydesign

    %%cf_<field name>%%

    Agnes
    Participant

    @agneslesagegmailcom

    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

    Plugin Author Joost de Valk
    Member

    @joostdevalk

    @spicydesign gave the right answer.

    Agnes
    Participant

    @agneslesagegmailcom

    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

    Plugin Author Joost de Valk
    Member

    @joostdevalk

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

    Agnes
    Participant

    @agneslesagegmailcom

    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!

    Plugin Author Joost de Valk
    Member

    @joostdevalk

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

    Agnes
    Participant

    @agneslesagegmailcom

    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] WordPress SEO – custom fields in title’ is closed to new replies.