News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

including proper tags in the headings

Started by roboxooo, June 09, 2006, 10:19:24 AM

Previous topic - Next topic

roboxooo

is there any mode available by which the title of the website is given a ,title. tag and the every forum and posts have its own heading with tag <h1>.

i see this kind of stuff in www.smfseo.org ???????

chadon

Thats a great idea.
I tested it in my forum and it worked.
Here is the code I have in my theme's index.template.php file:

// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />
<H1>', $context['page_title'], '</H1>


Here is the result on my forum:
http://www.adscarsforsale.com/car-forums/index.php


Advertisement: