Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom index page <title> tag
#4
I usually only need to change the homepage's title too so usually just use this directly in the template.
Code:
<?php echo (get_page_slug(false) == 'index') ? 'Homepage title' : get_clean_title(false) . ' &ndash; ' . get_page_site_name(false); ?>
Modern UI Admin for GetSimple
Watch the demo. Install this plugin. Use this CSS. Enjoy.
Reply


Messages In This Thread
Custom index page <title> tag - by Carlos - 2011-06-05, 00:57:35
Custom index page <title> tag - by Carlos - 2011-06-11, 18:45:09
Custom index page <title> tag - by ccagle8 - 2011-06-12, 00:47:21
Custom index page <title> tag - by sal - 2011-06-12, 10:03:51
Custom index page <title> tag - by Carlos - 2011-06-12, 16:25:00
Custom index page <title> tag - by Carlos - 2011-06-12, 17:01:57
Custom index page <title> tag - by polyfragmented - 2011-06-27, 22:38:58
Custom index page <title> tag - by Carlos - 2011-06-27, 23:41:50
Custom index page <title> tag - by polyfragmented - 2011-06-27, 23:53:24



Users browsing this thread: 1 Guest(s)