• Resolved trulyfurqan

    (@trulyfurqan)


    I noticed that pagination isn’t working on the “All Locations” and “All Categories” pages. Although there’s an option in the admin panel to adjust the number of items displayed per page, it has a limit of 100. This means that if you have 500 locations, only the first 100 will display, with the remaining 400 never being shown due to the lack of pagination.

    In the file located at “wp-content\plugins\directorist\includes\model\ListingTaxonomy.php”, I found that you can increase the limit by modifying the “cat_per_page” and “loc_per_page” array elements. However, this causes all items to appear on a single page.

    I have 10000+ locations and want to display 20 locations per page with pagination for the rest, how can I achieve this?

    —–

    I have another question. I have locations organized by Countries, States, and Cities. Is it possible to display only the Countries on the “All Locations” page, and when someone clicks on a Country, it shows its States on a separate page? Then, when someone clicks on a State, it displays its Cities, and only when someone clicks on a City will the Listings be shown?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support rashed848

    (@rashed848)

    Hello trulyfurqan !

    Thanks for raising your concern with us.

    Indeed the All location page and the All category page do not allow you to add more than 100 listings per page. The system has set the limit for certain reasons. Since you are going to have more that 10000+ locations, the pagination will be the only solution in your case. Although currently the All location page as well as the All category page do not have a pagination feature, we can provide you custom solution considering you situation. Therefore, kindly reach us through our technical support channel from our website. We will try our best to help you out.

    As of now, the single location/category page(parent) does not contain the child location/category in the Grid view. However, if you use the listing view, you can show the child locations/ categories in the single location/category page. If you want such feature in the grid view, we can provide you a custom solution.

    Kind Regards.

    • This reply was modified 2 months, 2 weeks ago by rashed848.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.