Skip Navigation

[Gelöst] Trying to add a simple gallery slider for a CPT

This support ticket is created vor 1 Jahr, 2 Monaten. There's a good chance that you are reading advice that it now obsolete.

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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Dieses Thema enthält 7 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Christopher Amirian vor 1 Jahr, 2 Monaten.

Assistiert von: Christopher Amirian.

Author
Artikel
#2644383
Screenshot 2023-09-15 at 1.44.16 PM.jpg

I have tried to add a simple slider to my CPT of Artist.

On the single artist view I've inserted a view I created with this code: [wpv-view name="gallery-images-for-artists"]

The view is returning images:
1. Not the right images, returning all images uploaded to that field regardless of the post.
2. The images are not in the slider format shown in the block.
3. When previewing the block for Tom Riefe it shows the same 3 pictures over and over.

Basically, I am having lots of trouble adding a simple slider for an artist.

#2644619

Christopher Amirian
Supporter

Sprachen: Englisch (English )

Hi there,

Would you please use the method below instead of the shortcode? This is a standard method that you can use with Toolset blocks:

https://toolset.com/course-lesson/creating-sliders-with-dynamic-post-content/

Thanks.

#2644659
Screenshot 2023-09-17 at 11.40.56 AM.jpg
Screenshot 2023-09-17 at 11.40.35 AM.jpg
Screenshot 2023-09-17 at 11.40.25 AM.jpg
Screenshot 2023-09-17 at 11.40.14 AM.jpg

Hmm. Sorry I watched that video, but it's hard to understand since I'm not creating a standing alone page. I need this to be part of a content templated that can be consumed by a view that is inserted into a single post type page.

#2644977

Christopher Amirian
Supporter

Sprachen: Englisch (English )

I will need to see how you implemented the content template and view and how you inserted that to the page to be bale to see if I can identify the issue.

I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

Please give me the URLs of the Content template View and Page in uestion.

#2645365

Any updates?

#2645739

Christopher Amirian
Supporter

Sprachen: Englisch (English )

Hi there,

Thank you for the login information, as you use a legacy view and there is no way to mix and match the Block editor and legacy views, you need to use this method to create a gallery:

https://toolset.com/documentation/legacy-features/views-plugin/create-image-galleries-using-repeating-custom-fields/

If you want the newer method you will need to make sure you enable the block editor and use this method:

https://toolset.com/course-lesson/dynamic-galleries-and-sliders-for-templates-displaying-repeating-image-fields/

Thanks.

#2645755

This did not help.

#2647191

Christopher Amirian
Supporter

Sprachen: Englisch (English )

Hi there,

I used the steps mentioned int he legacy documentation and you can see that the gallery now shows ok here:

versteckter Link

Thanks.

#2647215

No more assistance needed on this. Toolset just didn't do what I wanted it to do, so I worked with the Theme.co team to use their native looper/consumer builder to provide what the client needed.