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 Header.php edits are not showing up in page source

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

  1. viosllc

    Guest

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

    The following Header.php edits are not showing up in page source

    </style>
    <meta name=”robots” content=”noodp, noydir”>
    <?php
    $schemamarkup = get_post_meta(get_the_ID(), ‘schemamarkup’, true);
    if(!empty($schemamarkup)) {
    echo $schemamarkup;
    }
    if(empty($schemamarkup)) {
    echo “<!–\$schemamarkup is empty–>”;
    }
    ?>
    </head>

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

Share This Page

Monarch Social Sharing Plugin