- This topic has 2 replies, 2 voices, and was last updated 5 years 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.
Trying to add a widget to just the home page and one other page. Using widget Logic, you can't use the usual array to call multiple pages like this: is_page(array(16,11)) because the home page is dynamically produced it's not a normal page template that's given an id; been looking and I can't figure it out. The front page in this case is called with: is_front_page(), not with an id.
Normally for one page I would use: is_page ('about')
So how would I do that using Widget Logic??
Might it be something like: is_page ('about'), is_page ('is_front_page')??? don't think so but hummm ??
Any help appreciated!!http://n/a
OH wow, ok I didn't know that Widget Logic would accept the 2 pipes in place of commas..I will give it a try, and post back! Thank you!
© 2023 WPEngine, Inc.