Sauter la navigation

[Résolu] View Slider display only the image and title of the first article

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

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 9 réponses, a 3 voix.

Dernière mise à jour par francescoG-3 Il y a 5 années et 5 mois.

Assisté par: Nigel.

Auteur
Publications
#1312297

I am trying to: Build a post slider. I have created it on lien caché, and I have exported and imported it using Toolset Modules plugin

Link to a page where the issue can be seen: lien caché

I expected to see: the post slider display all posts image, title, and meta

Instead, I got: that are displayed only the image, title and meta of the first post, and after the first slide, the image, title and meta of the other posts disappearing, displaying only the slide controller

#1312951

Hi Francesco,

Thank you for waiting, while I performed troubleshooting around the slider.

Your view for the slider ( "Post Slider Ridimensionato" ) is using content generated using DIVI Builder. There is a known limitation where content designed using Divi Builder will not display in a View that uses AJAX pagination.

More details about this are available in our documentation:
https://toolset.com/documentation/recommended-themes/toolset-divi-integration/known-issues-between-divi-and-toolset/

To overcome this, you can follow these steps:

1. Please remove the shortcode "[wpv-post-body view_template="elemento-del-ciclo-in-post-slider-ridimensionato"]" and paste all the content from the loop item content template directly at its place.
( screenshot: lien caché )

2. The CSS code that is added in "CSS editor" tab under the loop item's content template, will also need to be moved to the "CSS editor" tab under the "Loop Editor" section.
( screenshot: lien caché )

I hope this helps and please let me know how it goes.

regard,
Waqar

#1313065

Hi Waqar,
thanks for your reply.
But, why in lien caché it works fine?

So, yes, I use Divi Builder, but after the construction of section I need, I don't use the Divi shortcode into the Content Template, I take the HTML structure and I replace the
.et_pb_section_0
.et_pb_row_0
.et_pb_text_0

.et_pb_section_1
.et_pb_row_1
.et_pb_text_1

.et_pb_section_2
.et_pb_row_2
.et_pb_text_2

with a dedicated CSS class (for example .et_pb_section_0 become elemento-slider, ecc..)

I will try your solution soon.

#1313271

Hi, Yes, now it works, but it is strange. In inonda.tv works with content template!!!
Thank you!

#1313279

Hi Francesco,

Thanks for writing back.

This limitation is related to the content edited and generated through DIVI Builder and is not specific to DIVI shortcodes.

My tests confirm that instead of bypassing the content template ( [wpv-post-body] ) completely, only introducing suppress_filters="true" attribute also fixes this.

Instead of following the two steps from my last message, you can simply update your content template shortcode to:


[wpv-post-body view_template="elemento-del-ciclo-in-post-slider-ridimensionato" suppress_filters="true"]

I'll have to see and troubleshoot exactly what is different in the slider view used in the lien caché website, but the admin user that you've shared doesn't seem to have the privilege to access that parent site on the network.

regards,
Waqar

#1313287

Hi Francesco,

Thanks for the update and sorry I missed your last reply earlier.

Glad that it works and you're welcome to share admin user access if you'd like us to investigate why this is working at lien caché website.

I've set your next reply as private.

regards,
Waqar

#1313293

Hi, your user access is now active also for the inonda.tv

#1315357

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Francesco

Waqar has some days of holiday so let me help here.

I've just read through the ticket to understand the issue.

I'll take a look at the two sites and compare how the sliders are set up and I'll come back to you with my findings.

#1315433

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Francesco

The only difference I see between the original site—where it works without using the suppress_filters="true" attribute—and the new site—where it does not—is that when editing posts on the original site the Divi editor doesn't activate.

There are Divi shortcodes in the post content, but when you edit the posts you don't get the Divi editor UI in the same way that you do with the new site.

The expected behaviour is as seen on the new site, where the suppress_filters attribute is needed (or moving the content from the template to directly within the wpv-loop tags). I can't say why it works without this on the old site except that it seems to be related to the post content created with Divi which works differently on the two sites when editing the posts themselves.

#1318231

My issue is resolved now. Thank you!