Create a Query for Additional Custom Fields

Home Forums Calendar Products Events Calendar PRO Create a Query for Additional Custom Fields

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1042486
    postmm
    Participant

    Hi,

    We’re currently developing an Events site where we’re using the Event Calendar Pro plugin. One of the requirements it to have a Dropdown selector in the Homepage, which will contain the Additional Fields we created with the ECP plugin. For example: City -> California, New York, etc

    After making such selection, the user will be redirected to the Events Result page (i.e. http://www.site.com/events/), where the Events displayed will be based on the selection made on the Home page. So, for example, if the user selected California in the City dropdown, the user would be redirected to http://site.com/events/?action=tribe_geosearch&tribe_paged=1&tribe_event_display=map&tribe__ecp_custom_3=California

    So, basically, we would like to know what is the best approach you recommend in order to create these queries dynamically. Is there a function included in one of your plugins that could help us with this? We have a solid understanding of PHP and WordPress API/infrastructure, but we don’t have a lot of experience using this plugin, so more than anything we just need some general guidance on how to accomplish this.

    Any help will be greatly appreciated.

    #1043016
    Brian
    Member

    Hi,

    Thanks for using our plugins.

    I can try to help out here, but I am limited in helping out on customizations.

    I do not have much information to provide on this.

    As you figured out the additional fields field names are saved like this:

    _ecp_custom_2

    The filter bar does include a way to filter by those additional fields.

    You could follow along with what it does, but it does not have a feature to be embedded on a non event views archive.

    Unfortunately, that is about all we have on this.

    Let me know if you have any follow up questions.

    Thanks

    #1076278
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Create a Query for Additional Custom Fields’ is closed to new replies.