MB for Yoast SEO setup

Support General MB for Yoast SEO setup

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3869
    markmark
    Participant

    Hello Anh, I have set up Meta Box and use your MB Builder, taxonomy and custom post type extensions. I have installed MB for Yoast SEO, but can't find where to insert the code: 'add_to_wpseo_analysis' => true

    Please can you tell me which file I need to modify, and its folder location? I assume it is somewhere in one of the Meta-Box plugin folders, but have looked and can't identify which is the right one.

    #3877
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    That line is added to the field parameters when you use code to define meta boxes. Please follow this documentation to know how to do that. And in the array of field parameters, simply add 'add_to_wpseo_analysis' => true.

    PS: I see you purchased MB Builder extension. If you want to add the field to the Yoast SEO analysis, in the field configuration panel, click the Show Advanced link, then click Add Custom Attribute button, and enter the param to the inputs like in this screenshot.

    http://prntscr.com/c740wj

    #3886
    markmark
    Participant

    Thanks Anh, I have now set up the field config using MB Builder as this is how I have set up my custom fields.

    MB for Yoast is activated, but unfortunately does not work (latest version of Yoast SEO 3.4.2). Please can you advise?

    Note that it also has caused an error with images in widgets when previewing pages (although these seem to work okay on the live site).

    #3936
    markmark
    Participant

    Hi Anh,
    MB for Yoast does not work - please can you advise the status of this?
    Thanks,
    Mark

    #3941
    Anh TranAnh Tran
    Keymaster

    I've just updated the plugin with fix for this. Please try it.

    #3952
    markmark
    Participant

    Hi Anh, I have tried this and it still doesn't work. Any other ideas?

    It would also be good to see documentation to setup MB for Yoast for MB Builder users, so the field entry details are clear.

    #3969
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    Please add custom attributes to text or textarea field like this:

    http://prntscr.com/cce6jw

    It works in my case. Can you please try again?

    #3977
    markmark
    Participant

    Hi Anh,

    I have tested this and it works if I create a new Meta Box, but it does not work for existing Meta Boxes within Custom Post Types. How can I make my existing Meta Boxes be "seen" by Yoast?

    Mark

    #3987
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    I made a screencast http://take.ms/rshlfx, can you please take a look? It just works for me for both new and existing posts.

    #4000
    markmark
    Participant

    Hi Anh, problem solved! I was following your instructions correctly, but to get the Yoast plugin to "see" the meta box contents I had to remove the attribute settings on the existing fields, save the meta box, then add the attribute info again, and re-save. I also had to go into each existing record, and update it for the Yoast result to appear correctly.
    Thank you,
    Mark

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘MB for Yoast SEO setup’ is closed to new replies.