Forums Forums Search & Filter Pro How to use this on my own template

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #19559

    Hi,

    I am using the made theme on my website: http://themeforest.net/item/made-responsive-reviewmagazine-theme/2557495

    I bought this plugin, the plugin works, but it will always redirect me to a ‘search result page’.

    Is it possible that I can add this filter for an template from made or a table which is made in Tablepress?

    Thanks in advance,

    Regards

    Anonymous
    #19594

    Hi Bob,

    Yes, that’s definitely possible, it just requires a couple of steps.

    There are some good instructions in the documentation, here:
    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/

    1. First you create a new template for displaying your search results (you can start with the default results.php as a foundation if you like, and customize it however you want – that file is found in the plugin’s Templates folder). Your NEW template file should be named with the ID number of your filter form (e.g. my filter form is ID 102, so my template is 102.php), and placed in a NEW folder that you’ll create in your THEME folder, name the folder ‘search-filter’ – the plugin will look in this new folder first for templates.

    2. This template file just handles displaying the form and the results, so you’ll also need to place the SHORTCODE that calls this template into the PAGE template, and change the METHOD for displaying the results in the Settings for the form/filter to “shortcode” (instead of “archive”).

    SO let’s say you have a PAGE on your site for products, with some content at the top of the page maybe, and your product list (and filters) below. ON that Page paste your shortcode for displaying the form and results, which you can copy from the Filter’s settings….for example, I use:

    [searchandfilter id=”102″ show=”results”]

    Read the documentation linked to above, hopefully it will make sense, if not ask more questions and I’ll try to help. 🙂

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