Skip Navigation

[Résolu] Slider View using custom field images

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem: I would like to create a Slider View using images from the current post's custom fields.

Solution: Currently the Slider View is designed to generate slides from multiple posts, but not custom fields within a single post. The functionality you describe has been requested in the past in several other tickets, but has not yet been implemented by our developers. The only way to accomplish what you are trying to do is by writing custom code.

Relevant Documentation: https://toolset.com/forums/topic/create-a-slider-with-multiple-images-from-image-fields/
https://toolset.com/forums/topic/creating-a-slider-with-a-custom-fields/

This support ticket is created Il y a 7 années et 8 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Marqué : ,

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Christian Cox Il y a 7 années et 8 mois.

Assisté par: Christian Cox.

Auteur
Publications
#479749

I have created views slider to display images from custom fields of custom post. In one of the custom post, images other than those specific to the post are displayed. In another, none of the images are displayed. Please help me sort this out.
Post in which all images are displayed
lien caché

Post in which none of the images are displayed
lien caché

I have used the following post parent filter while creating slider view
Media entries are children of the post that they are attached to

Thank You

#479906

Hello, thank you for contacting Toolset support. I understand that you would like to use images from custom fields of a custom post as slides in a Slider View. Currently the Slider View is designed to generate slides from multiple posts, but not custom fields within a single post. The functionality you describe has been requested in the past in several other tickets, but has not yet been implemented by our developers. The only way to accomplish what you are trying to do is by writing custom code. This forum post has the most helpful information:

https://toolset.com/forums/topic/create-a-slider-with-multiple-images-from-image-fields/

And another solution here:

https://toolset.com/forums/topic/creating-a-slider-with-a-custom-fields/

If you need professional help with this code, you can contact one of our certified partner contractors. Here is the list of our contractors:
https://toolset.com/consultant/

Please let me know if I can be of further assistance with this.

Ce ticket est maintenant fermé. Si vous êtes un client de Toolset et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance