Support » Fixing WordPress » Sidebar help
9 years ago
I would like to have my “About” sidebar widget appear on every page. I know I need to remove PHP from my Sidebar file but my attempts have given me a parse error.
Here’s the code:
How can I edit to allow my “About” sidebar widget on every page.
Thank you in advance.
You have a conditional statement – is_home – started at line #3 and closed in line #20.
Remove those 2 lines.
Thank you very much. That’s what I needed. When I go to any other page besides the home page the “About” picture does not show up. Is this fixed in the single.php or sidebar.php?
It’s there in the sidebar.php, in the code you pasted above:
line #6 – just use an absolute path instead of the relative; i.e. http://example.com/images/gizmo.jpg
That worked. Thanks for your help!