Title - Postname format

I was working on the Walkabouts of a Singaporean in Europe when an idea struck me, why not have the POST NAME or PAGE NAME up on the title.
Surely someone must have thought of that…

so eventually, I have to RECODE the Header.php to look something like this:
< !– if this is Home Page — >
< title >< ?php bloginfo(’name’); ? >< /title >
< meta name=”Title” content=”< ?php bloginfo(’name’); ? >” / >
< link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”< ?php bloginfo(’rss2_url’); ? >” / >
< link rel=”alternate” type=”application/rss+xml” title=”Comments RSS 2.0″ href=”" / >
< link rel=”alternate” type=”text/xml” title=”RSS 0.92″ href=”< ?php bloginfo(’rss_url’); ? >” / >
< link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”< ?php bloginfo(’atom_url’); ?>” / >
< link rel=”pingback” href=”< ?php bloginfo(’pingback_url’); ? >” / >
< ?php } ?>

< !– Mod the above to see if title shows the blogname :: Title of Post –>

And when its not HOME PAGE, we don’t need the rSS crap.

< ?php if (is_page()); { ?>

< meta name=”Title” content=”< ?php bloginfo(’name’); ? > - < ?php the_title();? >” / >
< title>< ?php bloginfo(’name’); ? > : < ?php the_title(); ? >< /title >
< ?php }?>

Remember to save your header.php and upload back.

I’m rating this Level 2 Techie as it does not need much modification.









Leave a Reply