Skip Navigation

[Resolved] Cannot create a comma delimited list from a field without line breaks

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to remove the auto paragraphs from their content.
Solution:

This can be done by wrapping your content with the [wpv-noautop] content[/wpv-noautop] shortcode.

This support ticket is created 6 years 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by nickH-5 6 years ago.

Assisted by: Shane.

Author
Posts
#1161662

I am trying to: create a list from a view loop. The list should be item1,item2,item3,item4..... but insteadd it is
item1,
item2,
item3,
item4,...

The view loop is :

[wpv-layout-start]
[wpv-items-found]

<!-- wpv-loop-start -->
<wpv-loop>
[wpv-noautop][types field="twitter"][/types],
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

#1161720

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nick,

Thank you for contacting our support forum.

Could you select the checkbox to enable the clean view output below the loop output editor.

This should help to remove the line breaks as well.
Thanks,
Shane

#1161756

I'm assuming you mean the "Disable the wrapping DIV around the View" checkbox?

I still get the problem. Here is the page : hidden link

Thanks

#1162945

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nick,

Could you try changing your theme?

SOmetimes the theme will add these auto line breaks.

Try switching to a default wordpress theme and let me know if the issue still remains.

Thanks,
Shane

#1163811

Sorry; the issue still exists in Twenty Nineteen.

#1163867

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nick,

I took a look at the code that you sent again and realise that you didn't close the [wpv-noautop] shortcode.
[wpv-noautop][types field="twitter"][/types],[/wpv-noautop]

Please try this as this should now start to work.

Thanks,
Shane

#1163959

My issue is resolved now. Thank you!