Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

PHP code in my sidebar

Started by Muut Archive 9 years ago · 1 replies · 453 views
9 years ago

Hello, I have Grav running using the antimatter theme. When you have a blog on the right side there is a sidebar. I changed the text, but I would like to include a small PHP script in there. How can I do this?

9 years ago

You can't put PHP script in to Twig . This is for security reasons. What are you trying to do with the PHP?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1330 9 years ago
Archive · by Muut Archive, 9 years ago
2 922 9 years ago
Archive · by Muut Archive, 9 years ago
2 4052 9 years ago
Archive · by Muut Archive, 9 years ago
1 2930 9 years ago
Archive · by Muut Archive, 9 years ago
3 1109 9 years ago