flyntwp / flynt

Component based WordPress starter theme, powered by ACF Pro and Timber, optimized for a11y and fast page load results.
https://flyntwp.com
MIT License
727 stars 83 forks source link

How can we call the shortcodes in flynt ? #542

Closed rajpatel2435 closed 7 months ago

rajpatel2435 commented 7 months ago

Discussed in https://github.com/flyntwp/flynt/discussions/541

Originally posted by **rajpatel2435** March 26, 2024 Hey guys, is there anyone who has the complete documentation for flynt? As I started working on this theme for my new project. But I am not sure how can i start? Any advice would be highly appreciated!! Thanks
timohubois commented 7 months ago

@rajpatel2435 thanks for opening the issue.

To render shortcodes you can take a look at the Twig Filters of the timber documentation here: https://timber.github.io/docs/v2/guides/twig-filters/#shortcodes

And for layouts with shortcodes you find also details here: https://timber.github.io/docs/v2/guides/shortcodes/#layouts-with-shortcodes

In general I think the subject and the topic is not an issue of the theme itself, because shortcodes should work as aspected or did you run in any trouble while processing shortcodes?