WordPress.org

Forums

[resolved] Sidebar help (5 posts)

  1. shlinklincoln
    Member
    Posted 7 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.

    dps.shlinklincolnsports.com

    Here's the code:

    http://wordpress.pastebin.com/m37ec2d5e

    How can I edit to allow my "About" sidebar widget on every page.

    Thank you in advance.

  2. moshu
    Member
    Posted 7 years ago #

    You have a conditional statement - is_home - started at line #3 and closed in line #20.
    Remove those 2 lines.

  3. shlinklincoln
    Member
    Posted 7 years ago #

    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?

    Thanks again.

  4. moshu
    Member
    Posted 7 years ago #

    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

  5. shlinklincoln
    Member
    Posted 7 years ago #

    That worked. Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic