Separate gallery into multiple pages to reduce load time
-
I have one page that I upload photos onto daily, for about 90 days now, which has resulted in a very clunky and slow-to-load page. Is there a way that I can easily convert this to a page where only a certain number of photos are displayed at one time, and remaining photos can be found on subsequent pages (e.g. 1-25 photos on page 1, 26-50 photos on page 2, etc.)?
WP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
Hi there,
It is possible to add pagination but that will only result in the page being broken up into sub-pages for your site visitors.
However, this would not help with your issue of the editor loading slowly. To clarify, the gallery function in WordPress is not intended to be used to create a huge index of images (approx 1,500 so far) on a single page like this, so in the editor it’s struggling to render all images into the drag and drop view of the interface.
Instead you can create several separate pages (Gallery 1, Gallery 2, Gallery 3, etc.) with fewer image slideshows on each page. That is the only way to restore the performance of the editor, which is being overwhelmed by trying to render the current page you have created.
Once you have broken your one long gallery page into several smaller gallery pages, you can organize those as a “drop-down” in your menu, so that under the main Gallery tab if someone hovers their cursor they will see a drop-down with all the pages displayed under it. https://en.support.wordpress.com/menus/create-drop-down-menus/
For reference, this is what a drop-down menu would look like on your theme, so this would be a good way to keep all your gallery pages together in one place, but keep each page small enough (a couple of week’s worth of images, for example) that each one would be faster to load both for you in the editor, and for visitors to your site.
Hope that helps. Please let us know if you have any more questions.
- The topic ‘Separate gallery into multiple pages to reduce load time’ is closed to new replies.