Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Sorry for taking so long to get back to you. I’ve never worked with Themify themes before, and I accidently lost the snippet I was writing for you twice.

    This is a limitation of the snippet you are using. Here is a new snippet which will change the date for the articles, comments and widgets to use the date format set in the General Setting admin page.

    function my_custom_date_format( $format ) {
    	return get_option( 'date_format' );
    }
    
    add_filter( 'themify_loop_date', 'my_custom_date_format' );
    add_filter( 'themify_comment_date', 'my_custom_date_format' );
    add_filter( 'themify_filter_widget_date', 'my_custom_date_format' );
    Thread Starter webby1973

    (@webby1973)

    You’re great!
    I did a few tests using differents date formats and now I see them correctly everywhere 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘changing date format in widgets and comments doesn't work’ is closed to new replies.