Adding code to the Header.php using this Plugin
-
I would like to add the below code using this plugin so it is called by the Header.php.
How do I add it correctly?
<?php
$noindex = get_post_meta($post->ID, ‘noindex-post’, true);if ($noindex) {
echo ‘<meta name=”robots” content=”noindex,nofollow” />’;
}
?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Adding code to the Header.php using this Plugin’ is closed to new replies.