1

I'm trying to figure out how to move the Schema.org markup that Yoast outputs to the bottom of the head.

The only filter I've been able to find only removes the :

add_filter( 'wpseo_json_ld_output', '__return_false' );

3
  • I don't have specific guidance, but your best bet is probably changing their hook's priority to something higher
    – Chris Haas
    Commented Mar 18 at 14:33
  • @ChrisHaas Thanks for the tip. Are you suggesting I used something like this: add_action( 'wp_head', 'wpseo_json_ld_output', 999); Commented Mar 19 at 10:10
  • No, I think you need to find the level that Yoast is hooking at and change theirs
    – Chris Haas
    Commented Mar 19 at 11:53

0

Browse other questions tagged or ask your own question.