Support » Theme: Napoli » hatom (markup: microformats.org)

  • Resolved worldless

    (@worldless)



    I have hatom (markup: microformats.org) errors on my google search console with the following errors :

    Missing: updated
    Missing: author
    Missing: entry-title

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    Thanks for using Napoli.

    The theme includes the hatom classes but the date and author are usually not displayed on static pages, therefore a few errors are normal.

    Please also make sure you haven’t deactivated post details in the settings.

    Best,
    Thomas

    worldless

    (@worldless)

    Hi..

    I guess I realized what the problem was. I had commented out $postmeta = napoli_meta_date(); in template-tags.php and maybe that was the reason why. so I decided to remove hentry using the following code in function.php :

    add_filter( 'post_class', 'remove_hentry' );
    function remove_hentry( $class ) {
    	$class = array_diff( $class, array( 'hentry' ) );	
    	return $class;
    }
    Theme Author ThemeZee

    (@themezee)

    Hi there,

    Yes, the date function includes the .updated class, for example.

    Glad you have found a solution with removing the hentry class, that snippet is fine.

    Cheers,
    Thomas

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.