If not index show other div
-
Hi all
At the moment the image is shown sitewide as it is in sidebar1.php file which is included in my theme index page like this<?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
I have another div that I want to show in its place on all other pages.
<!--shows if index --> <div class="art-sidebar1"> <div style="height:430px;"><img align="right" src="/media/banner.jpg" alt="" width="160" height="430"/> </div> <!-- want to show if not index--> <div> </div>
How can I do this? Maybe do a text widget instead?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘If not index show other div’ is closed to new replies.