Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1136626
    michaelxxx
    Participant

    Hi,

    I added your fix in my X child functions.php

    /* Fix "Missing Author" and "Missing Updated" issue - START */
    add_filter( 'the_content', 'custom_author_code');
    
    function custom_author_code($content) {
       if (is_singular() || is_single()) {
          return $content .
          '<div class="hatom-extra"><span class="title">'. get_the_title() .'</span> was last modified: <span class="updated"> '. get_the_modified_time('F jS, Y') .'</span> by <span class="author vcard"><span class="fn">'. get_the_author() .'</span></span></div>' ;
       } else {
          return $content;
       }
    }
    /* Fix "Missing Author" and "Missing Updated" issue - END */

    Google Webmaster displays: missing author and updated on tag pages and also 30 elements with errors?

    I will send you the testing link in a private reply.

    #1136631
    michaelxxx
    Participant
    This reply has been marked as private.
    #1137095
    Lely
    Moderator

    Hello There,

    When I visit those link there’s no more error. Maybe you check to early and it’s not generating yet? Please see attached screenshots.

  • <script> jQuery(function($){ $("#no-reply-1136626 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>