Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1363451
    Phillip
    Participant

    Hi. 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

    #1363797
    Prasant Rai
    Moderator

    Hello 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.

    #1363857
    Phillip
    Participant

    What are the implications of installing and activating a child theme after having set up the parent theme already including adding to Custom CSS?

    #1363919
    Darshana
    Moderator

    Hi 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!

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