Tagged: x
-
AuthorPosts
-
September 21, 2016 at 11:56 am #1184975
maheidemParticipantI´ve been battling with these errors for a while, i´ve manage to drop from 80 to 36. Now even with some plugins helping I still get a few errors that I can´t find a way to get rid off.
The interesting part now is that they are all within pages (blog, etc..) as if the tags are missing for the articles within the the blog page (but there are no errors for the blog posts them self).
My site is http://www.drone42.com (using X-Theme 4.4.2)
some of the pages that are accusing error are:
/blog/
/tag/fotos-com-drone/
/author/mmoliveira/and so on.
Could any one shed a light on this?
September 21, 2016 at 12:24 pm #1185038
RahulModeratorHey There,
Thanks for writing in!
Please try to add this code in your child theme’s functions.php. This is a revised version from the other topic. We added the hidden class so that this will not show up at the end of your page.
// 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 hidden"><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; } } // =============================================================================Please let us know if this works out for you.
September 21, 2016 at 2:26 pm #1185268
maheidemParticipantThanks, i´ll try this tonight
September 21, 2016 at 2:28 pm #1185270
Prasant RaiModeratorLet us know how it goes.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1184975 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
