I have searched the forums and couldn't find an answer. I am wondering how to use "OR" or || or | in my selectors in cases where I don't use either find() or get(). For instance, the following code does not work. Nothing is output. Why is that?
if ($page->template=="home|basic-page") {echo "something";} // doesn't work
Using | with find() and get() work just fine. Thanks.