Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrei Lupu

    (@euthelup)

    Hi, Right now, the format is hardcoded, we will make it inherit the format from Dashboard->Settings.

    Hi loretpao,

    If you want this date format to be displayed on the frontend on the pixproof galleries, here’s how I resolved it:

    1. Copy /wp-content/plugins/pixproof/views/pixproof_metadata.php to your-theme/templates/pixproof_metadata.php
    2. Add $newDate = date("d/m/Y", strtotime($event_date)); under if ( ! empty( $event_date ))
    3. Replace <span><?php echo $event_date; ?></span> with <span><?php echo $newDate; ?></span>

    Hope this helps!

    Thread Starter loretpao

    (@loretpao)

    It works!
    Thanks so much skoldin!!
    ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘change date format’ is closed to new replies.