Skip Navigation

[Resolved] pagination in gallery

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 4 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 3 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2656873

Is it possible to set a pagination in a grid gallery?

Thank you very much.

#2657043

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for contacting our support.

I assume you're using the Toolset gallery block. It is possible to add pagination.

You first add a view looping through the CPT where the images are available.

Then you place the gallery inside the view and control the pagination directly in the view, please check the screenshots:

https://toolset.com/wp-content/uploads/2020/09/1795707-Screenshot_2020_09_30_at_8.57.48_AM.png
https://toolset.com/wp-content/uploads/2020/09/1795707-Screenshot_2020_09_30_at_8.57.38_AM.png

Please give it a try and let us know the results.

Best,

Mateus

#2659655
screenshot01.png
screenshot02.png
screenshot03.png

Hi again,
i have created the view, and is paginated. The problem now is that the images that shows ther're not de images of the group of fields.

As attachment you can find some screenshots where you can see:
1. How is the front view right now
2. How is the back front of this page editing the template.
3. What are the real pictures which should be shown. They're in the group of fields "Galeria"

What should I do to show in every custom post type only the images of every service?

Thank you in advance,

I think I'm nearer.

Naomi

#2660273

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2661679

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for sharing those details.

I noticed that you were editing the single post content template instead of what I initially thought, which was to loop through all your posts of the Custom Post Type (CPT) 'Servicios' and display the gallery for each one of them.

Since it's a single post, you don't need to create a view. Simply select the gallery component as a block and use the dynamic source to load the current post's images.

However, please note that the gallery component doesn't have a pagination feature. The closest option would be to use the 'Slider' component and limit the number of pictures shown at once. This will enable navigation buttons. You can find more information here:

https://toolset.com/course-lesson/creating-sliders-with-dynamic-post-content/
https://toolset.com/block-item/image-slider/

I've gone ahead and implemented this approach for you to take a look at. Unfortunately, this is the closest built-in alternative available for what you're trying to achieve at the moment.

If you have specific features you'd like to see in Toolset, you can suggest them to our product manager using this form: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

As a workaround, you may want to display the images using a repeating field block and implement your own slider, using your own Javascript code, or a 3rd party library. Check these libraries:
- hidden link
- hidden link
- hidden link
- hidden link

If you need assistance with implementing any of these solutions, you can check our contractors page at: https://toolset.com/contractors/

Our sincere apologies for any inconvenience.

Best,

Mateus