Skip Navigation

[Resolved] Third-party shortcode registration

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

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 6 years, 3 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 – 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)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 6 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#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?
hidden 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