Forums › Forums › Search & Filter Pro › Infinite Scroll not working
- This topic has 23 replies, 2 voices, and was last updated 7 years, 3 months ago by
Anonymous.
-
Anonymous(Private) November 13, 2017 at 11:53 am #141594
hi in this page:
http://dictionary.bemstc.com/technisches-worterbuch-fachkunde-metall/
When you choose “all” the infinite scroll is not working.
When you choose a letter it does work.
any idea what can cause this?Anonymous(Private) November 13, 2017 at 1:04 pm #141610Hi, thanks for the quick answer,
<?php /** * Search & Filter Pro * * Sample Results Template * * @package Search_Filter * @author Ross Morsali * @link http://www.designsandcode.com/ * @copyright 2015 Designs & Code * * Note: these templates are not full page templates, rather * just an encaspulation of the your results loop which should * be inserted in to other pages by using a shortcode - think * of it as a template part * * This template is an absolute base example showing you what * you can do, for more customisation see the WordPress docs * and using template tags - * * http://codex.wordpress.org/Template_Tags * */ if ( $query->have_posts() ) { ?> <?php while ($query->have_posts()) { $query->the_post(); ?> <table class="worterbuch"> <tbody> <tr> <td colspan="2" class="ueberschrift"><?php the_title(); ?></td> </tr> <tr> <td width="5%" class="sprache">HE</td> <td width="95%" class="inhalt-he"><?php the_content(); ?> </td> </tr> <tr> <td width="5%" class="sprache">EN</td> <td width="95%" class="inhalt"><?php the_excerpt(); ?></td> </tr> </tbody> </table> <?php } ?> <?php } else { echo "Keine weiteren Suchergebnisse"; } ?>
Anonymous(Private) November 13, 2017 at 1:07 pm #141612… here we have a different page where the infinite scroll works perfect:
<?php
/**
* Search & Filter Pro
*
* Sample Results Template
*
* @package Search_Filter
* @author Ross Morsali
* @link http://www.designsandcode.com/
* @copyright 2015 Designs & Code
*
* Note: these templates are not full page templates, rather
* just an encaspulation of the your results loop which should
* be inserted in to other pages by using a shortcode – think
* of it as a template part
*
* This template is an absolute base example showing you what
* you can do, for more customisation see the WordPress docs
* and using template tags –
*
* http://codex.wordpress.org/Template_Tags
*
*/if ( $query->have_posts() )
{
?><?php
while ($query->have_posts())
{
$query->the_post();?>
<table class=”worterbuch-he”>
<tbody>
<tr>
<td colspan=”2″ class=”ueberschrift”><?php the_title(); ?></td>
</tr>
<tr>
<td width=”5%” class=”sprache”>EN</td>
<td width=”95%” class=”inhalt-ivr”><?php the_content(); ?> </td>
</tr>
<tr>
<td width=”5%” class=”sprache”>DE</td>
<td width=”95%” class=”inhalt-ivr”><?php the_excerpt(); ?></td>
</tr>
</tbody>
</table>
<?php
}
?><?php
}
else
{
echo “אין תוצאות נוספות”;
}
?>
-
AuthorPosts