Forums › Forums › Search & Filter Pro › Filters on a page
- This topic has 16 replies, 2 voices, and was last updated 8 years, 6 months ago by
Anonymous.
-
Trevor(Private) October 26, 2016 at 3:07 pm #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
Anonymous(Private) October 26, 2016 at 9:03 pm #66753This 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(); ?>
-
AuthorPosts