-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide Shortcode param Interface at Page Level #6579
Comments
I don't see how. Params are per shortcode used, and you can use the same shortcode multiple times per content file. |
true, but if the content has been parsed to find the shortcodes, i would assume that it could have access at that point to each shortcode's param values? My use case is: I wand to have multiple canvases one one page (using a Currently there is no way to indicate at a page level these different dependencies. Of course I could have differently named shortcodes to indicate this -- this wouldn't be very DRY. |
That's true, I guess. But I need to think some about this. |
So, we have
.HasShortcode
to tell us, at a page level, if a shortcode is used. It would be useful to be able to access the shortcodes' params at this point, too, to allow for some finer grain control .The text was updated successfully, but these errors were encountered: