I need to define a new variable in my “header.php” file, use it modifying its value and then access it from a post content using PHP code.
Now I have tried it and I can’t see the variables from the content of a post.
Could you give some help?
Thank you very much,
- The topic ‘Define variable in theme code and access it form a post content’ is closed to new replies.