• Hi, I am optimizing my site and in Google PageSpeed I get the following error:

    <footer class="entry-meta" aria-label="Entry meta">

    How can I fix it?
    What is the purpose of this “footer class”?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    That’s for the footer meta. Do you have them disabled?

    Try adding this PHP snippet:

    add_action( 'wp', function() {
      remove_action( 'generate_after_entry_content', 'generate_footer_meta' );
    } );

    Thread Starter juanwp22

    (@juanwp22)

    What would the footer meta be for?

    Check this is my site: https://tinyurl.com/4myhfuc2

    Hi there,

    the footer entry-meta is where your post meta is displayed beneath a post eg. Categories, Tags , Post Links.

    The error from google only appears if you hide all those meta items leaving that footer element empty.

    Thread Starter juanwp22

    (@juanwp22)

    I understand. So you are referring to this for example where in one post you see tags but in another post you don’t see tags. If I activate the categories should not appear this error?

    Leo

    (@leohsiang)

    If I activate the categories should not appear this error?

    I believe so but you can simply give it a try.

    The free theme doesn’t have the option to hide the footer meta though.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘footer class entry meta (Help)’ is closed to new replies.