2013-03-18, 09:48 PM
(2013-03-17, 12:37 PM)JordanMussi Wrote: [ -> ]In most templates there will be {$headerinclude} add your meta description for that page just below it.
For example the index template:
Admin CP -> Templates & Style -> Templates -> *Theme* -> Index Templates -> index
<html> <head> <title>{$mybb->settings['bbname']}</title> {$headerinclude} <script type="text/javascript"> <!-- lang.no_new_posts = "{$lang->no_new_posts}"; lang.click_mark_read = "{$lang->click_mark_read}"; // --> </script> </head> <body> {$header} {$forums} {$boardstats} <dl class="forum_legend smalltext"> <dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt> <dd>{$lang->new_posts}</dd> <dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt> <dd>{$lang->no_new_posts}</dd> <dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt> <dd>{$lang->forum_locked}</dd> </dl> <br style="clear: both" /> {$footer} </body> </html>
{$headerinclude} You would add your meta description here.
You could achieve this more easily with the Google SEO plugin.
I have tried this but it showing after header include
<!-- end: headerinclude -->
Forum Nunta: Totul pentru Nunta - Organizeaza online. Inspirate, cunoaste mirese ca tine in fiecare zi pe forum. Chat miresi - intreaba detalii despre nunta lor
<script type="text/javascript">
And also are still present the old description, how can i just replace with that one? The old one it's:
Meet thousands of brides like you every day on our wedding message boards.Chat and ask details about their wedding on our wedding forums
I can't find it
(2013-03-16, 09:30 AM)JordanMussi Wrote: [ -> ]Admin CP -> Templates & Style -> Templates -> *Theme* -> Ungrouped Templates -> headerincludeany suggestion?
Note that those will be displayed on every page on your forum. Generic descriptions can be bad for SEO.