Forums › Forums › Search & Filter Pro › Pagination not working
- This topic has 25 replies, 2 voices, and was last updated 8 years, 11 months ago by
Trevor.
-
Anonymous(Private) October 20, 2016 at 12:56 pm #65321
Hello Trevor,
sorry for the late reply. Yesterday we were working in other project.We work with a child of Twenty Sixteen theme where we have set new CSS to change all the styles. Also, we have rewritten some templates but we haven’t added or changed too many things. They are more or less the defaults with maybe a new div or something like that.
We have solved one of the two issues we had: Now the pagination is working properly. The problem was that we had defined a div for the search results and we had left out the pagination part. We didn’t know it was necessary to put the pagination inside that div.
So now, we are focused in solve the other question: when something with no results is searched, the results don’t change. They stay as they were after the last query.
If you have anything to help us, just let me know, please.
The page with the filters is here: http://www.gizatea.net.mialias.net/productos-y-serviciosThanks in advance.
Trevor(Private) October 21, 2016 at 10:11 am #65536I think I can see a problem, but not where it is. You have edited the 2016 theme and made mistakes with the html. In each article I can see a broken
</ul>
ending, e.g.<article id="post-331" class="post-331 empresa type-empresa status-publish hentry promotora-penascal-s-coop-i-s ambito-autonomico provincia-bizkaia sector-alimentacion"> <header class="entry-header"> <h2 class="entry-title"><a href="http://www.gizatea.net.mialias.net/productos-y-servicios/ekoizan-s-l/" rel="bookmark">EKOIZAN, S.L.</a></h2> </ul> </header> <!-- .entry-header --> <ul class="contact-info"> <li class="tel"><i class="icon-phone" aria-hidden="true" title="Teléfono"></i><span class="screen-reader-text">Teléfono: </span>944 700 704</li> <li class="url"><i class="icon-globe" aria-hidden="true" title="Página web"></i><span class="screen-reader-text">Página web: </span><a href="http://http://www.ekoizan.com" target="_blank">http://www.ekoizan.com</a> </li> </ul> <div class="servicios_short">Comercio productos ecológicos: alimentos frescos, alimentos no perecederos, comida preparada.</div> <footer class="entry-footer"> </footer> <!-- .entry-footer --> </article>
Look in the article header, after the closing h2.
Then, after the nav section (after the articles, there is a closing
</main>
, which shows as an error. I think there SHOULD be a closing</div>
before it, which closes the search-results div (between the closing nav and closing main)?<nav class="navigation pagination" role="navigation"> <h2 class="screen-reader-text">Navegación de entradas</h2> <div class="nav-links"><span class='page-numbers current'><span class="meta-nav screen-reader-text">Página </span>1</span> <a class='page-numbers' href='http://www.gizatea.net.mialias.net/productos-y-servicios/?sf_paged=2'><span class="meta-nav screen-reader-text">Página </span>2</a> <span class="page-numbers dots">…</span> <a class='page-numbers' href='http://www.gizatea.net.mialias.net/productos-y-servicios/?sf_paged=5'><span class="meta-nav screen-reader-text">Página </span>5</a> <a class="next page-numbers" href="http://www.gizatea.net.mialias.net/productos-y-servicios/?sf_paged=2">Próxima página</a> </div> </nav> </main> <!-- .site-main --> </div> <!-- .content-area --> </div> <!-- .site-content -->
Anonymous(Private) October 21, 2016 at 2:06 pm #65571We have been working in this templates last days and as you have warned me, there were some errors because we hadn’t revised all the code yet. I have fixed the things you told me, but that weren’t causing the problem; the problem persists.
Thanks for the effort, I hope we can fix this soon!
-
AuthorPosts