• I am marking up some WordPress posts using the Google Markup Helper and it gave me code to add to that posts <head> section.

    What is the best way to do this? I added the Schema plugin thinking it would give me a box to paste this output in to each posts but it doesn’t.

Viewing 1 replies (of 1 total)
  • There are plugins that generate it for you, like Yoast does.
    There are plugins that provide a single entry input for the header, but don’t do each page.
    There should be a plugin to detect a custom field on a post and put it into the head section. If not, you can write it! Use other plugins for guidance on how.
    It is pretty simple to add_action( 'wp_head', 'my_function_for_json' );

Viewing 1 replies (of 1 total)
  • The topic ‘Add JSON-LD HTML from Google Markup Helper’ is closed to new replies.