Make an image show in the sidebar on the blog pages only
-
Hey everyone,
I want to add an image to my sidebar, but I don’t want the image to show in the sidebar on my blog’s homepage ( http://www.lilwaynehq.com ).
So for example, when you view a page or a single post on my blog, I want the image to show in the sidebar.
Does anyone know how I would do this?
Also, this is the code which makes an image show on the homepage only:
<?php if (is_home()) { ?> CODE HERE <?php } ?>
So I think maybe it’s just a little editing of the above code to get this to work.
Thanks, appreciate it.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Make an image show in the sidebar on the blog pages only’ is closed to new replies.