Retired Documentation:  You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.

PHP and EE Tags are not parsed in the Stylesheet

When including PHP and CSS tags in the stylesheet they are not parsed by the template parser.

Parsing PHP and EE Tags in the Stylesheet

When using ExpressionEngine to link to stylesheets, the typical way to do this is by using the standard {stylesheet=weblog/weblog_css} type syntax. When EE uses the {stylesheet=} tag, two special things happen:

If parsing PHP and EE tags is a requirement then there are two options:

Top of Page