Sauter la 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 6 années et 4 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.

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)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Dido Il y a 6 années et 4 mois.

Assisté par: 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"]lien caché & 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 lien caché">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>lien caché & 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

Les langues: Anglais (English )

Fuseau horaire: 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!