Thanks!
]]>I’ve accidentally made it a number so large that I get a “Bad Gateway” due to slow server response whenever I try to load the Address Book page, so I cannot make the change the usual way.
Any help appreciated!
]]>I have a woocommerce site and have this issue: On shop page every page on shows different amount of products.
I updated to latest version of WordPress and woocommerce, Disabled all modules with no luck.
I’m using Flatsome theme but this is happening also on default theme.
Any one know what can be the issue?
Thank you,
Eran
Example:
I currently display 12 products per page across all devices.
What Id like:
Screen sizes >= 1024 = 12 products per page
Screen sizes >= 769 && <= 1023 8 products per page
Screen sizes <= 768 = 6 products per page
Is this something that is currently achievable? Ive had a google around and cant really see these options. I came across this.
https://docs.woocommerce.com/document/change-number-of-products-displayed-per-page/
Id like to be able to do this over the shop home page and the shop categories.
Many thanks
]]>I found and followed the directions here:
https://docs.woocommerce.com/document/change-number-of-products-displayed-per-page/
// Display 24 products per page. Goes in functions.php
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );
It works, almost.
The site where I’m using it has a lot of sold out items. It seems like the sold out items are counted in the loop, leaving fewer than expected to display on the page.
I’m looking for a way to consistently display the chosen number of items per page, except of course the last page.
]]>In WP, I had changed my ‘Number of posts per page’ (post type options on top pf the page) setting to 50 because the default 20 items weren’t enough for my usecase. I did this because I couldn’t sort further than 20 items using ‘Post types order’. Click and drag functionality of this module doesn’t empower me (at least, it seems, as far as I could test) to shift an item from page 1 to page 2 and so forth.
Well, changing my WP setting to 50 seemed to solve the issue (I had 25 items to sort in my usecase) as I would be able to freely pull and reorder items. No, the problem, as I found after pulling some hair out of my head, is that I could resort items within the 20 posts per page limit. If I was to pull item from position 25 to position 16, my change would be completely ignored.
After downloading and playing around with the source code to try to sort out the problem, I could solve the issue by changing $objects_per_page to ’50’, instead of the default ’20’ on file ‘cpto-class.php’, line 175. Now the plugin can atually ‘see’ 50 items per page and I can do whatever resort I need. Of course I would have problems if my number of items was to climb to 60.
This was of course a quick and dirty fix, of course, as the problem doesn’t get solved. My best guess is this line 173 should be somehow fixed:
$objects_per_page = get_user_meta($userdata->ID ,'edit_post_per_page', TRUE);
It should pull the number of items per page I have set for the post type being edited.
Please, let me know if this is the appropriate channel for sharing this sort of fix request. I will be eager to help in case you need.
]]>“Bulk Chunk Size” under settings didn’t change my assistant view.
https://www.ads-software.com/plugins/media-library-assistant/
]]>NEW: Added ngg_manage_galleries_items_per_page filter
NEW: Added ngg_manage_galleries_items_order filter
NEW: ngg_manage_galleries_items_orderby
Where are they located?
https://www.ads-software.com/plugins/nextgen-gallery/
]]>I have a plugin that has listed a lot of data/items in the back end. I wanted to view all the items (just over a thousand) on one page, so I set the screen options to view 999 items.
Unfortunately, the page now takes so long to load that I get an error message.
Is there a way to reset the number of items per page, without actually being on the page? I tried deactivating and reactivating the plugin, to no avail.
The error is a 500 internal server error. It pops up after about 60-90 seconds of loading time.
]]>Can you, friend, modify the code of the plugin, to include this posibility to sort subscribers from status?
Also, can you add an option to limitate the number of items per page, in the view of Subscribers page?
https://www.ads-software.com/plugins/email-subscribers/
]]>