Forums › Forums › Search & Filter Pro › Results not refreshing
- This topic has 13 replies, 2 voices, and was last updated 8 years, 7 months ago by Anonymous.
-
Trevor(Private) May 18, 2016 at 5:08 pm #45920
So, that was a good Skype session, Frank.
When you have finished what I have started for you customizing the results.php file, maybe you can post it here for others to see?
If you feel that this support has been worthy of note, maybe you could leave a review:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/reviews/
Anonymous(Private) May 18, 2016 at 8:43 pm #45942Hi Trevor,
thanks to your excellent guidance and explanations.
The results.php is working now as intended.
check out: https://www.kleinkunst.theater/Pls note that I have translated some words into german.
(not yet internationalised code, but will add that as well)<?php /** * Search & Filter Pro * * Sample Results Template * * @package Search_Filter * @author Ross Morsali * @link http://www.designsandcode.com/ * @copyright 2015 Designs & Code * * Note: these templates are not full page templates, rather * just an encaspulation of the your results loop which should * be inserted in to other pages by using a shortcode - think * of it as a template part * * This template is an absolute base example showing you what * you can do, for more customisation see the WordPress docs * and using template tags - * * http://codex.wordpress.org/Template_Tags * */ if ( $query->have_posts() ) { ?> <?php echo $query->found_posts; ?> Beiträge gefunden<br /> Seite <?php echo $query->query['paged']; ?> von <?php echo $query->max_num_pages; ?><br /> <div class="pagination"> <div class="nav-previous"><?php next_posts_link( 'Ältere Beiträge', $query->max_num_pages ); ?></div> <div class="nav-next"><?php previous_posts_link( 'Neuere Beiträge' ); ?></div> <?php /* example code for using the wp_pagenavi plugin */ if (function_exists('wp_pagenavi')) { echo "<br />"; wp_pagenavi( array( 'query' => $query ) ); } ?> </div> <div class="row row-masonry"> <?php while ($query->have_posts()) { $query->the_post(); ?> <article <?php post_class('post-masonry col-sm-' . $grid_col); ?>> <div class="post-inner"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php echo at_post_thumbnail($post->ID, 'at_thumbnail', $args); ?> </a> <h2> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?> </a> </h2> <p><?php echo the_excerpt(); ?></p> <div class="clearfix"></div> </div> </article> <?php } ?> </div> Seite <?php echo $query->query['paged']; ?> von <?php echo $query->max_num_pages; ?><br /> <div class="pagination"> <div class="nav-previous"><?php next_posts_link( 'Ältere Beiträge', $query->max_num_pages ); ?></div> <div class="nav-next"><?php previous_posts_link( 'Neuere Beiträge' ); ?></div> <?php /* example code for using the wp_pagenavi plugin */ if (function_exists('wp_pagenavi')) { echo "<br />"; wp_pagenavi( array( 'query' => $query ) ); } ?> </div> <?php } else { echo "No Results Found"; } ?>
-
AuthorPosts