Forums Forums Search & Filter Pro Avada Portfolio

Viewing 5 posts - 1 through 5 (of 5 total)
  • Trevor
    #127538

    With Avada, the only way I know to get it to reliably work is to use our Shortcode Display Results method. This gives you a basic layout, but you are free to customise this. The guide to customising is here.

    At that point you can then edit this to change the HTML structure, add parts, remove parts, use CSS classes from your theme to style, and so on.

    Anonymous
    #127547

    I think I’m going to make a custom template (from the portfolio template located in the Fusion Core plugin) and add it in a child theme. I did some quick tests and its working. I made a page where I add the shortcode for the filters, after submit it redirects to the custom template. But how can I show the filters on that custom page template aswel? Can I add them with PHP above the loop?

    Trevor
    #127594

    Do you want to show the form, or the chosen filters?

    Anonymous
    #127769

    I show the form like this:

    global $searchandfilter;
    if ( null !== $searchandfilter->active_sfid() ) {
        echo do_shortcode( '[searchandfilter id="' . esc_attr( $searchandfilter->active_sfid() ) . '"]' );
    }
    Trevor
    #127889

    If you want to show the current filters on the page, this is possible, yes, with custom coding, but if you are also using Ajax to refresh the page, they must be inside the loop or part of the page that gets refreshed.

Viewing 5 posts - 1 through 5 (of 5 total)