Skip Navigation

[Resolved] Search by distance does not work with my custom field

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 6 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#613688

I am trying to use a third party form to add content to my side and display that content with toolset views on the map. I am using the third party tool because it allows me to charge per post (which toolset does not). Anyway, toolset recognizes the address by displaying the marker, but the search by distance function does not work.

I have the possibility to use an action hook inside the third party form, but even that does not produce the desired outcome. I would appreciate some helpful input.

This is the option for the action hook: "An option for developers to add dynamic elements they want. It provides the chance to add whatever input type you want to add in this form. This way, you can bind your own functions to render the form to this action hook. You'll be given 3 parameters to play with: $form_id, $post_id, $form_settings.
add_action('HOOK_NAME', 'your_function_name', 10, 3 );
function your_function_name( $form_id, $post_id, $form_settings ) {
// in here I used the exact same code, that toolset fields uses for an address field...
}"

Link to a page where the issue can be seen: index.hypno-support.de/events/

Thanks a lot.

#613860

Hi, please take screenshots of the entire View editor screen in wp-admin and post them here in your reply. Also copy + paste any code in the Loop Output editor and any Content Templates used in this View. I will review everything and we can go from there.