WordPress.org

Ready to get started?Download WordPress

Forums

Possible? content displayed based on date range (3 posts)

  1. csleh
    Member
    Posted 6 years ago #

    Is it possible to display content of a sidebar based on date? For instance, during a given 6-month period sidebar A displays, but switches to display sidebar B the other months.

  2. Tfleming
    Member
    Posted 6 years ago #

    Hi Csleh - did you ever get a response to this? I would like to do the same, plus have the sidebar change back when a post from the archive is chosen (to reflect what was displayed when the post was originally written.)

  3. csleh
    Member
    Posted 6 years ago #

    No, I gave up on it. What I might do is have two different sidebars and change the call to them on the templates manually. Seems a bit silly, but I don't any php.
    Good luck. If you find a solution please share!

Topic Closed

This topic has been closed to new replies.

About this Topic