Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Shortcode-core via twig filter?

Started by Muut Archive 10 years ago · 1 replies · 653 views
10 years ago

Is it possible to use the shortcodes not only in the page.content. Because i am using different variables which could contain shortcodes. Is there a twig filter so i can render those shortcodes?

10 years ago

Shortcodes are processed in content only, so nope, there is no way to put them in twig where only twig is processed.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago