• Hello guys.

    Is there a way to set some global variable (like global $wordpress) to force bloginfo() to work in .css and .js files converted to php?

    I have to pass some variables to my CSS file so changed its extension to PHP and added php header information to them, everything works fine (and it’s valid, so don’t say I’m doing it wrong).

    And always when I try to put any wordpress functions into my stylesheet php files I’m getting this message.

    What to do?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: call to undefined function bloginfo().’ is closed to new replies.