Skip Navigation

[Gelöst] Third-party shortcode registration

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

I want to register a Third-party shortcode, which contains quotation marks. Example: [blabla return="something"]

Solution:

You only need to register the shortcode name , without the shortcode attributes.

Relevant Documentation:

https://toolset.com/documentation/user-guides/shortcodes-within-shortcodes/

This support ticket is created vor 6 Jahren, 4 Monaten. 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 6 Jahren, 3 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#1084693

Tell us what you are trying to do?
I want to register a Third-party shortcode, which contains quotation marks. Example: [blabla return="something"]

Is there any documentation that you are following?
Yes. But it doesn't help me: https://toolset.com/documentation/user-guides/conditional-html-output-in-views/using-shortcodes-in-conditions/

Is there a similar example that we can see?

Nope. I want to create a conditional output like: [wpv-conditional if="( '[blabla return="something"]' eq 'somehting' )"] Show specific content[/wpv-conditional]

What is the link to your site?
versteckter Link

#1085430

Hello,

You only need to register the shortcode name "blabla", without the shortcode attributes.

See our document:
https://toolset.com/documentation/user-guides/shortcodes-within-shortcodes/
Shortcodes within Shortcodes – Control Any Shortcode with Types Fields

#1085796

Thank you!

#1087146

You are welcome