- This topic has 2 replies, 2 voices, and was last updated 4 years, 2 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm still pretty new to PHP and hooks and all, and was wondering if I could get a little assistance with placing a widget area in multiple locations? I've registered the widget area and can apply it to regular pages. But I need to be able to include a blog page and an archive page in the same action. I tried a series of elseif statements but they don't appear to work. And most of what I'm finding online are instructions for doing the opposite -- one page with multiple widget areas. Happy to share code here if it helps, but it seems so basic to someone who knows php more than I do. Even a shove in the right direction would help. 🙂
Thanks in advance!http://essance.thirdsidedev.com
Thanks. After following the rabbit hole one more time (and with extra coffee), it turned out I was using incorrect PHP operators (&& instead of ||). Thanks for leading me in the right direction.
© 2023 WPEngine, Inc.