Tagged: x
-
AuthorPosts
-
February 8, 2017 at 4:20 pm #1363451
PhillipParticipantHi. I’m getting the following errors in our Google Search Console: http://imgur.com/a/98LiQ
Any way to fix this?
The website url is http://www.churchweb.io
February 8, 2017 at 10:13 pm #1363797
Prasant RaiModeratorHello Phillip,
Thanks for writing in!
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.
After that please add following code in child theme function.php file:
//add hatom data function add_suf_hatom_data($content) { $t = get_the_modified_time('F jS, Y'); $author = get_the_author(); $title = get_the_title(); if (is_home() || is_singular() || is_archive() ) { $content .= '<div class="hatom-extra" style="display:none;visibility:hidden;"><span class="entry-title">'.$title.'</span> was last modified: <span class="updated"> '.$t.'</span> by <span class="author vcard"><span class="fn">'.$author.'</span></span></div>'; } return $content; } add_filter('the_content', 'add_suf_hatom_data');Thanks.
February 8, 2017 at 11:38 pm #1363857
PhillipParticipantWhat are the implications of installing and activating a child theme after having set up the parent theme already including adding to Custom CSS?
February 9, 2017 at 12:51 am #1363919
DarshanaModeratorHi there,
If you have added your custom CSS to your Customizer’s Custom > CSS area, you can still setup a child theme. For safety, you can export your customizer settings and backup.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1363451 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
