Skip Navigation

[Resolved] Output Access wraps in tags

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

Problem:

The issue here is that the user's access shortcode is displaying P tag around their text inside the access the shortcode.

Solution:

You can remove the p tags by adding raw="true" attribute to the shortcode.

This support ticket is created 6 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
- 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 2 replies, has 2 voices.

Last updated by Dido 6 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1104614

I have this code in my editor:

For example, do you know what [toolset_access role="Administrator,HE Owner" operator="allow"]hidden link & Tools -Tips (F) and advice House exchange - definitief.doc" rel="noopener">the ideal pH of the water in a swimming pool[/toolset_access][toolset_access role="Administrator,HE Owner" operator="deny"][simple_tooltip content='please hidden link">register first']the ideal pH of the water in a swimming pool[/simple_tooltip][/toolset_access] is?

This is the front end:
For example, do you know what <p>hidden link & Tools -Tips (F) and advice House exchange - definitief.doc" rel="noopener">the ideal pH of the water in a swimming pool</p>
is?

Why is the access text wraps in <p> tags?

is it because of using a Tooltip shortcode?

#1104671

Shane
Supporter

Languages: English (English )

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

Hi Dido,

Thank you for contacting our support forum.

You can remove the p tags by adding raw="true" attribute to the shortcode.

Thanks,
Shane

#1104718

This works perfectly, thank you Shane!