• Resolved baga

    (@baga)


    I was wondering if it is possible to use the “load more” function only on mobile and not on desktop.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    No, there is no way to do that.

    The “Load More” feature is reliant on the back-end operations; the button is shown if you have photos remaining, and that is determined by operations on the back-end, or more accurately, by the platform (e.g. Google). At that point, Google doesn’t really know (or care) about what the width of your screen is (which is the primary distinction between a mobile and a desktop).

    Thread Starter baga

    (@baga)

    Thanks for your quick reply. I was planning to use this feature on a native WP gallery.

    One more question: let’s suppose there are 50 images and I use this shortcode:

    <?php echo do_shortcode('[gallery link="file" style="random" count="10" more="Load more"]'); ?>

    Is it possible that when clicking the “load more” button, all the remaining 40 images are loaded in once?

    Plugin Author Sayontan Sinha

    (@sayontan)

    No – it is not possible to have differing page sizes. The first page and the rest of the pages, all need to be of the same size.

    Thread Starter baga

    (@baga)

    Alright, thanks for clarifying this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.