Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Shortcode inside a shortcode inside a shortcode

$
0
0

Replies: 0

I checked but I couldn’t find a similar topic. I’m using Formidable Forms Pro plugin and I noticed I can’t make Private to work when a shortcode is inside a shortcode, executing it from that second level.

In Formidable Form Pro, there is a display shortcode that renders a View from a form data. Then I can use Private with no problem inside this View called by the shortcode:

This:
[display-frm-data id=x param=y]

Display a View with fields and I can put a [private role=administrator]content[/private] there.

But if this view contains another shortcode to display a nested view, this is:

[display-frm-data id=view1 filter=limited] <- first FF shortcode
renders:

View1
[display-frm-data id=view2 param=pass_field]

I can’t make to work the Private content shortcode in that nested second view. It shows the syntax of the shortcode itself:

[private role=administrator]content[/private] <- it shows all this.

Is there something I’m missing or it can’t work in the second nested view?


Viewing all articles
Browse latest Browse all 59525

Trending Articles