Ah, I see.
Well, it turns out that I was doing it correctly (with is_page(‘Contact’). However, the code in sidebar.php isn’t executed when a user-defined page is being visisted 🙁
I ensured this is correct by putting an if (true) block in sidebar.php. It’s executed on main page(s) but not user-defined ones 🙁
This appears to be because of the method get_sidebar(). I am trying to find the actual PHP code for that right now (but not doing so well?!)
If you mean clicking on the button “Edit HTML source”, that did it 🙂
What was the a xhref stuff all about? Is it supposed to be impossible to add href tags while in RTF?