Skip Navigation

[Résolu] Views generating blank spaces despite the "Disable the wrapping DIV" option

This support ticket is created Il y a 5 années et 2 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Marqué : ,

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

Dernière mise à jour par Minesh Il y a 5 années et 2 mois.

Assisté par: Minesh.

Auteur
Publications
#1353129

I have a view that is supposed to just print out the number of posts found. It does so but adds two 3 spaces in front of the number, which causes some issues with another plugin I am trying to feed that number into.

Views has come a long way with the introduction of "Disable the wrapping DIV around the View" but its still causing issues despite that option.

Here is my loop:
`[wpv-layout-start][wpv-items-found]<!-- wpv-loop-start -->[wpv-found-count]<wpv-loop></wpv-loop><!-- wpv-loop-end -->[/wpv-items-found][wpv-no-items-found]0 [/wpv-no-items-found][wpv-layout-end]`

Here is the output:
`

114`

My problem is with all the empty spaces before the 114. How do we get rid of those?

Thank you
Adrian

#1353379

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I need problem URL and access details to check how and where exactly you added the view and whats going wrong there.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.