Forums Forums Search Search Results for 'results'

Viewing 10 results - 381 through 390 (of 12,388 total)
  • Author
    Search Results

  • Trevor
    Participant

    If you edit the form in the admin, find the Results URL and change it to https.

    #269697

    Trevor
    Participant

    The easiest thing to to is to use a WordPress re-write. Assuming that you have our search form on the shop page, named ‘shop’, something like this in the child theme functions.php file:

    function sandf_change_search_url_rewrite() {
    	if ( is_search() && ! empty( $_GET['s'] ) ) {
    		wp_redirect( home_url( "shop/?_sf_s=" ) . urlencode( get_query_var( 's' ) ) );
    		exit();
    	}	
    }
    add_action( 'template_redirect', 'sandf_change_search_url_rewrite' );

    You would need to change the word shop if needed, and there might need to be other changes needed, depending on how your header search works. Note, the Search & Filter form on the results page must have a Text search field to receive the search string. You would not need/want to have the post type in the parameters, as this is specified in our form settings instead, so you should remove that from the theme code/template you already use.

    #269679

    Anonymous
    Inactive

    When I make a selection to query it does change, but the query results dont fully load until there is a page refresh.

    #269662

    In reply to: New user


    Anonymous
    Inactive

    Hi Alan,
    Thanks
    I have created a new page https://www.operaonvideo.com/advsearch/
    with a plain search and now it works
    .
    I have two main questions:
    1. Can I change the results to display the same layout as my “normal” search ?

    2. What I really want to do with the advanced search is a selective search in certain custom fields (ACF).
    Ideally there should be a dropdown after the search terms where a custom field can be selected (proper custom texts not the ACF field codes).
    And I would like to have several lines of this (three?) to be able to search multiple fields.
    Could you please point me to how to implement this.

    Thanks
    Kurt

    #269650

    Trevor
    Participant

    OK, I will wait to hear from you. The change I suggested will have no effect on the cache. Without it, some searches will produce no results, just a blank.

    #269642

    Trevor
    Participant

    Generally, I would normally recommend that you place on the page:

    The form shortcode/widget
    A link shortcode, similar to the form shortcode, which would look something like [searchandfilter id="1198" action="filter_next_query"]
    The LearnDash grid

    I am not sure what Display Results Method should be used in the form, but start with the Custom method.

    #269628

    Trevor
    Participant

    Scroll window to may need to be set to a jQuery object (a class or ID name) that represents where the results start, otherwise it will typically scroll back to the start of the form.

    I would need to see the search results page, and you would need to let me know where in the page you need it to scroll to.

    #269627

    Anonymous
    Inactive

    Hello, we are running into an issue with using infinite scroll. On Taxonomy pages (specifically, Woocommerce Category pages) the infinite scroll is still active. This is bad, because we only want to display results from that category on category pages.

    Any suggestions? Here is an example page. It should only have 6 items on it: https://kodokids.com/product-category/wind-flight-related-products/

    #269580

    Trevor
    Participant

    Sorry for the delay. I see the issue. You are using includes on taxonomies to do this. The logic of ‘includes’ is that any results MUST include all terms included.

    Posts cannot include project tags, and so will not show, and Projects cannot include post tags, and so will not show.

    In effect, your includes rules are mutually exclusive.

    Taxonomies should not (not that you have) be shared between different post types, so that is not a solution. The only way you can do as you want (pre-filter more than one post type) is to add a custom field that is applied to both Posts and Projects (you could use the free Advanced Custom Fields plugin to do this), and then use the Post Meta settings tab to set a ‘like’ rule to match the one term.

    #269566

    Anonymous
    Inactive

    Having trouble overriding the results.php file via my child theme. Path in theme is as follows: astro-child/search-filter-pro/templates/results.php

    Any help is appreciated! Thanks!

Viewing 10 results - 381 through 390 (of 12,388 total)