• Resolved nilssondigital

    (@nilssondigital)


    Hi I’m using this plugin to allow users to add property listings for house exchanges.

    I would like to be able to add a custom field so they can add “Availability”, which would ideally be a date-range selector, and then to be able to use this as a search filter or in the main search form, so a user could search by Location (native/already there) and date.

    Is something like that possible within the plugin or with any extensions?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi,

    we just released the Booking plugin that should be ideal for this: https://wpgeodirectory.com/downloads/booking-marketplace/

    Or for something simpler, you could use the events add-on which along with the Custom Post Type add-on, allows to add dates to any custom post type.

    Than you’d need the advanced search add-on to search listings by dates.

    That said, we are not allowed to provide support for paid add-ons here, so please communicate with us through our website for any further question you may have: https://wpgeodirectory.com/support.

    Thanks,

    Thread Starter nilssondigital

    (@nilssondigital)

    With the events added, how does that enable you to add date ranges to the listing/gd_place post type?

    Or here in the “Custom Fields” section of the gd_place post type:

    How do I add custom fields to that section? I can create custom fields with ACF Pro, and I assume this is what this section is for…creating custom fields to use with the post type…but the documentation isn’t clear on how to do this or what exactly this is for?

    Plugin Author Paolo

    (@paoltaia)

    You’d need the Custom Post Type AND the Events add-on together to be able to add event dates to the places CPT, but as I already told you, we are not allowed to discuss premium plugins here.

    GeoDirectory uses custom database tables for custom fields, so ACF and GeoDirectory are not compatible.

    New Custom Fields can only be added programmatically.

    We created a quick tutorial to show how to do that and while at it we did it for your specific request (date range), however, I’m not sure this is the right approach…. I think the booking plugin would make a lot more sense for what you are trying to accomplish.

    https://docs.wpgeodirectory.com/article/735-create-a-custom-input-field

    Thanks,

    Plugin Author Paolo

    (@paoltaia)

    p.s. if you need further support with this, please create a ticket here: https://wpgeodirectory.com/support/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add custom field/search by date range’ is closed to new replies.