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 · 458 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 1333 9 years ago
Archive · by Muut Archive, 9 years ago
2 924 9 years ago
Archive · by Muut Archive, 9 years ago
2 4055 9 years ago
Archive · by Muut Archive, 9 years ago
1 2933 9 years ago
Archive · by Muut Archive, 9 years ago
3 1110 9 years ago