Sidebar Tweaks
-
Happy New Year’s Eve all,
Hoping someone can provide me with an easy fix for this problem.
I would like the Archives portion of my sidebar to appear only on one specific page as well as each individual post page.
Please see – http://www.crozon.ca/
The part of the sidebar that says ‘Blog Posts’ I would like only to appear on this page – http://www.crozon.ca/blog as well as each individual post. Any ideas?
Thanks in advance for the help.
-
Is your sidebar widgetized? In other words, did you activate an archive widget to list your blog archive?
If so, download a spiffy little plugin called widget logic, and activate it. It’s a little tricky to set up. I will help you get it set up. If you are not using widgets for your sidebar, we’ll have to edit your sidebar file.
Thanks mydanblog,
I do in fact use widgets for my Archive. So I have gone ahead and downloaded Widget Logic and await your further instructions.
Thanks again!
Ok, so while I have been waiting for a response I’ve been playing around with the plugin – I have used the following:
is_page('blog')Now the Archives just appear on my blog page http://www.crozon.ca/blog (Thanks so much!) – but I would also like the Archives to appear on each individual post page as well. Can you help me with that?
Wow, I must be getting the hang of this wordpress stuff 😉
For those that are looking for the answer I added the following code:
is_page('blog') || is_single()And ta-daa! Archives only show up on my Blog page and all my single posts.
Thanks again mydanblog!
Congrats on figuring it out. I am sorry for not following up… I forgot to check the ‘notify me’ button for this thread.
Widget logic is a great plugin,and you did it absolutely right.
The topic ‘Sidebar Tweaks’ is closed to new replies.