Forums Forums Search & Filter Pro Filter issue: Results are showing without even filters are applied.

Viewing 10 posts - 41 through 50 (of 71 total)
  • Trevor
    #85022

    BTW, what does this part do?

    <?php 
    	echo slz_render_view(slz_get_template_customizations_directory( '/theme/views/post-format/format-'.seogrow_get_post_format($module).'.php' ), compact( 'module' ));
    ?>
    Anonymous
    #85032

    I guess you misunderstood. What i meant was that the S&F should filter posts from the posts that are underneath and when the filters are applied, only those posts should be visible that are filtered but the rest of posts should be hidden. For example, i filtered audio. The posts underneath the results should hide (Obviously they should because S&F is filtering posts from this list.)

    Anonymous
    #85040
    This reply has been marked as private.
    Trevor
    #85042

    There is no need for the loop below. It has all the posts in. If you didn’t hide the results loop, it would be identical. I cannot hide the loop below. It is placed there by you in VC. Simply do not have that loop at all, and then reveal the full loop made by our filter before any filters are applied.

    We are playing email ping pong again ๐Ÿ™

    I must go out.

    Anonymous
    #85045
    This reply has been marked as private.
    Anonymous
    #85054
    This reply has been marked as private.
    Trevor
    #85075

    I am not normally available in the evenings. This type of work is done voluntarily by me. The hours I have spent on this are way beyond normal support. So please, do not presume too heavily on my personal time.

    It occurs to me that, from your posts, that you are a capable coder. The php that generates the normal loop must contain a loop query (usually a call to wp_query) and S&F has a mode to use that; the Custom mode.

    All you need do is find the arguments passed to that query, or the part where the posts are looped through, and use the information in this post:

    https://support.searchandfilter.com/forums/topic/manually-add-sf-to-an-existing-query/#post-81577

    I have much of this afternoon coding into results.php in my own way what the code you then gave me does. Had I known that code, I could have saved at least two hours of work ๐Ÿ™

    Anonymous
    #85083

    Thanks! Actually There is a huge time difference. That’s why there is a misunderstanding and i am really sorry that i didn’t gave you the code before because i didn’t knew that what you are going to work on. I told you in the beginning that keep me updating with the changes you make ๐Ÿ˜‰

    Trevor
    #85112

    Go hunting for the code I suggested to look for.

    Anonymous
    #85156
    This reply has been marked as private.
Viewing 10 posts - 41 through 50 (of 71 total)