The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
dann hanks
Forum Replies Created
-
dann hanks in reply to:
Number Range not working as I would expect(Private) January 22, 2018 at 1:14 pm #153859Hi,
I have almost got a solution which would be easy to implement and would mean that I wouldn’t have to change the way the user adds the data.
I have chosen the ‘Choice’ field rather than the number Range field in S&F.
The value I am after is for number of guests.
So, I have set my first choice in the dropdown to:
Value:
1&_sfm_numberofguests=2&_sfm_numberofguests=3&_sfm_numberofguests=4&_sfm_numberofguests=5&_sfm_numberofguests=6&_sfm_numberofguests7&_sfm_numberofguests=8&_sfm_numberofguests=9&_sfm_numberofguests=10&_sfm_numberofguests=11&_sfm_numberofguests=12
Label:
1
… If this passed through to the form intact it would work.
It would look like:
This would mean that the ‘1’ guest could potentially stay in a property of any size from 1 > 12.
Instead, when it gets passed through the form it looks like this:
… replacing ‘ & ‘ with ‘ %26 ‘ and replacing ‘ = ‘ with ‘ %3D ‘
… is there a way to pass this value through without it replacing the &’s and the =’s?
Cheers
dann hanks in reply to:
Number Range not working as I would expect(Private) January 22, 2018 at 11:51 am #153831Thanks for the suggestion, I might have to look for another way around – I have looked through the top links for the search you provided but I really don’t understand how this works / I cant relate it to my issue.
Your solution is just a bit above my head I think..
: /
I will let you know here if I find another solution.
thanks
dann hanks in reply to:
Number Range not working as I would expect(Private) January 22, 2018 at 11:21 am #153824Thanks Trevor – sorry I don’t understand what I need to do in ACF to achieve this?
I have re-read your suggestion but not sure how to implement?
dann hanks in reply to:
Number Range not working as I would expect(Private) January 22, 2018 at 11:16 am #153817This reply has been marked as private.dann hanks in reply to:
Number Range not working as I would expect(Private) January 22, 2018 at 11:16 am #153815Hi Trevor, thanks for the reply.
It might be a setting I have not added right?
As its a user inputted number field, I can’t expect the users to add 1,2,3 etc – I think this would have to be automatic.
I am going to private post 2 screenshots below, 1.png is my settings in search and filter, 2.png is my setting for the ACF field.
Any ideas?
dann hanks in reply to:
new posts are not showing in search results(Private) December 15, 2017 at 10:01 am #147785This reply has been marked as private.dann hanks in reply to:
new posts are not showing in search results(Private) December 13, 2017 at 11:06 pm #147452This reply has been marked as private.dann hanks in reply to:
new posts are not showing in search results(Private) December 9, 2017 at 8:12 am #146575This reply has been marked as private.dann hanks in reply to:
new posts are not showing in search results(Private) December 7, 2017 at 4:41 pm #146277thanks Trevor.
it’s quite a big issue at the moment as we have been online for a few months and have only just noticed this. Most of the properties we have been uploading have been through admin so we hadnt noticed the problem until last week.
thanks
dann hanks in reply to:
new posts are not showing in search results(Private) December 7, 2017 at 3:33 pm #146253Hi Trevor, thanks for pointing me to here, however the fix did not work. I am not sure if I have missed something though, all I have done here is add
function my_acf_save_post( $post_id ) { // bail early if no ACF data if( empty($_POST['acf']) ) { return; } if ((!is_admin()) || (defined('DOING_AJAX') && DOING_AJAX)) { do_action("search_filter_update_post_cache", $post_id); } } add_action('acf/save_post', 'my_acf_save_post', 20);
to my functions file… I have tried to backtrack through this thread to see if something is missing. There are many private messages though so it’s difficult to tell.
-
AuthorPosts