The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How do I remove the time and date stamps from Twenty 10? (3 posts)

  1. mdg33
    Posted 6 years ago #

    Been all through the templates and none of the previous code for time and date seems to be there.

    Has it been changed?

    How do I remove the date stamps from my posts and blog.

  2. chinmoy29
    Posted 6 years ago #

    Yes. You can change it. It is coming from twentyten_posted_on() function which located in functions.php file. Go to line no 500 at functions.php file and remove the unwanted code.

  3. chinmoy29
    Posted 6 years ago #

    function twentyten_posted_on() {
    	printf( __( '<span class="meta-sep">by</span> %1$s', 'twentyten' ),
    		sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
    			get_author_posts_url( get_the_author_meta( 'ID' ) ),
    			sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),

    You can use it.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.