Skip Navigation

[Résolu] Rogue paragraphs being added to page

This support ticket is created Il y a 2 années et 1 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par peterJ-3 Il y a 2 années et 1 mois.

Assisté par: Waqar.

Auteur
Publications
#2486929

I am getting paragraphs being inserted into the page between all of my HTML elements.

This is only happening on one page, despite the page using a common Toolset template.

lien caché

#2487515

Hi,

Thank you for contacting us and I'd be happy to assist.

During troubleshooting, I noticed that a particular page's content is being passed through a number of content filters. The page uses the content template "Page: About", which loads the page's body/content, which includes a view "People: The board", which again calls the body/content of the view's result items through the "wpv-post-body" shortcode.

To avoid this overprocessing, I've added the suppress_filters="true" attribute to the "wpv-post-body" shortcode which seems to have fixed this.
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-body )


[wpv-post-body view_template="None" suppress_filters="true"]

( screenshot: lien caché )

regards,
Waqar

#2488847

My issue is resolved now. Thank you!

Greay support, as always, Waqar