• Sir, I would like to change my website posts published date to updated date. I have tried to replace the code. I replaced the code in content-page.php code

    <?php the_time( get_option('date_format') ); ?>

    replaced with

    <?php if( get_the_modified_date() != get_the_date() ) echo the_modified_date();?>

    But not able to get the desired result.
    Thanks beforehand

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there,

    Zerif doesn’t supports this customization and as much as I’d love to help you with some custom code, it is beyond the support offered for our products. However, we recommend jobs.wordpress.net for your customization needs. Hope you understand.

    Hi,

    You can just replace it with <?php the_modified_date(); ?>. There is no need to check if it’s available or not. Hope it helps.

    Regards,
    Hardeep (ThemeIsle)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posted date to Updated Date in Zerif lite posts’ is closed to new replies.