WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing text in a sidebar (5 posts)

  1. dhkendall
    Member
    Posted 2 years ago #

    Not sure if this is the right subforum, but:

    I am designing a page in the Suffusion theme. I am intending for a HTML box in a sidebar to display some information apart from the main text, like a sidebar in a newspaper. As an example (mine is a bit more complex, but this should suffice):

    Let's say I am making a page about the Presidents of the USA, one for each person who has been in the office (43, right?) The main text of each page would have the main information on the president ("George Washington was a general in the Revolutionary War, etc., etc.") But, on the right, in an HTML text widget in a sidebar, I want to have vital statistics on each president (name, date/place of birth, date/place of death, years of presidential service, etc.) How? I can't enter Washington's info in the HTML text widget area, because then Washington's info would appear for every president. But I do still want each president's info to appear in a separate "info box" in a sidebar on the right.

    How do I make it so that the info can be different for each page?

  2. olavxxx
    Member
    Posted 2 years ago #

    You can make a smart widget that checks which post you are viewing, if any. And then tries to retrieve stats.

  3. dhkendall
    Member
    Posted 2 years ago #

    Unfortunately, I dont' have the knowledge to create these widgets. Is there one out there that does something like that?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

  5. dhkendall
    Member
    Posted 2 years ago #

    I seem to have found one that does the trick very well with incredible ease of use at http://wordpress.org/extend/plugins/content-aware-sidebars/, so just putting that out there if someone has a similar problem to mine in the future.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.