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.

Forums Forums Search & Filter Pro Filters on a page

Viewing 10 posts - 1 through 10 (of 17 total)
  • Edgard
    #66619

    Hi,

    Is it possible to use filters on a normal page, and not on category or blog results?

    Thanks

    Edgard
    #66620
    This reply has been marked as private.
    Trevor Moderator
    #66660

    You are using Visual Composer, so you must make sure that the Method is set to ‘As an Archive’ and that the results url is the same as the page name (http://www.eddie.com.br/cafe-da-manha), and not the default (http://www.eddie.com.br/?sfid=517).

    In Visual Composer you need to add a class to the 3/4 width column, for example search-results

    and then you must make the target container point to that, e.g. .search-results

    Edgard
    #66716

    Hi, looks like its working, but when I change the category, it changes the URL only, and it doesnt refresh the result. I have to manually refresh the page. any idea?

    Edgard
    #66753

    This is my search.php

    <?php get_header(); ?>
    
    <div class=”content-area sticky-parent”>
    <div class=”container”>
    <div class=”row”>
    <div class=”col-md-9 with-sidebar sticky-column”>
    <div class=”category-block articles”>
    <div class=”theiaStickySidebar”>
    <?php
    get_template_part(‘templates/tpl’, ‘page-title’);
    ?>
    
    <?php
    if(have_posts()) :
    while ( have_posts() ) : the_post();
    get_template_part( ‘content’, get_post_format() );
    endwhile;
    else: ?>
    <h3><?php esc_html_e(‘Your search term cannot be found’, ‘tana’); ?></h3>
    <p><?php esc_html_e(‘Sorry, the post you are looking for is not available. Maybe you want to perform a search?’, ‘tana’); ?></p>
    <?php get_search_form();?>
    <br>
    <p><?php esc_html_e(‘For best search results, mind the following suggestions:’, ‘tana’); ?></p>
    <ul class=”borderlist-not”>
    
    <?php esc_html_e(‘Always double check your spelling.’, ‘tana’); ?>
    <?php esc_html_e(‘Try similar keywords, for example: tablet instead of laptop.’, ‘tana’); ?>
    <?php esc_html_e(‘Try using more than one keyword.’, ‘tana’); ?>
    <?php
    endif;
    ?>
    
    <?php
    $pagination = Tana_Tpl::pagination();
    if( !empty($pagination) ){
    echo “<div class=’post-navigation’>$pagination</div>”;
    }
    ?>
    </div>
    </div>
    </div>
    
    <?php get_sidebar(); ?>
    
    </div>
    </div>
    </div>
    
    <?php get_footer(); ?>
    Edgard
    #66755

    Seems to work with ajax disabled

    Edgard
    #66757

    oh, works because refreshes the page. not just the container…

    Edgard
    #66791

    Else, the page cod is being substituted mby search-filter.php that I have created. I thought the widget would only update part of the page.

    Edgard
    #66820

    Good mornng, my friend. Can you help me on this? Thank you

    Trevor Moderator
    #66822

    The Results Container shown in that code is:

    .theiaStickySidebar

    Try that in the form setup.

Viewing 10 posts - 1 through 10 (of 17 total)

The topic ‘Filters on a page’ is closed to new replies.