Need a little title help please <title></title>
-
Hi there,
Is there a way that I can incorporate the following:
<title><?php if(preg_match(“%cityguide%”, $_SERVER[‘PHP_SELF’])) { ?> Ely Online | Ely City Guide <?php } ?></title>
with this:
<title><?php
if ( is_home() ) {
bloginfo(‘name’);
} else {
if ( is_single() || is_page() ) {
single_post_title(‘Ely Online | ‘);
}
} ?></title>so this will allow me to show non-wp pages that use:
<?php
/* Use WP Templating System */
require(‘../news/wp-blog-header.php’);
?>Just wondered if anyone has any suggestions for dynamically showing titles for non-wp pages really.
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Need a little title help please <title></title>’ is closed to new replies.