Forums › Forums › Search & Filter Pro › Empty spaces on page for non-displayed posts
Tagged: Formatting
- This topic has 16 replies, 2 voices, and was last updated 8 years, 3 months ago by Anonymous.
-
Anonymous(Private) July 9, 2016 at 8:03 pm #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(Private) July 9, 2016 at 8:51 pm #50708I’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(Private) July 12, 2016 at 10:34 am #50870Q. 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/
-
AuthorPosts