Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Header.php edits are not showing up in page source

Discussion in 'Misc WordPress Requests' started by viosllc, Mar 24, 2018.

  1. viosllc

    Guest

    Reply To: Header.php edits are not showing up in page source, by viosllc

    I was told to put this code above </head> so that my video schema in my “custom fields” would be recognized by Google. This is the code that I is missing in the page source.

    <?php
    $schemamarkup = get_post_meta(get_the_ID(), ‘schemamarkup’, true);
    if(!empty($schemamarkup)) {
    echo $schemamarkup;
    }

    Reply To: Header.php edits are not showing up in page source
     
    #1

Share This Page

Monarch Social Sharing Plugin