Combining Conditional Tags
-
Can anyone tell me what I’m doing wrong? Everything works with the Home and Teacher page, but not for the search results. In the widget logic, I’ve got:
is_page( array( ‘english-teachers’, ‘Home’ ) ) OR is_search( ‘member/?s=English+Teacher’ )
I’ve also tried:
is_page( array( ‘english-teachers’, ‘Home’ ) ) OR is_search( ‘English+Teacher’ )
I’ve tried a dozen combinations as well as substituting OR for ||. Nothing.
I’m using Buddypress default theme and I’m about to throw my computer out the window.
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Combining Conditional Tags’ is closed to new replies.