Introducing Peach MyBB Theme - Absolute Delight Check details here
Go Dark Theme -  Little SEO tweaks to add Social Tags
#1
Thought  of writing this so you can do little tweaks in headerinclude  to make your forum links better for social media.


1. Making changes to theme-color

Code:
<meta name="theme-color" content="#anycolorcode">


Wallbb GoDark uses this color scheme by default #2371a2 you can change color code to any color you desire.if have default layout then stick to default color scheme

2. Adding your board name

Code:
<meta property="og:site_name" content="{$mybb->settings['bbname']}" />

3. Adding meta description

Code:
<meta property="og:description" content="your desired description for you forum. Example football fans forums" />

4. Adding OG images

Code:
<meta property="og:image" content="{$mybb->settings['bburl']}/path/to/picture.jpg" />

5. Changing title of forums

Code:
<meta property="og:title" content="coders hub" />


five simple tweaks to make your forums look better and on social media
Reply
#2
Thanks for your contribution Smile
For points 2 to 5, the below meta tags provide more rich experience for twitter, open graph and also for crawlers.

Code:
<meta name="description" content="Page description" />
<meta name="twitter:card" value="summary">
<meta property="og:title" content="Title " />
<meta property="og:type" content="article" />
<meta property="og:url" content="{$mybb->settings['bbname']}" />
<meta property="og:image" content="{$mybb->settings['bbname']}/path/to/picture.jpg" />
<meta property="og:description" content="Description about forum" />

You can also use the plugin for dynamic tags
https://community.mybb.com/mods.php?action=view&pid=314

Cheers
WallBB
Reply




Users browsing this thread: 1 Guest(s)