• greyBoston

    (@apollofletshqip)


    Can someone please help asap? For any post I publish when I click on it and go on the post screen I see this info – post by xxxx, published xxx, updated xxx.
    I want to remove the update information. I checked settings everywhere and couldn’t find where to remove it.

    Can you please let me know how to do this? It is an annoying, unnecessary info.

    Thank you so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Please share URL of your website.

    Thread Starter greyBoston

    (@apollofletshqip)

    apollofletshqip.com
    Thanks!

    Thanks for sharing the URL. Please go to Appearance > Customize > Additional CSS and put this:

    .post-byline { 
       display: none;
    }

    Let me know if this works!

    Thread Starter greyBoston

    (@apollofletshqip)

    thanks so much for looking into this. It did work but it did more than what I was looking for. It removed the whole line “by… published… updated…” and I only wanted to remove ‘updated’ . Can you please take another look at it? Thank you so much!

    Looking at the I am afraid there is no one-line solution for this. The generated markup for this section is like this:

    "updated"
    <time class="updated" datetime="September 15, 2017">September 15, 2017</time>,

    As you can see the text “updated” is not inside any element and hence you cannot access it using CSS selectors directly!

    There are two options to do this: (1) by using JavaScript or (2) by modifying your HTML markup.

    The preferred solution for me however is to modify your HTML markup.

    The file responsible to output the byline is located at
    /wp-content/themes/hueman/parts/single-author-date.php

    Go to line number 14 and wrap the entire line inside an <i> element so that the line reads:

    <i>&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></i>

    Now again go to Appearance > Customise > Additional CSS and simply add the following rule (make sure to first remove the previous CSS code you added already):

    .post-byline i { display: none; }

    I hope this would do the trick! Let me know if this works.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘remove status update information’ is closed to new replies.