I am using the following code to list the page title in the sidebar.
<h3>
<?php wp_title("");?>
</h3>
I want to be able to do two (2) things:
1. use this code on every page except page with post id= 1202
2. On Page w/ id=1202, show "Test" instead.
Below is my attempt at it, but it doesn't work. Any help would be appreciated.
<h3>
<?php
if (is_page(1202) {echo "Test"}
else {<?php wp_title("");?>}
?>
</h3>