Meta tags - Thread description - Search Engine and Facebook share
This simple trick allows you to change Thread's Meta tag from ForumHome Meta details to thread description.
Before : After : Instruction : Edit facebook_opengraph in the template Replace : Code:
<vb:each from="opengrapharray" key="property" value="content"><meta property="{vb:raw property}" content="{vb:raw content}" /> </vb:each> Code:
<vb:each from="opengrapharray" key="property" value="content"><meta property="{vb:raw $threadinfo['description']}" content="{vb:raw content}" /> </vb:each> Now when you share in facebook, you will see the Thread desc as the meta tag. Disclaimer :
P.S : Facebook caches the meta title and desc. when you try to share any link. In that case, you won't see any new meta details. So add ?v=1 or &p=19 [something like that] eg. http://collegers.net/showthread.php?58-World-Trade-Center-HOAX?v=1 Otherwise check the meta details using http://www.seocentro.com/tools/search-engines/metatag-analyzer.html **If you are using vbSEO , this Mod is not necessary Demo : http://collegers.net/forum.php (edited on 17 Oct ) P.P.S : Support me to buy a new Macbook Pro. Please donate if this Mod helped you. Amazon Wishlist : https://www.amazon.com/gp/wishlist/35WEWZGXOJSQC/ Download No files for download. |