Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    you would need to open file wpadverts/templates/list-item.php and replace the code

    
    <?php echo date_i18n( get_option( 'date_format' ), get_post_time( 'U', false, get_the_ID() ) ) ?>
    

    with

    
    <?php echo esc_html( get_post_meta( get_the_ID(), "adverts_location", true ) ) ?>
    

    although note the location is already displayed on the [adverts_list] (but visible only in list-mode.

    Note. the changes you will make in list-item.php file will be overwritten on WPAdverts update, in order to avoid that consider creating a child template file as explained here https://wpadverts.com/documentation/child-themes-and-templates/

    Thread Starter Wilfredo Perozo

    (@wiljope007)

    Thank Greg!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SUBSTITUTE THE DATE FOR THE LOCATION’ is closed to new replies.