WordPress.org

Ready to get started?Download WordPress

Forums

I must not understand SIDEBAR (3 posts)

  1. mellojoe
    Member
    Posted 6 years ago #

    Obviously, the get_sidebar() function doesn't actually call sidebar.php. I've actually DELETED sidebar.php and that changes nothing on my site.

    jpDiMaggio.com

    I am using a couple of Widgets on my sidebar, and they work perfectly fine. But, I want to edit in some extra code, and I went to change the sidebar.php and realized it doesn't do anything.

    How does one edit the sidebar if get_sidebar() doesn't use sidebar.php????

  2. moshu
    Member
    Posted 6 years ago #

    If you are using the widgets - your edits on the sidebar.php are completely useless.

    The widgets are overriding whatever is in your sidebar's code. You have to decide: widgets or manual edits. yoou cannot have both.

  3. mellojoe
    Member
    Posted 6 years ago #

    Yuck. Really?

    I guess then I would have to find that ExecPHP plugin or whatever it is that can insert PHP into the Widget sidebar?

    That sucks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags