Hi hidden link
when i get to this page i find 53 theater companies and that's the right result.
if I choose family in Public I have 10 answers on the map(it's the good result)
but I still have all the companies in the bottom thumbnails with 5 pages of 12.
I would just like to display the thumbnails of the 10 companies.
It seems that your view isn't being filtered properly. What should happen is that the pagination should be removed if the results is less than your per page limit.
Would you mind allowing me to have admin access to the site to just check to see how you've set this up ?
The code was posted and submitted in this thread by error. Its not meant for your site.
However checking on your site I see that it is a custom archive page. hidden link
The problem is on this custom archive below i'm not able to see the search box for the filters nor am I able to find the pagination settings. hidden link
Could you let me know where the pagination is located?
I'm assuming that you are using here to render the map, however when i removed this view the map dissappears.
[wpv-view name="les-marqueurs-compagnie"]
I also realise that you are rendering this view here on the page as well. hidden link
This is rendering the body of a completely different post type.
What I would recommend is that you streamline this and to use the archive template that you made only since there are duplicates. This could be what is causing the pagination to still appear even though you only have 10 items after searching.
Are you trying to filter 2 post types with the same archive template ?
I see the issue now, your theme is the culprit generating the pagination.
What you will need to do for this one is to hide the pagination for the theme and use our view pagination.
Even though the results from views is less the pagination still appears because your theme is hooking into all the results for this archive and adding the pagination.
Using our Views pagination will limit the pagination to the items the view displays. So I suggest hiding the theme's pagination with some css and adding the pagination from views.
Hi Shane
Thanks
Its ok with your solution
but
the button reinitialization desapear after search result
and about result
if select a company in the results for "cirque" I go to this page hidden link
and in the right column I have all the results and I would just like the results of the search with "cirque"
how i do that ?
Guy
Where the pagination is within the filter section.
For your second query you will need to add a taxonomy filter to the view below so that it filters the results based on the current page's taxonomy. hidden link