• Resolved cssgutair

    (@cssgutair)


    Hey, I tried to add a smugmug shortcode to show a folder with “view more” to show more of the folders inside using the following format:
    [gallery type='smugmug' nick_name='username' view='folder' folder='folderkey' layout='square' count=20 start=1 more='View More']
    The count works for folders and photos but the view more button only works with the photos.
    Is there a way to use the more parameter for folders as well?

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

    (@sayontan)

    No, there isn’t. The more feature works only for albums and photos. The reason is that you may have 10 folders with 50 albums each – SmugMug doesn’t return information about pagination within each folder, so there is no way for the plugin to figure out where you need a more button and where you don’t.

    If you want to use pagination, I would suggest switching to the albums view.

    Thread Starter cssgutair

    (@cssgutair)

    [gallery type='smugmug' nick_name='username' view='albums' album='albumkey' layout='square' count=20 more='View More']
    I switched it to albums and it worked, Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using “more” for folders’ is closed to new replies.