Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › formatting dates in Vertical Results list › Reply To: formatting dates in Vertical Results list
Hi!
Tha date format in that case is requested from the WordPress ‘date_format’ option, more specifically, like this:
[php]$date= date_i18n( get_option( ‘date_format’ ), strtotime( $date) );[/php]
This internal date format can be changed under the WordPress date format panel: https://i.imgur.com/Uzlh0NZ.png
——————————–
If you prefer not changing this option, then instead of using the advanced title/description field, you can use a custom code:
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!