• Hi

    1. I’d like to be able to remove date and add a field from the custom forms to the listing. Not in the single page but on the page where it lists all the items. (Listings)

    Currently it has the date and price.

    Id like to remove date listed and beable to add other details from a custom form I have and add it in its place.

    Is this possible with CSS like
    .advert-item-col-2 span.advert-date,
    .advert-item-col-3 span.advert-date,
    .advert-item-col-4 span.advert-date {
    display: none;
    }
    .advert-item-col-2 .advert-location.adverts-icon-location,
    .advert-item-col-3 .advert-location.adverts-icon-location,
    .advert-item-col-4 .advert-location.adverts-icon-location {
    display: inline-block;
    line-height: 1.8em;
    padding: 10px 0 10px 0;
    }

    And if so where do I find the route to my custom form fields?
    2. Is this also possible to do by category listing I have (for example it will pull differnet fields for a custom car form and a custom property form)?

    Thank you

    The page I need help with: [log in to see the link]

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

    (@gwin)

    Hi,
    1. currently the only way to add the custom fields on [adverts_list] is to open the file wpadverts/templates/list-item.php and add there a code which will display them, usually

    
    <?php echo esc_html( get_post_meta( get_the_ID(), 'field_name', true ) ) ?>
    

    Note that if you decide to customize the list-item.php file consider creating a child-template for it so the changes will not be overwritten on WPAdverts update https://wpadverts.com/documentation/child-themes-and-templates/

    2. with custom programming it will be possible, but doing this will require rather advanced programming skills i am afraid.

Viewing 1 replies (of 1 total)

The topic ‘WP Adverts Customisation’ is closed to new replies.