Hi,
Referring to this article here:
https://toolset.com/documentation/user-guides/custom-pagination-for-wordpress-archives/
I built a layout for my "categories" taxonomy archive. It does not use the automatic archive option, but the view uses "Categories the same as the current archive page", as I need to add custom search options using other taxonomies.
I followed all the steps. I need it to work with Ajax. i am not using "Forms" and not using 3rd party shortcodes, so ajax should be fine, according to the documentation.
I added pagination as per the documentation. it shows at the correct spot i want, however, when i click on any page (e..g pag2, 3, ..etc), it just shows empty pages.
you can test it here:
hidden link
this is supposed to have 13 paginations, when you click on any page number, all posts and the pagination itself disappear.
i tried placing the pagination in the "search and pagination" section, however the same results happen.
i also converted it to a manual not ajax, when i click on any number, the page reloads itself on page 1 again.
the pagination system works on other views for me that show posts based on taxonomy, but not the archive pages.
here is an example:
hidden link
Thanks for the details, the URL you mentioned above is a term archive page
hidden link
And you are using a layout to design above archive page:
hidden link
In above layout,there is a visual editor cell, it display a normal post view:
[wpv-view name="material-view-in-taxonomy-automatic-pages"]
The normal post view won't work as expected in the archive page, especially the AJAX pagination and AJAX serch features, you will need to setup a WordPress Archive cell to replace the visual editor cell. see our document:
https://toolset.com/documentation/user-guides/wordpress-archive-cell/
And you can also setup the custom search form in above WordPress Archive
https://toolset.com/documentation/user-guides/allowing-visitors-to-sort-the-front-end-results/
Then setup the pagination links:
https://toolset.com/documentation/user-guides/custom-pagination-for-wordpress-archives/
Hi,
Thanks for the reply.
the reason I did this is that the automatic archive cell does not work with Ajax.
even though the ajax options are available, the view highlights the "submit" button in RED.
also, when i choose anything from the dropdown lists, nothing change.
also, the choices in the dropdown lists are ALL the available options, not what's related to the posts only.
I have removed my views and created a new view as per your instructions. please review.
thanks.
Also, when i added the pagination, when i click on other pages (e.g. page2,3..etc), i get a "no items found".
thanks
Please refer to my other support ticket with more details about the problem.
https://toolset.com/forums/topic/problems-in-creating-custom-taxonomy-archive-page/
i ended up marking the other ticket as solved, becasue i used a normal view. however, it is proven now not to work.
please advise
thanks.
I can see the problem in your website, in case it is a compatibility problem in your website, please try these:
1) Deactivate other plugins and switch to wordpress default theme 2017, and test again
2) If the problem still persists, please provide a database dump file (ZIP file) of your website in below "private detail box", I need to duplicate same problem and debug it in my localhost, thanks.
Hi Luo,
I deactivated all plugins except Toolset and tested it 2 times. there is no change.
As for the database dump, my website is several hundred megabytes. Other WP Types support team members requested to take a copy of the website using duplicator, as it is better.
I installed and activated duplicator for you, and provided the login details to my website in my original message.
can you kindly please use this method to obtain a local copy to test?
please let me know when you had taken the copy.
thank you very much.
Thanks for the details, I can export the database dump file from your website, and have been able to duplicate the same problem in my localhost, I have escalated this ticket to our 2nd tier supporters, will update this thread if there is anything news.
Currently, I suggest you setup the WordPress Archive cell without AJAX pagination or AJAX search features, use below two options:
1) Pagination enabled with manual transition and page reload
2) Reload the page to update the View results + Show only available options for each input
See screenshot available-options.JPG
Hi,
Well, that's a major disappointment. this is a main feature in the system that i have been building for 7 month.
i switched to Toolset suite to enable users to filter properly, the way we wanted to present the material to them.
can you please update me as soon as you hear back?
thanks
Yes, I will update this thread if there is anything news.
It is confirmed as bug, and has been put into our to-do list, our developers are working on it.
Here is the feedback from our developers, it is fixed in next version of Views plugin 2.6.2, but I am not sure when will it be released, I suggest you subscribe to our blog to get the updated news:
https://toolset.com/blog/
Views 2.6.2 is released, you can download it here:
https://toolset.com/account/downloads/
please test it and feedback if it is fixed or not, thanks