• Resolved VNConsort

    (@vnconsort)


    Hi there I have a few questions on adding different sidebar texts to sidebars per page.

    On ONE part of my site, I have pages dedicated to individual animals. I have figured out how to change the layout to include a left sidebar to these pages (registered the sidebar, called the sidebar). The intended use for this sidebar is to provide “Quick Facts” for each animal.

    I set up the first animal page just fine with the Quick Facts (Text Widget) in the left sidebar. Then I moved onto the second animal page and, of course, the same sidebar came up with the same information (Quick Facts and other things such as a thumbnail of the region the animal lives in).

    I plan on having many different animal pages (100+) so I don’t want to register a new sidebar for each one of I don’t have to.

    I am looking for alternatives in how to deal with it. I rather not use a pre-programmed widget or plugin to help, if I can do this by coding within the files instead. I will accept suggestions for plugins or widgets if that is all you can think of, but please explain how to use it and not just “here try this one”.

    I will not link the site because it is not secure. It should be fairly easy to visualize the problem.

    Once again:
    Left sidebar
    Text Widget with a list of “Quick Facts” on each animal
    For each animal page, 100+ pages (not post)

    Thanks for your time!

    Edit:

    I have tried Widget Logic. I can get the Text Widget to show up for an individual page. The problem I foresee is that I will have 100+ Text Widgets showing in that particular sidebar. Is this how people do it?

    Edit:

    I could also scrap the idea of a left sidebar with widgets in favor of somehow coding the page to have a left column. The only way I know how to do this is to make divs during the Page Creation and float the “left column div” next to the “main content div”. This means I would have to do this with each and every page, but that doesn’t seem too hard just tedious. When I initially went to research how to make “columns” in wordpress most of them were written to include another sidebar as a column instead, which I felt was silly but went along with it anyways. If anyone has any input on this, please let me know!

The topic ‘Different Sidebar Text for Different Pages’ is closed to new replies.