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.

Jonathan Bradford

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 28 total)
  • Jonathan Bradford in reply to:
    Change to
    #126227

    Yeah. Looking at this codepen it looks like you can add them to certain types of inputs but not type=submit.

    https://codepen.io/martinwolf/pen/MKRNjJ

    Jonathan Bradford in reply to:
    Change to
    #126223

    Hi,

    sorry for the delay replying. We need to add an arrow inside the button that animates.

    If you look here “http://kchdubai.staging.wpengine.com/appointments” the form submit is a button element that we have put a span and pseudo element inside to do the hover animation.

    Whereas on this page where we are using search and filter pro the submit is an input element that we can’t add anything inside of “http://kchdubai.staging.wpengine.com/find-a-doctor”.

    Jonathan Bradford in reply to:
    Infinite Scroll not working
    #121589

    Hello again.
    Thank you foe the quick reply.
    I followed the notes for the shortcode customisation. I can see it’s getting the right template now, but Infinite scroll is still not working …

    Jonathan Bradford in reply to:
    Remove Tag Filters if results = 0
    #120584

    Thanks Trevor, do you have any examples of how to do this? Do i need to tie it into the sf:ajaxstart event?

    Jonathan Bradford in reply to:
    Apply Filter onload
    #116050

    I’ve removed the ajax and clicked all the options. The $query_args is the same for all three options. The only difference is the URL is now being updated “?_sft_category=blog” & “?_sft_category=news”

    Jonathan Bradford in reply to:
    Apply Filter onload
    #115929

    Hi, this is what I get onload. I’m not able to see the query if i click on one of the options because its using ajax, So i don’t know what the query_args look like when a filter is applied.

    array (size=10)
      'paged' => int 1
      'search_filter_id' => string '100' (length=3)
      'search_filter_override' => boolean false
      'posts_per_page' => int 12
      'post_status' => 
        array (size=1)
          0 => string 'publish' (length=7)
      'meta_query' => 
        array (size=0)
          empty
      'post_type' => string 'post' (length=4)
      'is_search' => boolean true
      'is_archive' => boolean true
      'orderby' => 
        array (size=2)
          'date' => string 'DESC' (length=4)
          'title' => string 'DESC' (length=4)
    Jonathan Bradford in reply to:
    Apply Filter onload
    #115847

    Thanks, How do i test if category is set? I’m using the code below but it always seems to return true, even when I click on one of the other category options.

    if($sfid==100)
     {
       if(empty($query_args['tax_query'])) {
         $query_args['tax_query'] = [[
           'taxonomy' => 'category',
           'field'    => 'slug',
           'terms'    => 'news',
         ]];
       }
     }
     return $query_args;
    Jonathan Bradford in reply to:
    Custom Filter
    #71348
    This reply has been marked as private.
    Jonathan Bradford in reply to:
    Custom Filter
    #71249

    Hi Trevor

    Hope you’re good?

    The events system is working well -http://www.ginfoundry.com/events/

    So this might be a coding question as opposed to search filter question but thought I’m not sure.

    This is the screen they would like before they get into the events https://gyazo.com/bf943c6e3f8af89d2395d2bf24397c61 – effectively all the events listed by month and show only the next 6 months.

    When you click on a month eg ‘December’ – it would then load all the December events leading to this page http://www.ginfoundry.com/events/?_sfm_date_month=December%202016

    Do you know if its possible to do this and how I would do it?

    Thanks so much!

    Jonny

    Jonathan Bradford in reply to:
    Custom Filter
    #66834
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 28 total)