Show a Div only if on Home Page
-
I have a wordpress site up and want to include a particular div only when on the main page. I use static front page option in the options settings.
Can I in my page template with php say:
if page is x, then display this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Show a Div only if on Home Page’ is closed to new replies.