Rekroot Theme Tutorials

Print

How to edit job post/expiry date format

Different countries use own date format and, occasionally, customers are stuck while trying to edit it. So be ready to follow suggestions below to save time and achieve the goal:

  • Job post date format can be easily edited straight through general WordPress settings.

First of all, enter Job Manager settings and switch to “Default date format as defined in Settings” feature.

Once it’s done, complete format setup in General Settings:

This article gives complete understanding of worldwide data formats:

https://wordpress.org/support/article/formatting-date-and-time/

  • As for Job expiry, this string should be edited on server side:

wp-content/themes/rekroot/inc/template-hooks.php

replace default date format with needed one in 141 & 161 strings of template-hooks.php file.

In case of child theme usage, just enter the child theme directory and create INC folder.
Once it’s done, copy/paste template-hooks.php file with the edited currency symbol from parent theme.

 

Leave a Reply

Your email address will not be published. Required fields are marked *