Skip Navigation

[Resolved] Views generating blank spaces despite the "Disable the wrapping DIV" option

This support ticket is created 5 years, 2 months ago. 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
- 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)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#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

Languages: English (English )

Timezone: 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.