WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mdg33
    Member
    Posted 3 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. chinmoy
    Member
    Posted 3 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. chinmoy
    Member
    Posted 3 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() ),
    			get_the_author()
    		)
    	);
    }

    You can use it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.