Meta Description tag for All Discussions page (continued)*
UnderDog
MVP
This discussion was created from comments split from: Meta Description tag for All Discussions page?.
Since a topic from 2005 (!!) was kicked, I just split those 2 comments into this topic.
The code is in my next post. The users wonder where to put that code.
Since a topic from 2005 (!!) was kicked, I just split those 2 comments into this topic.
The code is in my next post. The users wonder where to put that code.
There was an error rendering this rich post.
0
Comments
Thanks for your help!
Ditto.
<?php /* Extension Name: My Custom Meta Info Extension Url: http://www.yourdomain.com/ Description: Adds my custom meta information to the header of my forum Version: 1.0 Author: Your Name Author Url: N/A */ if (in_array($Context->SelfUrl, array("index.php","signin.php","apply.php","passwordreset.php","passwordrequest.php","account.php","search.php"))) { if (@$Head) { $Head->Addstring("<meta name=\"description\" content=\"Stuff about my forum\" />"); } } ?>There was an error rendering this rich post.
And where, which document, would i paste this code into?
Thanks for the help so far!
I need to get the following code in my header:
Btw. please delete the following duplicate thread for this question:
http://vanillaforums.org/discussion/18484/facebook-preview-thumbnail-with-information