Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #83897

    Right now when I post, you see the post date. When I edit also, you also see the edited date– as in, “January 24, 2016January 27, 2016” (and yes, it doesn’t give a space between them).

    Can I get rid of the edited date?

    #83928
    Mahesh
    Participant

    Hi @americaontwowheels,

    Where actually are you seeing this? Only published date are displaying in our server. Please post in your site url.

    Regards,
    Mahesh

    #84012
    #84025
    Mahesh
    Participant

    Hi @americaontwowheels,

    Have you made any changes to the core CSS files? Edited date is not displaying in our server. You are using Catch Base Pro 3.1, latest version availabe is Catch Base Pro 3.2. Please update your theme. Let me know if the problem persists.

    Regards,
    Mahesh

    #84111

    In catchbase-core.php, I’ve found a few references to “updated” regarding entry time. Do I need to modify any of these?
    Or tell me where else to look in this file, or another…

    if ( ! function_exists( ‘catchbase_entry_meta’ ) ) :
    /**
    * Prints HTML with meta information for the current post-date/time and author.
    *
    * @since Catch Base 1.0
    */
    function catchbase_entry_meta() {
    echo ‘<p class=”entry-meta”>’;

    $time_string = ‘<time class=”entry-date published updated” datetime=”%1$s”>%2$s</time>’;

    if ( get_the_time( ‘U’ ) !== get_the_modified_time( ‘U’ ) ) {
    $time_string = ‘<time class=”entry-date published” datetime=”%1$s”>%2$s</time><time class=”updated” datetime=”%3$s”>%4$s</time>’;
    }

    $time_string = sprintf( $time_string,
    esc_attr( get_the_date( ‘c’ ) ),
    esc_html( get_the_date() ),
    esc_attr( get_the_modified_date( ‘c’ ) ),
    esc_html( get_the_modified_date() )
    );

    #84477

    Hi Mahesh,

    I’m using 3.2, and I still get edited date next to posted date (http://americaontwowheels.bike). What must I modify to eliminate edited date?

    #84518
    Mahesh
    Participant

    Hi @americaontwowheels,

    Sorry for the late reply. Just checked your site, you are using Catch Base Pro 3.1. and in your theme’s style.css following lines are missing, that is why edited date is being displayed.

    .byline,
    .updated:not(.published) {
    	display: none;
    }
    
    .single .byline,
    .group-blog .byline {
    	display: inline;
    }

    Either add the above styles in “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box or child theme’s style.css OR update your theme to version 3.2.

    Regards,
    Mahesh

    #84582

    Thanks. That worked. (I thought I was running the latest version, since WordPress didn’t signal an update. But then I did the manual importation process, and that updated it.)

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Show JUST post date, NOT also edited date?’ is closed to new replies.