Hi @generosus,
We have made some improvements to the display structure in version 5.0.0 and onwards.
Regarding your request to change the display to show 10 rows, we currently do not have a specific filter available for that purpose. However, you can make the desired modification by following these steps:
- Locate the file wp-analytify-dashboard.js, which can be found at analytify-analytics-dashboard-widget/assets/js/wp-analytify-dashboard.js.
- Open the file and navigate to line number 153.
- Replace the existing code on that line with the following:
<table class="analytify_data_tables wp_analytify_paginated" data-product-per-page="10">
By making this change, the display will now show 10 rows instead of the default 5.
I hope this solution is helpful to you. If you require further assistance or have any other questions, please feel free to let me know.
Hey @jawadwp,
Thank you so much. We tested your solution and it works great.
Ideally, a filter would be nice to prevent plugin updates from wiping out the file change. Time permitting, perhaps you could develop one in the future.
Again, thank you.
@generosus your welcome!
I appreciate your suggestion regarding the filter and will definitely consider it for future updates.
Good Day!
At your next revision opportunity, can you guys add a new settings feature where we can increase the number of cities, etc. displayed from the default (5) to a number of our choosing? A filter (optional) — as mentioned above — would also work for us.
Thank you!