Viewing 2 replies - 1 through 2 (of 2 total)
  • Hallo,

    Please note this is just an example! I’m not a professional coder…

    This should work inside the loop… Have used this in a custom template!

    Example for mileage

    <?php $mileage = get_post_meta($post->ID, 'wpcm_mileage', true); ?> <?php echo $mileage; ?>

    I hope this helps to acomplish what you need!

    Plugin Author Barry Kooij

    (@barrykooij)

    Hey there,

    We pushed a change this morning that allows using the $vehicle object in listings/item.php

    So from next version and up (or if you’re using our **master** branch already) you can do this:

    $features = $vehicle->get_features();

    Then you can create your custom loop to loop through $features.

    Good luck with your customizations.

    Kind Regards,
    Barry Kooij

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show features on listing item’ is closed to new replies.