Title: [Theme: Tiny Framework] remove article updated date
Last modified: August 31, 2016

---

# [Theme: Tiny Framework] remove article updated date

 *  Resolved [hirtos](https://wordpress.org/support/users/hirtos/)
 * (@hirtos)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/theme-tiny-framework-remove-article-updated-date/)
 * Hello,
 * I want to remove date modified right below the article title.
 * I have the following code but don’t know how to update it:
 *     ```
       if ( in_array( get_post_type(), array( 'post', 'attachment' ) ) ) {
       		$time_string = '<time class="entry-date published updated" datetime="%1$s" itemprop="datePublished">%2$s</time>';
   
       		if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
       			$time_string = '<time class="entry-date published" datetime="%1$s" itemprop="datePublished">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
       		}
   
       		$time_string = sprintf( $time_string,
       			esc_attr( get_the_date( 'c' ) ),
       			get_the_date(),
       			esc_attr( get_the_modified_date( 'c' ) ),
       			get_the_modified_date()
       		);
   
       		printf( '<span class="posted-on"><span class="screen-reader-text">%1$s </span><a href="%2$s" rel="bookmark">%3$s</a></span>',
       			esc_html_x( 'Published on', 'Used before publish date.', 'tinyframework' ),
       			esc_url( get_permalink() ),
       			$time_string
       		);
       ```
   
 * Can you please help me with that?

Viewing 1 replies (of 1 total)

 *  Thread Starter [hirtos](https://wordpress.org/support/users/hirtos/)
 * (@hirtos)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/theme-tiny-framework-remove-article-updated-date/#post-7198358)
 * I’ve found the answer.
 * In style.css I find this piece of code:
 *     ```
       .updated:not(.published) {
       	display: block;
       }
       ```
   
 * and change it like this **display: none;**

Viewing 1 replies (of 1 total)

The topic ‘[Theme: Tiny Framework] remove article updated date’ is closed to new
replies.

## Tags

 * [remove](https://wordpress.org/support/topic-tag/remove/)
 * [time](https://wordpress.org/support/topic-tag/time/)
 * [updated](https://wordpress.org/support/topic-tag/updated/)

 * 1 reply
 * 1 participant
 * Last reply from: [hirtos](https://wordpress.org/support/users/hirtos/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/theme-tiny-framework-remove-article-updated-date/#post-7198358)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
