Skip Navigation

[Résolu] Output Access wraps in tags

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 5 années et 7 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 réponses, has 2 voix.

Last updated by Dido Il y a 5 années et 7 mois.

Assisted by: Shane.

Auteur
Publications
#1104614

I have this code in my editor:

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

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

is it because of using a Tooltip shortcode?

#1104671

Shane
Supporter

Languages: Anglais (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!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.