Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #116557
    Jabibjib
    Participant

    my errors are as belows:
    1) missing author and updated – (in details, these errors are from the 3 column articles below. Google ‘d like to have author and updated for each article in this page)
    2) missing author –

    I have tried many times to paste the code in single.php or page.php or content-xx.php but these could not solve.

    Thank you very much in advance.
    Ranchana

    #116563
    Mahesh
    Participant

    @jabibjib: Generally, the structured data are used on in Posts mostly rather than in Pages. And the author in pages, not everybody wants to show it. So as per you necessity, you can customize the theme as required using child theme and put up the structured data. You can find more details on creating child theme HERE.
    On you child theme’s content-page.php, add the following line after <h1> within <header>
    <?php clean_journal_entry_meta(); ?>
    If you are not familiar with programming, I recommend you to hire a customizer.

    On the other hand, you can use the Plugins for the same.
    https://wordpress.org/plugins/wp-seo-structured-data-schema/

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘how to fix Google structured data errors : missing author and updated’ is closed to new replies.