To give a page a correct title in 1.2.2 I checked which variable was present on that page:
<?php
$m = $_REQUEST["m"];
$p = $_REQUEST["p"];
$cat = $_REQUEST["cat"];
$s = $_REQUEST["s"];
if($s){
echo "Gevonden op " ".$s." "";
} else if ($m=="" && $p=="" && $cat==""){
echo "Meest Recent";
} else {
single_cat_title();
single_month_title(" ");
single_post_title(" ");
}
?>
I want to add a title for static pages I call through index.php?static=341, but adding && $static!="" doesn't work.
Someone any idea's on this?
I'm also puzzled because the link I use states index.php?static=341 and the url says index.php?page_id=341