Site Origin North
Hi,
I found an issue with SiteOrigin North on my website:
I have been using the Google Search console and get:
“”missing author””, and “”missing updated””.
I tried setting to follow the fixes for vantage by adding back the title, and default layout which resolved the missing title issue, but I found that this code seems to have resolved the issue completely if I add to the end of functions.php:
//add hatom data
function add_suf_hatom_data($content) {
$t = get_the_modified_time(‘F jS, Y’);
$author = get_the_author();
$title = get_the_title();
if (is_home() || is_singular() || is_archive() ) {
$content .= ”.$title.’ was last modified: ‘.$t.’ by ‘.$author.”;
}
return $content;
}
add_filter(‘the_content’, ‘add_suf_hatom_data’);
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Plasma,
We’re including a fix in the next version of North that will remove hentry from pages as it’s present due to a long-standing WordPress bug that basically can’t / won’t be fixed.
The fix you’re currently using isn’t recommended as it miscategorizes pages.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.