Meta description and meta keywords play an important role in the SEO of your webpage. These meta tags indicate to the search engines what the webpage is about.

More importantly, search engines use the meta description to display the content summary on the search results page. So even if we forget about its importance in the SEO, meta description has one more important role to play — it helps in improving the click through rate of the webpage.

The meta description serves as an advertisement for the actual content and gives you an opportunity to convince the user to click on the link for the relevant information related to the search query.

This means the meta description for the posts and the pages can greatly help in gaining the clicks through SERPs. However, there is a SEO glitch with Genesis. It doesn’t automatically generate the meta description and meta keywords like Thesis. When you switch over to Genesis theme, it will output the meta description and meta keywords only if these meta tags are explicitly set up using “genesis_description” and “genesis_keywords” custom fields respectively or by using “All in one SEO Pack” plugin.

You can add the following code snippet to your Genesis child theme’s functions.php for automatically generating the meta description and the meta keywords.

This code snippet generates the meta description from the post content. If the excerpt is set, then it gives a preference to the post excerpt for generating the meta description.

For the keywords, the following code snippet sets the post tags as the meta-keywords. If the post-tags are not present, it will automatically generate the keywords from the post / page title. While generating the keywords from the title, it removes the common words like ‘a’, ‘the’, ‘with’, etc to generate the meaningful keywords.

Here’s the code snippet:

© Binary Turf. Also learn photography tips & get technical support.

Suggested Reading

Thesis SEO Tip For Google Penguin — Removing The META DESCRIPTION Tag

Genesis Tip — How To Customize Or Remove Post Meta After Post

10 Improvements That Can Make Thesis 2.1 A Robust Solution For WordPress Developers

Genesis Tip — How To Configure Features And Teasers In Genesis

Thesis Quick Tip — How To Place The Logo In Thesis Sidebar

Show more