Setting page title and keywords from PHP code
You can use the wp_title filter to modify the HTML document title, and you can use the wp_head action to hook in a custom HTML meta link. e.g.: <?php function wpse46249_filter_wp_title( $title ) { // $title contains the default document title // output by WordPress. Modify it here however // you want. $some_custom_title_content=”CUSTOM TITLE CONTENT … Read more