Keywords, meta tags
-
I’m trying to avoid installing a SEO plugin to insert meta tags and would prefer to write the tags into my child functions.php. I found this Acub snippet in another thread but it was a discussion about Google verification. Can I add all my meta tags to it – as per the placeholder text I have added after
echo
?add_action('wp_head', 'your_seo_function'); function your_seo_function() { echo '<meta name="description" content="Stonkingly good stuff at huge discounts" /><meta name="keywords" content="sex, drugs, rock and roll" />'; }
Thanks for any help.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Keywords, meta tags’ is closed to new replies.