Echo how many days to expiry of the listing

I’m currently displaying the listing expiry date on my listings, but I’d like to also show how many days are left until the expiry date.

Is there a code snippet or an easy way to achieve this? Any help would be appreciated. This would really add some value to what I’m trying to do.

Hi @tlmakiwa,

I implemented something like this on my own site a while back.

If you read through the topic, you can find the portion of the snippet responsible for the listing expiry counter, and then reuse it for your own use-case.

Add counters to listings and display verified contact information

I hops this helps!

Cheers,
Chris :victory_hand:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.