WordPress.org

Ready to get started?Download WordPress

Forums

Widgets should coexist with manually coded Sidebar (4 posts)

  1. valuxes
    Member
    Posted 6 years ago #

    I coded a sidebar with the content I wanted to see displayed.

    I then decided to add a couple of widgets and was quite surprised to see that all my manually coded sidebar items were totally ignored.

    Would be great if both can coexist. ;o)

    Thanks
    V

  2. Chrisber
    Member
    Posted 6 years ago #

    It's very easy to accomplish. Look here to see what I've done. The sidebar is simply divided into separate static and dynamic divs.

  3. valuxes
    Member
    Posted 6 years ago #

    Chris,

    Beautiful blog!

    Thanks for the answer. Makes sense once you point it out.

    All widgets stay together as a block, right? Can't insert any manually coded content in between widgets?

    V

  4. valuxes
    Member
    Posted 6 years ago #

    Just realized two things @ widgets that make them impractical (and potentially a maintenance headache):

    1- I lose everything when I remove a widget back from a sidebar. This is a big problem -- it means I cannot "try" different widgets without having to re-specify parms everytime.

    2- I cannot add a widget to two different sidebars. I can understand not being allowed to add the same widget more than once to the same sidebar, but shouldn't we be able to add the same widget to different sidebars?

    V

Topic Closed

This topic has been closed to new replies.

About this Topic