This topic is: not resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Alexis Media 4 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32225

    Alexis Media
    Participant
    Post count: 54

    We need to add the ability to allow our authors to edit the yoast seo meta title and meta description field on the frontend. Looking around here I found the ‘meta keys' are:

    _yoast_wpseo_title, _yoast_wpseo_metadesc

    Somehow I believe I am supposed to combine those keys with these instructions and then place the code in my functions file:

    http://docs.wedevs.com/using-action-hook-field/

    So far in the instructions I have gave the action a name “yoast_title”. That's pretty much as far as I got unfortunately. And I know the form id that I'm trying to work with is “4078”. I just don't understand what goes where beyond that.

    Hoping support or some experienced users here can help me with this coding.

    #32267

    Sekander Badsha
    Member
    Post count: 2067

    Hello John,

    If the meta keys are saving data in post_meta table then you can use the meta keys with any custom text field.

    If you go to the form editor, then you will see custom fields section on the right side. Click on text field and right below the title field, you will get to see the meta key field.

    Place the meta key in the field and save and post using that form and text field. And check from the backend if the data got inserted in the right place.

    I apologize for replying in text only. Please give the instructions a try.
    I will test and write a tutorial with proper screenshots, if this works for me.

    #32275

    Alexis Media
    Participant
    Post count: 54

    Thanks, I'll try that.

    Your plugin won't integrate the backend yoast box with focus keyword analysis etc on the front end correct? I can simply save to the same meta fields but nothing beyond that right?

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Front end yoast’ is closed to new replies.