Support » Theme: Vortex » Remove time from entry-meta

Viewing 4 replies - 1 through 4 (of 4 total)
  • paulwpxp


    Font hero

    If not already yet, create a child theme

    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');

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



    Font hero

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



    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.