Forums › Forums › Search & Filter Pro › display results on the same page
- This topic has 35 replies, 2 voices, and was last updated 8 years, 5 months ago by Anonymous.
-
Trevor(Private) July 7, 2016 at 5:34 pm #50481
OK
I can see the issue, but finding the solution will not be so easy. It is possible to use As an Archive or the Shortcode method. For you the best is as you have it (As an archive).
So, what goes wrong? The theme you have (I find so many pre-made themes with similar issues) has a template you use, in this case
blog-masonry.php
In that, there is this code:
<?php get_header(); ?> <?php get_template_part( 'title' ); ?> <?php get_template_part('slider'); ?> <div class="qodef-container"> <?php do_action('kloe_qodef_after_container_open'); ?> <div class="qodef-container-inner"> <?php kloe_qodef_get_blog('masonry'); ?> </div> <?php do_action('kloe_qodef_before_container_close'); ?> </div> <?php get_footer(); ?>
The key line is this:
<?php kloe_qodef_get_blog('masonry'); ?>
This calls a function, which I can only find if I have a copy of the theme, which is hijacking the wp_query.
It will be necessary to find the function (hopefully it does not then further call another function), copy the function with a new name into the child theme functions.php file, make a new template by copying the one in use, but change the function call to the newly made function, and eduit that function so that the arguments for the wp_query include the S&F form results id.
Trevor(Private) July 7, 2016 at 6:00 pm #50483Todd. I doubt whether they will. It depends how easy it is, but I could probably do it for you, or at least take a look, if you could somehow get the theme zip file to me. If you have time, I can explain how to avoid this issue in any future work you do.
-
AuthorPosts