Viewing 4 replies - 1 through 4 (of 4 total)
  • If not already yet, create a child theme
    http://codex.wordpress.org/Child_Themes

    Make sure you got your childtheme activated, and running properly.

    In functions.php of your child theme, put this

    add_action( 'loop_start', 'mytheme_remove_meta' );
    
    function mytheme_remove_meta() {
    	if ( is_single() )
    		add_filter('get_the_time', '__return_false');
    }
    Thread Starter ArwenUndomiel

    (@arwenundomiel)

    I put it but nothing happened, the time part is still there… :/

    I got this running in my local dev and it works for me.

    Helena

    (@dhp238nyuedu)

    I found a way to get rid of the date using the dashboard –> general settings.

    Just select “custom” time format, but leave the box blank. This did the trick for me.

    Good luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove time from entry-meta’ is closed to new replies.