I'm building a small, mostly static site, and I want the content in various widget areas to vary depending on what page it is. For example, my child theme includes a "before footer" area. On the About page, I want the content in "before footer" to be content which relates to the About page and on the Contact page, I want the content in that area to be different. What's the preferred way to approach this? While I'm a WordPress and Genesis newbie, I'm very comfortable with PHP coding. I just need to know how/where to start. Thanks for any help! --Jeff
The simplest way to make something akin to this is to use the Genesis Simple Sidebars plugin. I have one designer client who goes totally crazy with this, and makes different sidebar content for every page. (To me, that's very extreme.) The only limitation of that is that it's, well, sidebars, and not other types of widgets.
So when I want to stick something into a some other area on a page, I'll use Custom Fields for that, and then use hooks and functions to get that into the template. Unfortunately, that's well beyond the scope of a short answer, but tuts may be helpful for putting that together.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!