Add listing publish date to lisiting view page

Can the RentalHive theme show the date a listing was published? I’d like it to appear just below the listing title, similar to how the location is shown. I’m not using the geolocation plugin, so instead of the location, I want the listing’s publication date to be displayed.

This is what I want to achieve:

This is where I want the date to be displayed


This is possible, but it requires a PHP snippet, please check this sample: Add listing publishing date - #3 by hobbyjobbynl

Hey Andrii

Thank you for the prompt response.
I added this snippet, but it doesn’t seem to work on the RentalHive theme :thinking:


Please note that I have provided you with an example of a PHP snippet that will most likely require modification to make it work correctly for you. Unfortunately, there is no out-of-the-box solution for this, so you will need a custom implementation.

Oh, okay. Thank you :slight_smile:

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