Empty spaces on page for non-displayed posts

Forums › Forums › Search & Filter Pro › Empty spaces on page for non-displayed posts

Tagged: 

Viewing 7 posts – 11 through 17 (of 17 total)
  • Trevor
    #50694

    I just find it easier than emails to talk through what you did to make your template. Hey ho. You may need to put a copy of the template you made up here in code tags. Ross may ask for ftp and admin logins too. When I get to talk to him.

    Anonymous
    #50695

    Oh, that’s easy: found the spot in the original template the original featured image and its original title/link went.

    I added
    ” target=”_blank” >
    <p class=”centretxt cattaxlists cattaxname mb00″><?php echo esc_html( get_post_meta( $post->ID, ‘full_catteryname’, true ) ); ?></p>
    <p class=”centretxt cattaxlists mb10″><?php echo esc_html( get_post_meta( $post->ID, ‘catt_town’, true ) ); ?>, <?php echo esc_html( get_post_meta( $post->ID, ‘catt_full_postcode’, true ) ); ?></p>
    inside the title link, replacing whatever was there.

    Under that I added:
    <div class="fusion-button-wrapper fusion-aligncenter"><style type="text/css" scoped="scoped">.fusion-button.button-1{width:auto;}</style><a class="fusion-button button-flat button-round button-small button-green button-1 fusion-animated" data-animationType="fadeInDown" data-animationDuration="1" data-animationOffset="100%" target="_blank" title="Read more about this cattery" href="<?php the_permalink(); ?>"><span class="fusion-button-text">Full Details</span></a></div>

    That’s it. The rest was css, and text divs before and after the loop. Nothing that would affect formatting inside the loop.

    I asked Avada about this and they predictably called it customisation that they don’t offer help on. Of 9 requests since I bought avada, 7 replies have been ‘thats customisation and we don’t help with that’.

    As for Skype, it’s probably more suited to comms patterns such as your own. I have almost zero use for it, though my gf tells me it’s probably on my phone anyway.

    Tell me if you can’t find the login I sent you a few days ago.

    Anonymous
    #50696

    Oh well, one block went as code, one didn’t. I marked them both… but there’s no way to edit the post and try again. Sorry.

    Trevor
    #50704

    Did you add a test (if) to make sure there was a post or featured image before outputting the html each time? Otherwise it can output empty HTML.

    Anonymous
    #50708

    I’ve just done a simple test:

    I used the page http://www.britishcatteries.co.uk/cats/county-cattery/somerset/ as a test. That uses the cattery cpt, cattery-county taxonomy and somerset term.

    With S&F activated, all is well on the first results page, as it’s full. If I click ‘page 2’ I get 13 posts and 11 posts worth of empty space.

    If I deactivate S&F, I get the same on page one, but on the second page there is no white space. So, I know it’s not my customisation that causes the spaces.

    I then reactivated the plugin but disabled load results with ajax. The whitespace goes away. However, I don’t know what advantages loading results with ajax gives. If I keep this disabled, what am I losing?

    Trevor
    #50870

    Q. If I keep this disabled, what am I losing?
    A. Not a lot, but it stops the page re-loading stuff, so it can be faster.

    It sounds like the ajax or some other js isn’t being re-triggered. Which is what is covered in the first FAQ here:

    https://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

    Anonymous
    #51807

    This was resolved – issue with ajax.

Viewing 7 posts – 11 through 17 (of 17 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.