How to Added Shortcodes/php function Breadcrumb in the theme? #509
-
I Used Rank Math Plugin to added shortcodes/function Breadcrumb, how to display it in theme? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@SL33pxxs: You can call all PHP functions directly with timber in combination with the native do_shortcode function:
Or use the timber filter as @aaronmeder noticed here: #509 (comment) |
Beta Was this translation helpful? Give feedback.
-
Hey @SL33pxxs An easy way to use shortcodes in Timber's Twig Templates is by using the shortcodes filter: See some other ways here: Is that what you were looking for? |
Beta Was this translation helpful? Give feedback.
@SL33pxxs: You can call all PHP functions directly with timber in combination with the native do_shortcode function:
{{ function('do_shortcode', '[YOUR_SHORTCODE_HERE]') }}
Or use the timber filter as @aaronmeder noticed here: #509 (comment)