Skip Navigation

[Resolved] Extra is inserted below content

This support ticket is created 6 years, 4 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

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

This topic contains 2 replies, has 2 voices.

Last updated by BarbaraD9652 6 years, 4 months ago.

Assisted by: Noman.

Author
Posts
#948476
Screen Shot 2018-07-16 at 12.45.52 PM.png
Screen Shot 2018-07-16 at 12.49.38 PM.png

Hi,

Per screenshots below, an empty paragraph tag with bottom margin is being inserted into the HTML output that shouldn't be there (it's not in the layout).

Not sure if this is Toolset interacting with the WordPress content editor or something else. I need help removing this extra <p> because it's adding unwanted space between elements.

One example of where this happens: hidden link

Thank you.

#948506

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting Toolset support. You can use [wpv-noautop] shortcode above that particular field in the View’s Content Template.

And change Content Template >> Settings to >> Manual paragraphs. You can find the Content Template related to your View under:
Toolset >> Content Templates >> Loop item in Directory View 2.

Shortcode doc: https://toolset.com/documentation/user-guides/views-shortcodes/#vf-310704

This way auto-paragraph will not work on the particular fields which are within this shortcode. For example:

[wpv-noautop]
Your content or template code here.
[/wpv-noautop]

I hope this resolves the issue, thank you

#949259

Thank you!