Overwriting Yoast Schema with Relationship Content

Support MB Relationships Overwriting Yoast Schema with Relationship Content

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43252
    Nick JacobsonNick Jacobson
    Participant

    I am currently working through overwriting the pre-generated Yoast Schema, as I have a custom post type that I'd like to use for post authors. I have built a Meta Box Relationship between this custom post type "Team Members" and standard out-of-the-box posts.

    I know how to overwrite the schema data for yoast, but I can't see anywhere in the documentation where I can simply reference the Post Title for "Team Members" within that relationship.

    I've asked several times for help on this from Meta Box, to no avail.

    #43260
    PeterPeter
    Moderator

    Hello Nick,

    If you can use the PHP code to generate custom schema data for Yoast, you can also follow the documentation to get the related post and output the related title in your code.
    https://docs.metabox.io/extensions/mb-relationships/#getting-connected-items

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.