Forums Forums Search & Filter Pro ajax loading not working

Viewing 10 posts - 31 through 40 (of 87 total)
  • Anonymous
    #1202
    Anonymous
    #1203
    Ross Moderator
    #1204

    Yeah actually a better way:

    Add this to your form:
    <input type="hidden" name="sfid" value="55" />

    And change the action of your form to http://maneuver.nazwa.pl/WWW/nstyle/ or probably better yet <?php echo home_url(); ?>

    🙂

    Anonymous
    #1207

    O yeah!

    😀

    //one more issue[:(]:

    https://www.dropbox.com/s/2f8ggd8otdocf3p/2014-06-03%2019h46_15.mp4

    -i can not see the whole list (because of the footer) after picking any post to view.

    Ross Moderator
    #1209

    Hey Piotr this is because your page height is dynamically being set by your scripts – not sure which one to be honest but probably something to do with masonry.

    You need to make sure that masonry refreshes and does its recalculation once the new page content has loaded – you can detect when the AJAX has finished loading in jquery here:

    http://api.jquery.com/ajaxcomplete/

    Then once you detect Ajax complete, you should tell masonry to refresh (I’m not sure how to do that with your specific setup)

    Thanks

    Anonymous
    #1225

    Thanks again. Finally i had to switch off tha ajax filtering.

    How can i call the information: “Sorry there are no results matching your criteria”?

    Have a nice day!

    Piotr

    Anonymous
    #1226

    Um trying to find something with one of the tags (“niebieski” – btw it`s a colour and means “blue”).

    No results appears.

    http://maneuver.nazwa.pl/WWW/nstyle/?s=niebieski&sfid=55

    What do i have to improve?

    Regards!

    Piotr

    Ross Moderator
    #1231

    Hey Piotr

    The text search uses the default wordpress text search – so you cannot search tags etc – it searches in titles and body content – so you must include this word in the main content, or alternatively you could install relevanssi or a similar plugin which improves text search and allows for text search in tags etc 🙂

    Thanks 🙂

    Anonymous
    #1296

    Hello Ross,

    Thanks for last reply. I did not answer for my previous question:

    Thanks again. Finally i had to switch off tha ajax filtering.

    How can i call the information: “Sorry there are no results matching your criteria”?

    Have a nice day!

    Piotr

    – Are you able to answer for the above mentioned ticket as well, please?

    thank you very much,

    Piotr

    Ross Moderator
    #1299

    Hey Piotr

    Sorry I missed that!

    Yeah its pretty easy, edit the search template I created for you

    And you have this code for your main loop:

    if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <?php   get_template_part( 'blog-post-format/blog-post', get_post_format() ); ?>
    
    <?php endwhile; ?>	
    <?php endif; ?>

    Before the endif you need to add an else so it would be like:

    if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <?php   get_template_part( 'blog-post-format/blog-post', get_post_format() ); ?>
    
    <?php endwhile; ?>	
    <?php else: ?>
     No Posts Found
    <?php endif; ?>
Viewing 10 posts - 31 through 40 (of 87 total)