Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Assigned] Nested shortcodes

$
0
0

Dear Sridhark,

That way of nesting shortcodes works fine. What doesnt work if when you use a shortcode inside another shortcode attribute. This only works if the shortcodes inside the attribute are from our plugin.

For example, this works:

[wpv-if evaluate="'[wpv-post-taxonomy type="project-type" separator=", " format="text"]' != ''"]
Category: [wpv-post-taxonomy type="project-type" separator=", " format="link" show="name" order="asc"]
[/wpv-if]

But using any other shortcode inside evaluate wont work, you can only use Types and Views shortcodes in there.
I will ask the documentation team to review this page and correct the text.

Thanks,
Caridad


Viewing all articles
Browse latest Browse all 20145

Trending Articles