Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mattbeard91

    (@mattbeard91)

    Is it also possible, when displaying properties that have recently been sold or let, to show the date that this changed? I.E. – this property was sold on: *this date*

    Happy to display this for all properties (maybe last updated date) and then can hide using CSS where it is not needed. As currently using shortcodes (I know not ideal) with marketing ID’s to display what I need.

    FYI am doing this work for an agency who do have a license for PH so if it’s easier to email directly please let me know ??

    Thanks again,

    Matt

    • This reply was modified 2 years, 5 months ago by mattbeard91.
    • This reply was modified 2 years, 5 months ago by mattbeard91.
    Plugin Author Property Hive

    (@propertyhive)

    Hi Matt,

    I’ve amended the snippet in the doc to do the opposite here:

    https://gist.github.com/propertyhive/37e89fbf720224b3bc3d356a5d8b808a

    One thing to note is that you mention marketing flags, but the snippet uses the availability field, so just bear this in mind. Let me know if above not working, as well as a link if possible and I’ll take another look.

    As for displaying when a property changed status, at the moment we don’t record this so this would need to be bespoke, probably hooking into the ‘set_object_terms’ WP action.

    Do let me know if I can assist further with either of the above,

    Thanks,
    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude Sold STC and under offer from search’ is closed to new replies.