Forum Replies Created

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

    (@refael)

    Hi again and thank you again!

    i managed to get the style with the php to work now the pages load.
    the question is how do i define the “is_page” or how it knows which page is it?

    <style type="text/css">
    #site_left_column div.home_bg {background-image: url(<?php if(is_page('unternehmen'))echo bloginfo('template_url').'layout/side_menu.gif'; else echo bloginfo('template_url').'/layout/side_menu1.gif'; ?>);}
    </style>
    Thread Starter refael

    (@refael)

    Hi alchymyth
    thank you so much!
    I just tried to have this up in the header.php while changing the variables and page names. for some reason the pages doe not load it looks like this is blocking something…. also how can it determine which page is being viewed? so i create a tag i am just using e,g, (‘products’)

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