Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter SpeedyLeon

    (@speedyleon)

    Wop, lets backtrack! ??

    Thanks Tom, your post gave me a good idea of an alternative way to solve my problem using your advice, I really appreciate the help =]

    Have a good one.

    Thread Starter SpeedyLeon

    (@speedyleon)

    I dont think thats quite what I mean.

    In header.php you have the following:

    <body <?php body_class(); ?>>
    <div id="page" class="hfeed">
    header id="branding" role="banner">

    ETC.

    I was hoping to be able to call that div conditionally. So that if its the homepage, it will call div id=”page” with a different class (say, class=”home”) and if it wasnt the home page, it would call it with class=”hfeed”.

    Is such a thing doable?

Viewing 2 replies - 1 through 2 (of 2 total)