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

    (@gwin)

    Currently to do that you will need to open file wpadverts/templates/list-item.php find there code

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

    and replace it with

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

    Also, consider creating a child template for list-item.php as explained here https://wpadverts.com/documentation/child-themes-and-templates/ so your changes will not be overwritten on update.

Viewing 1 replies (of 1 total)
  • The topic ‘add custom field on ad display’ is closed to new replies.