It’s easy to change it from CreativeWork
to Article
, but in order for Article
to be valid, you would need to add additional markup to your posts.
That’s why we don’t use Article
by default, as that additional markup needs to be added by the user – not the theme.
We can try to fix the main entity error like this:
add_filter( 'generate_article_microdata', function() {
return 'itemtype="https://schema.org/Article" itemprop="mainEntity" itemscope';
} );