Wordpress header.php displaying different CSS depending on page? -


i'm in process of converting website wordpress site..and i've run problem

my homepage's header uses different class single_page header uses 2 different css ids .

right have homepage using inside header.php want display when you're on page (is_page) how that?

what need conditional tags: http://codex.wordpress.org/conditional_tags

if (is_page()) { } elseif (is_front_page()) { } else { nothing? } 

this question also: detect browsed page url in wordpress


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -