Support Forums

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

Viewing 10 posts - 41 through 50 (of 67 total)
  • dann hanks in reply to:
    new posts are not showing in search results
    #145818

    Hi,

    I have found the point where the posts are being created, it is done with acf_form (advanced custom fields).

    here is the point of creation:

     
    
    acf_form(array(
    		'post_id'		=> 'new_post',
    		'post_title'	=> true,
    		'post_content'	=> true,
    		'html_submit_spinner'	=> '<span class="acf-spinner"></span>',
    						'fields' => array(
    						'field_58cbdee51e676', 'field_59275314be48d', 'field_58cbdea81e675', 'field_592761f1f5089', 'field_58cc419adc979', 'field_58cbdf351e677', 'field_58cc4030d72ed' , 'field_58cbe07a1e67f', 'field_58cbe4815ba98', 'field_58cbe4385ba97', 'field_58cbe4255ba96', 'field_5927621af508a', 'field_58f9fb4b79b0f', 'field_5926bf6634841', 'field_5926b208b9016', 'field_58c02d04898e2', 'field_58c02e471efe3', 'field_58c02ec61e011', 'field_592eb6f95b95b'
    	),
    		'new_post'		=> array(
    		'post_type'		=> 'property',
    			'post_status'	=> 'publish'
    		),
    		'return'		=> home_url('my-account/?profile=all-post'),
    		'submit_value'	=> 'Create Property'
    		
    	));
    

    is this where I would add the “do_action(‘search_filter_update_post_cache’, xx);”?

    sorry, a little out of my depth here…

    thanks!

    dann hanks in reply to:
    new posts are not showing in search results
    #145795

    mmm… I will have to have a delve around and test..

    is there no way to add this to functions.php? I don’t really want to have to hack my plugin.

    dann hanks in reply to:
    new posts are not showing in search results
    #145785

    Hi Trevor,

    thanks for that, I note this is for a particular post though – I would need it to cover all posts that users upload… Is that possible? Perhaps by the custom post type?

    : )

    Dann

    dann hanks in reply to:
    number based searching
    #117981

    Hi, the ‘Property Search’ is the search form to have a look at, its the one from the main box on the home page.

    dann hanks in reply to:
    number based searching
    #117949

    appologies, my bad, please try again with the same details

    dann hanks in reply to:
    number based searching
    #117741
    This reply has been marked as private.
    dann hanks in reply to:
    number based searching
    #117719

    Hi Trevor, what I am saying is the users (property owners) are creating their own listings so I couldnt expect them to add extra data, it would just be a simple question of how many bedrooms they have.

    dann hanks in reply to:
    number based searching
    #117168

    Hi Trevor, I notice that when I change the post meta field to a number dropdown the search comes out like something like this this:

    website.com/?sfid=132396&_sfm_bedrooms=2+4

    … the 2+4 part is obviuosly an inclusion of all 2,3 and 4 bedroom properties as it returns all of these.

    I tried to do this through manual values in a manual drop down list eg:

    label: 1, Value: 1
    label: 2, Value: 1+2
    label: 3, Value: 1+3
    label: 4, Value: 1+4

    … but as soon as I take it out of the ‘number’ option in the post meta these urls no longer work. There isnt many options in the ‘number’ section and certainly nothing that suits my criteria.

    I am a little confused about your explanation above, are you saying the only way to do this is to add other meta values to the posts? If so this will be impossible as users setup their own properties, I couldnt expect them to add extra data, it is a simple question for them: how many bedrooms are there? are there any other ways around this?

    dann hanks in reply to:
    conditional select menus part 2
    #111317

    hi, it was a plugin conflict!

    All working now

    dann hanks in reply to:
    conditional select menus part 2
    #111269

    Hi, I have just turned on the ‘enable count’ settings and can see it’s well off. It’s giving me 0’s in regions that I know are there properties. if I select one of the ‘0’ fields and hit search, it gives me a list of the items in that region, so the search is working but the autocount isn’t, this will be why the issue above is happening but I have no idea why…

    Thanks if you can help!

Viewing 10 posts - 41 through 50 (of 67 total)