Timber not work with Elementor
-
I have latest version of elementor and wordpress.
I have Timber plugin and twig base theme https://github.com/timber/starter-themeWhen I try to create Header Template, it will give the error :
You must call ‘the_content’ function in the current template, in order for Elementor to work on this page.
– Deactivate all other plugin that may cause issue
– I have tried :
ob_start();
the_content();
ob_end_clean();
————————————————————————–
as Timber can call PHP functions, you just have to replace
{{post.content}}
within your Twig script with :
{{ function(‘the_content’) }}please note : Elementor work well with default theme.
- The topic ‘Timber not work with Elementor’ is closed to new replies.