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

    (@gwin)

    You would need to remove them directly in the wpadverts/templates/index-item.php and single.php template files.

    After modifying template files, consider creating child templates so your changes won’t get overwritten on update https://wpadverts.com/documentation/child-themes-and-templates/

    Thread Starter bes206

    (@bes206)

    In my wordpress i dont have wpadverts/templates/index-item.php

    Under single.php i deleted this line of code and the date the ad was posted still appears, kindly tell me which lines to remove please

    ” <?php printf( __(‘Published: %1$s (%2$s ago)’, “adverts”), date_i18n( get_option( ‘date_format’ ), get_post_time( ‘U’, false, $post_id ) ), human_time_diff( get_post_time( ‘U’, false, $post_id ), current_time(‘timestamp’) ) ) ?>”

    Plugin Author Greg Winiarski

    (@gwin)

    Sorry, it should be wpadverts/templates/list-item.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date on ads’ is closed to new replies.