Wondering how to use conditionals in php/wordpress to get something to appear on only one page of the site?
detect the url of page If that matches with the url u want to place text then print otherwise not if (strcmp(substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1),"page u want.php") { echo "text"; }
since it's wordpress, it's FAR easier than that. Take a look here, http://codex.wordpress.org/Conditional_Tags -- then you will want to look at the is_page() tag. Basiclally you'll want to do something like this: <?php if ( is_page('##') ) { ... } ?>