Variables in the Plain Twig block
-
I have some variables that are set in the Twig for our site. I am not able to reference these in the Plain Twig block for the plug-in.
I have tested, and these variables (both set in the function.php and specific php templates through the context array) can be called in other twig files embedded in the same page template. However, the same references do not work in the Plain Twig blocks in WordPress. Is this possible? Can the be referenced?
Many thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Variables in the Plain Twig block’ is closed to new replies.