WordPress.org

Forums

Define variable in theme code and access it form a post content (1 post)

  1. superwillyfoc
    Member
    Posted 7 years ago #

    Hi,
    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,
    Guille

Topic Closed

This topic has been closed to new replies.

About this Topic