viosllc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: White Space Above HeaderSo
<div>tags are not allowed in the head section so I inserted the code directly into the page and that did the trick.Forum: Fixing WordPress
In reply to: White Space Above HeaderHi Lisa,
Which code? The schema markup?Forum: Fixing WordPress
In reply to: Header.php edits are not showing up in page sourceThank you
Forum: Fixing WordPress
In reply to: Header.php edits are not showing up in page sourceI figured it out. It was a coding error. Thank you.
Forum: Fixing WordPress
In reply to: Header.php edits are not showing up in page sourceI 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;
}Forum: Fixing WordPress
In reply to: Header.php edits are not showing up in page sourceI didn’t add <!–$schemamarkup is empty–> . I am not sure what this code does.
Forum: Fixing WordPress
In reply to: Header.php edits are not showing up in page sourceYes, I can see
<!–$schemamarkup is empty–></head>
I am not a coder but this is the code I inserted above </head? for schema:
<?php
$schemamarkup = get_post_meta(get_the_ID(), ‘schemamarkup’, true);
if(!empty($schemamarkup)) {
echo $schemamarkup;
}Forum: Fixing WordPress
In reply to: Header.php edits are not showing up in page sourceI checked to make sure the page was not cached.