Tagged: x
-
AuthorPosts
-
January 25, 2017 at 5:35 pm #1345445
jgladdingParticipantI’ve read a couple other threads, what is the status of the issue where a portfolio filtered entry doesn’t show because its on another page when limiting portfolio items shown?
Thank you
January 25, 2017 at 10:38 pm #1345821
Rue NelModeratorHello There,
Thanks for writing in! Please keep in mind that the pagination and portfolio filter works separately. The pagination is in charge of moderating the display of number of the items on a page and the portfolio filter is in charge of filtering the items within the page. The portfolio filter is very useful if you have chosen to display more than 20 items items per page.
Hope this make sense. Thank you for your understanding.
January 27, 2017 at 10:42 am #1347927
jgladdingParticipantI get that part, my issue is if:
1. I’ve limited the number of items shown
2. I turn on filtering
3. I choose a filtered category
4. The first item in that category is on, lets say, page 3, so…
5. When I pick that filter category, zero items show upI have seen that as an issue in the forum as far back as maybe 2014? Is that in the works to be corrected and when? I currently cannot show anything less than all of my portfolio items (for the purpose of faster page loading) and use filtering at the same time.
Thank you
January 27, 2017 at 10:52 pm #1348572
RadModeratorHi there,
It’s not an issue, it’s been like that as is. Paging is done through WP_Query on the server side, while the filter is done through javascript on the browser side. The filter will only display the items available on the current page, even if the items are present from the next page. If the current page doesn’t have the item for that specific category then it will return zero.
I understand what you’re trying to explain, but for it to work, Paging and Filter should be executed through server side at the same time. And that’s only possible through AJAX implementation which isn’t present on current portfolio home page. This is added as the feature request but I’m not sure its status yet.
What you could do for now is implement the Essential Grid, it’s bundled for that purpose and it uses AJAX for filtering and paging.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1345445 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
