• Resolved Brugtown

    (@brugtown)


    Hi,

    Is there a way to remove the “Updated” Date that appears under a post heading? I’d prefer to list only the original publication date on most posts.

    Thank you,
    – Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Chris.
    Two options:

    1. Disable Customize > Global Settings > Performance and SEO > Use Structured Data Markup

    2. Copy /parts/single-author-date.php from the parent theme to the same path in your child theme. Then, in the ‘structured-data’ section, remove this part of the code:

    & middot; <?php _e('Updated', 'hueman'); ?> <time class="updated" datetime="<?php the_modified_date( get_option('date_format') ); ?>"><?php the_modified_date( get_option('date_format') ); ?></time>

    Hi,

    I was writing a solution with CSS when I saw it was already answered. (The CSS way was not the perfect solution anyway as it was leaving a trailing dot).

    Thread Starter Brugtown

    (@brugtown)

    Option 1 worked just fine for me.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Removed "Post Updated" Date from Heading’ is closed to new replies.