Last active
June 8, 2016 17:29
-
-
Save farnscosnippet/7328120 to your computer and use it in GitHub Desktop.
Revisions
-
indsnippet renamed this gist
Jan 3, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
indsnippet created this gist
Nov 5, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ <meta name="keywords" content="<?php if(is_single()) { $metatags = get_the_tags($post->ID); foreach ($metatags as $tagpost) { $mymetatag = apply_filters('the_tags',$tagpost->name); $keyword = utf8_decode($mymetatag); // Your filters... echo $keyword.","; } } ?>" />