CINXE.COM
Meta Descriptions for WordPress | bavotasan.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" dir="ltr" lang="en-US"> <head><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://bavotasan.com/tutorials/meta-descriptions-wordpress/","20101212085344","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1292144024"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="googlebot" content="index,archive,follow,noodp"/> <meta name="robots" content="all,index,follow"/> <meta name="msnbot" content="all,index,follow"/> <meta name="description" content="A very important thing to pay attention to when optimizing your site for search engine ranking is creating unique pages meta descriptions for all of the pa..."/> <meta name="keywords" content="header,Meta,meta description,meta tags,posts,search engine,seo,WordPress,"/> <title>Meta Descriptions for WordPress | bavotasan.com</title> <link rel="stylesheet" href="https://web.archive.org/web/20101212085344cs_/http://bavotasan.com/wp-content/themes/bavotasan-2010/style.css?ver=1.0.8" type="text/css" media="screen"/> <link rel="shortcut icon" href="https://web.archive.org/web/20101212085344im_/http://bavotasan.com/favicon.ico"/> <link rel="pingback" href="http://bavotasan.com/xmlrpc.php"/> <link rel="alternate" type="application/rss+xml" title="bavotasan.com 禄 Feed" href="https://web.archive.org/web/20101212085344/http://feeds.feedburner.com/bavotasan"/> <script type="text/javascript" src="https://web.archive.org/web/20101212085344js_/http://bavotasan.com/wp-includes/js/jquery/jquery.js?ver=1.4.2"></script> <link rel="index" title="bavotasan.com" href="http://bavotasan.com/"/> <link rel="start" title="Removing Images from a WordPress Post: Redux" href="http://bavotasan.com/tutorials/removing-images-from-a-wordpress-post/"/> <link rel="prev" title="Delete Duplicate Posts Pro WordPress Plugin" href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/delete-duplicate-posts-pro-wordpress-plugin/"/> <link rel="next" title="Add a Copyright Notice to Copied Text" href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/add-a-copyright-notice-to-copied-text/"/> <link rel="canonical" href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/"/> <link rel="shortlink" href="https://web.archive.org/web/20101212085344/http://bit.ly/9zbaS7"/> <script type="text/javascript" src="https://web.archive.org/web/20101212085344js_/http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script> <meta property="fb:page_id" content="137456822940271"/> <meta property="fb:admins" content="586505548"/> <meta property="og:site_name" content="bavotasan.com"/> <meta property="og:title" content="Meta Descriptions for WordPress"/> <meta property="og:description" content="A very important thing to pay attention to when optimizing your site for search engine ranking is creating unique pages meta descriptions for all of the pages on your website that you want to have indexed. If you take a look on Google, or any search engine, you will see a blurb about your page [...]"/> <meta property="og:type" content="article"/> <meta property="og:image" content="https://web.archive.org/web/20101212085344im_/http://bavotasan.com/wp-content/uploads/2010/10/wpmeta.jpg"/> </head> <body class="single single-post postid-2931"> <div id="bodywrap"> <!-- BuySellAds.com Ad Code --> <script type="text/javascript"> (function(){ var bsa = document.createElement('script'); bsa.type = 'text/javascript'; bsa.async = true; bsa.src = '//web.archive.org/web/20101212085344/http://s3.buysellads.com/ac/bsa.js'; (document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa); })(); </script> <!-- END BuySellAds.com Ad Code --> <!-- begin header --> <div id="header"> <div id="topmenu" class="menu-top-menu-container"><ul id="menu-top-menu" class="menu"><li id="menu-item-2254" class="menu-item menu-item-type-custom menu-item-2254"><a href="https://web.archive.org/web/20101212085344/http://themes.bavotasan.com/">Themes by bavotasan.com</a></li> <li id="menu-item-2255" class="menu-item menu-item-type-custom menu-item-2255"><a href="https://web.archive.org/web/20101212085344/http://themes.bavotasan.com/support/">Support Forum</a></li> <li id="menu-item-2259" class="menu-item menu-item-type-custom menu-item-2259"><a href="https://web.archive.org/web/20101212085344/http://themes.bavotasan.com/affiliates">Affiliates</a></li> <li id="menu-item-2256" class="menu-item menu-item-type-post_type menu-item-2256"><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/about/">About</a></li> <li id="menu-item-2257" class="menu-item menu-item-type-post_type menu-item-2257"><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/services/">Services</a></li> <li id="menu-item-2258" class="menu-item menu-item-type-post_type menu-item-2258"><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/contact/">Contact</a></li> </ul></div> <div id="title"> <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/"> <img src="https://web.archive.org/web/20101212085344im_/http://bavotasan.com/wp-content/themes/bavotasan-2010/images/bavotasan.png" alt="bavotasan.com" width="400" height="70"/> <span id="desc"></span></a> </div> <div id="follow"> <span></span> <a href="https://web.archive.org/web/20101212085344/http://twitter.com/bavotasan" class="twitter"></a> <a href="https://web.archive.org/web/20101212085344/http://feeds.feedburner.com/bavotasan" class="rss"></a> </div> <div id="navigation" class="menu-main-menu-container"> <ul id="menu-main-menu" class="menu"> <li id="menu-item-2264"><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/"><span></span>Home</a></li> <li id="menu-item-2266"><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/category/articles/"><span></span>Articles</a></li> <li id="menu-item-2265" class="current-menu-item"><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/category/tutorials/"><span></span>Tutorials</a></li> <li id="menu-item-2267"><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/category/downloads/"><span></span>Downloads</a></li> </ul> </div> </div> <!-- end header --> <div id="mainwrapper"> <div id="leftcontent"> <div class="posttop"> <div class="thedate"><div class="month">Oct</div><div class="day">30</div><div class="year">2010</div></div> <h1>Meta Descriptions for WordPress</h1> <br class="clear"/> <p>A very important thing to pay attention to when optimizing your site for search engine ranking is creating unique pages meta descriptions for all of the pages on your website that you want to have indexed. If you take a look on Google, or any search engine, you will see a blurb about your page beneath the page title. This little bit of text is taken for the text your page has in the meta description tag. No text, no blurb on Google, and possibly no indexing whatsoever.</p> <div id="attachment_2932" class="wp-caption aligncenter" style="width: 574px"><img src="https://web.archive.org/web/20101212085344im_/http://bavotasan.com/wp-content/uploads/2010/10/googledesc.png" alt="Google Example" title="googledesc" width="564" height="90" class="size-full wp-image-2932"/><p class="wp-caption-text">Page description in Google</p></div> <p>Having a unique title for each page is important, but what is more important is making sure that the description for your page is just as unique and relevant. The great thing about WordPress is that you can use some basic functions to put together a little script that would create a meta description dynamically for each of your pages.</p> <p>I encountered a few issues trying to put this script together due to the fact that some plugins actually hook into <code>the_content()</code> or <code>the_excerpt()</code> and this causes a lot of issues. The final solution I came up with is below. Just add the following to your <code>functions.php</code> file within the PHP tags:</p> <div class="wp_syntax"><table border="0" cellpadding="0" cellspacing="0"><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> dynamic_meta_description<span style="color: #009900;">(</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #000088;">$rawcontent</span> <span style="color: #339933;">=</span> get_the_content<span style="color: #009900;">(</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">(</span><span style="color: #990000;">empty</span><span style="color: #009900;">(</span><span style="color: #000088;">$rawcontent</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #000088;">$rawcontent</span> <span style="color: #339933;">=</span> <span style="color: #990000;">htmlentities</span><span style="color: #009900;">(</span>bloginfo<span style="color: #009900;">(</span><span style="color: #0000ff;">'description'</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span> <span style="color: #000088;">$rawcontent</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">(</span><span style="color: #0000ff;">'the_content_rss'</span><span style="color: #339933;">,</span> <span style="color: #990000;">strip_tags</span><span style="color: #009900;">(</span><span style="color: #000088;">$rawcontent</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #000088;">$rawcontent</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">(</span><span style="color: #0000ff;">'/\[.+\]/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$rawcontent</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #000088;">$chars</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">(</span><span style="color: #0000ff;">""</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\r</span>"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"chr(13)"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<span style="color: #000099; font-weight: bold;">\t</span>"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<span style="color: #660099; font-weight: bold;">\0</span>"</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">"<span style="color: #660099; font-weight: bold;">\x0B</span>"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #000088;">$rawcontent</span> <span style="color: #339933;">=</span> <span style="color: #990000;">htmlentities</span><span style="color: #009900;">(</span><span style="color: #990000;">str_replace</span><span style="color: #009900;">(</span><span style="color: #000088;">$chars</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">" "</span><span style="color: #339933;">,</span> <span style="color: #000088;">$rawcontent</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #009900;">}</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #990000;">strlen</span><span style="color: #009900;">(</span><span style="color: #000088;">$rawcontent</span><span style="color: #009900;">)</span> <span style="color: #339933;"><</span> <span style="color: #cc66cc;">155</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$rawcontent</span><span style="color: #339933;">;</span> <span style="color: #009900;">}</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">{</span> <span style="color: #000088;">$desc</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">(</span><span style="color: #000088;">$rawcontent</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">155</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">return</span> <span style="color: #000088;">$desc</span><span style="color: #339933;">;</span> <span style="color: #009900;">}</span> <span style="color: #009900;">}</span></pre></div></td></tr></table></div> <p>This little script grabs the raw content using <code>get_the_content()</code>, then it applies some filters and removes shortcodes, tags and line breaks. Once that is done, it limits the description to 155 characters if it is too long. Finally it returns the description, formatted exactly how you need it to be.</p> <p>Next all we need to do is add a line to the <code>header.php</code> between the head tags.</p> <div class="wp_syntax"><table border="0" cellpadding="0" cellspacing="0"><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><meta name="description" content="<span style="color: #000000; font-weight: bold;"><?php</span> <span style="color: #b1b100;">echo</span> dynamic_meta_description<span style="color: #009900;">(</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?></span>" /></pre></div></td></tr></table></div> <p>If a meta description line already exists, you can replace it with this. </p> <p>Now all of your pages will have a unique meta description, and those that don’t will have your default site description, which you set up in your wp-admin under your General Settings.</p> <div class="buttonbox"> </div> </div> <div class="post"> <div class="socialleft">If you liked this, please share it.</div> <ul class="addtoany_list"> <li><a href="https://web.archive.org/web/20101212085344/http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2F9zbaS7&counturl=http://bavotasan.com/tutorials/meta-descriptions-wordpress/" class="twitter-share-button" data-count="vertical" data-via="bavotasan">Tweet</a><script type="text/javascript" src="https://web.archive.org/web/20101212085344js_/http://platform.twitter.com/widgets.js"></script></li> <li><a href="https://web.archive.org/web/20101212085344/http://www.facebook.com/sharer.php?u=http://bavotasan.com/tutorials/meta-descriptions-wordpress/&t=Meta Descriptions for WordPress" title="Click to send this page to Facebook!" target="_blank" rel="nofollow" class="facebook-icon"></a></li> <li><a href="https://web.archive.org/web/20101212085344/http://digg.com/submit?phase=2&url=http://bavotasan.com/tutorials/meta-descriptions-wordpress/&title=Meta Descriptions for WordPress&bodytext=A very important thing to pay attention to when optimizing your site for search engine ranking is creating unique pages meta descriptions for all of the pages on your website that you want to have indexed. If you take a look on Google, or any search engine, you will see a blurb about your page [...]" title="Digg" rel="nofollow" target="_blank" class="digg-icon"></a></li> <li><a href="https://web.archive.org/web/20101212085344/http://www.delicious.com/save" onclick="window.open('https://web.archive.org/web/20101212085344/http://www.delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent('https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/')+'&title='+encodeURIComponent('Meta Descriptions for WordPress'),'delicious', 'toolbar=no,width=550,height=550'); return false;" class="delicious-icon"></a></li> <li><a href="https://web.archive.org/web/20101212085344/http://www.stumbleupon.com/submit?url=http://bavotasan.com/tutorials/meta-descriptions-wordpress/&title=Meta Descriptions for WordPress" title="StumbleUpon" rel="nofollow" target="_blank" class="stumbleupon-icon"></a></li> <li><iframe src="https://web.archive.org/web/20101212085344if_/http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fbavotasan.com%2Ftutorials%2Fmeta-descriptions-wordpress%2F&layout=button_count&show_faces=false&width=100&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowtransparency="true"></iframe></li> </ul> </div> <div class="post"> <p class="tags">Tags: <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/header/" rel="tag">header</a>, <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/meta/" rel="tag">Meta</a>, <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/meta-description/" rel="tag">meta description</a>, <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/meta-tags/" rel="tag">meta tags</a>, <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/posts/" rel="tag">posts</a>, <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/search-engine/" rel="tag">search engine</a>, <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/seo/" rel="tag">seo</a>, <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tag/wordpress/" rel="tag">WordPress</a></p> <p class="tags">Short URL: <a href="https://web.archive.org/web/20101212085344/http://bit.ly/9zbaS7" title="Meta Descriptions for WordPress">http://bit.ly/9zbaS7</a></p> </div> <div class="post"> <div id="crp_related"> <h3>Similar Posts</h3> <ul> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/articles/elemental-portfolio-wordpress-theme/" rel="bookmark" title="Permanent Link to Elemental Portfolio WordPress Theme">Elemental Portfolio WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/articles/magazine-flow-wordpress-theme/" rel="bookmark" title="Permanent Link to Magazine Flow WordPress Theme">Magazine Flow WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/articles/magazine-premium-is-out/" rel="bookmark" title="Permanent Link to Magazine Premium v1.1.5 is Out!">Magazine Premium v1.1.5 is Out!</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/articles/a-new-look-for-themes-by-bavotasan-com/" rel="bookmark" title="Permanent Link to A New Look for Themes by bavotasan.com">A New Look for Themes by bavotasan.com</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/adding-tweet-button-wordpress/" rel="bookmark" title="Permanent Link to Adding a Tweet Button to WordPress">Adding a Tweet Button to WordPress</a></li> </ul> </div> <a href="https://web.archive.org/web/20101212085344/http://www.netfirms.com/web-hosting/web-hosting-business/?a_aid=4c8bb52b19602&a_bid=8f049e07" target="_top" style="float:right;"><img src="https://web.archive.org/web/20101212085344im_/http://www.webhostrevenue.com/accounts/default1/banners/300x250-us.gif" alt="Netfirms Business Hosting Plan" title="Netfirms Business Hosting Plan" width="250" height="208"/></a><img style="border:0" src="https://web.archive.org/web/20101212085344im_/http://www.webhostrevenue.com/scripts/imp.php?a_aid=4c8bb52b19602&a_bid=8f049e07" width="1" height="1" alt=""/> </div> <div class="post"> <a href="#comment_list"></a> <div id="comments"> <h3 id="comments-title">Discussion <small> 4 Comments</small> </h3> <ol class="commentlist"> <li class="comment even thread-even depth-1" id="li-comment-16552"> <div id="comment-16552"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20101212085344im_/http://0.gravatar.com/avatar/0fe0343f523870fd0076b2dea973d213?s=60&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname"><a href="https://web.archive.org/web/20101212085344/http://www.foto-galeri.web.tr/" rel="external " class="url">Foto Galeri</a></span> <span class="commentdate"> on November 1, 2010 at 2:39 pm</span> </div> <div class="comment-text"> <p>It’s good idea. Thanks very much. I’ll use this function on my site.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/?replytocom=16552#respond" onclick="return addComment.moveForm("comment-16552", "16552", "respond", "2931")">Reply</a> </div> </div> </li> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-16580"> <div id="comment-16580"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20101212085344im_/http://0.gravatar.com/avatar/a9982546eba545e1facee4b0b2e071dd?s=60&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname"><a href="https://web.archive.org/web/20101212085344/http://www.juegos.gs/" rel="external " class="url">Juegos</a></span> <span class="commentdate"> on November 3, 2010 at 1:42 pm</span> </div> <div class="comment-text"> <p>Perfect, thank you very much for sharing this function.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/?replytocom=16580#respond" onclick="return addComment.moveForm("comment-16580", "16580", "respond", "2931")">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-16594"> <div id="comment-16594"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20101212085344im_/http://0.gravatar.com/avatar/0a4784900e94f443294d2d45da156102?s=60&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname"><a href="https://web.archive.org/web/20101212085344/http://www.asvyras.lt/" rel="external " class="url">Aleksandras</a></span> <span class="commentdate"> on November 4, 2010 at 5:44 pm</span> </div> <div class="comment-text"> <p>Perfect! Thank You!</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/?replytocom=16594#respond" onclick="return addComment.moveForm("comment-16594", "16594", "respond", "2931")">Reply</a> </div> </div> </li> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-16944"> <div id="comment-16944"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20101212085344im_/http://0.gravatar.com/avatar/e99b0d61cb3e43690e5da466cb12da59?s=60&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname"><a href="https://web.archive.org/web/20101212085344/http://www.virksomhedsforedrag.dk/" rel="external " class="url">Per - Foredragsholder</a></span> <span class="commentdate"> on November 25, 2010 at 9:35 am</span> </div> <div class="comment-text"> <p>I do prefer to make my own descriptions manually, becuase I often include a call to action in the description. I am using the plug-in “All in One SEO Pack” for this.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/?replytocom=16944#respond" onclick="return addComment.moveForm("comment-16944", "16944", "respond", "2931")">Reply</a> </div> </div> </li> </ol> <a name="respond"></a> <div id="respond"> <h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/#respond" style="display:none;">Cancel reply</a></small></h3> <form action="https://web.archive.org/web/20101212085344/http://bavotasan.com/wp-comments-post.php" method="post" id="commentform"> <p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p> <p class="comment-form-author"><label for="author">Name</label> <span class="required">*</span><br/><input id="author" name="author" type="text" value="" size="30"/></p> <p class="comment-form-email"><label for="email">Email</label> <span class="required">*</span><br/><input id="email" name="email" type="text" value="" size="30"/></p> <p class="comment-form-url"><label for="url">Website</label><br/><input id="url" name="url" type="text" value="" size="30"/></p> <p>To enter code in the comment box, please place it between <strong><pre lang="php"> </pre></strong> tags. You don't have to convert any characters to their hex/HTML code. Just add your code the way you would to any code editor.</p> <p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p> <p class="form-submit"> <input name="submit" type="submit" id="submit" value="Post Comment"/> <input type="hidden" name="comment_post_ID" value="2931" id="comment_post_ID"/> <input type="hidden" name="comment_parent" id="comment_parent" value="0"/> </p> <input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="c98334555b"/> </form> </div><!-- #respond --> </div><!-- #comments --> </div> </div> <!-- begin sidebar --> <div id="sidebar"> <div id="search"> <form method="get" id="searchform" action="https://web.archive.org/web/20101212085344/http://bavotasan.com/"> <div> <input type="text" class="search_input" value="Search" name="s" id="s" onfocus="if (this.value == 'Search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search';}"/> <input type="hidden" id="searchsubmit" value="Search"/> </div> </form> <div class="arrow"></div> </div> <div id="sideads"> <!-- BuySellAds.com Zone Code --> <div id="bsap_1237633" class="bsarocks bsap_8982c17d635c33dbe23a7ef930777c37"></div> <!-- END BuySellAds.com Zone Code --> <br class="clear"/> <!-- BuySellAds.com Zone Code --> <div id="bsap_1237624" class="bsarocks bsap_8982c17d635c33dbe23a7ef930777c37"></div> <!-- END BuySellAds.com Zone Code --> </div> <br class="clear"/> <div class="line"></div> <div class="side-widget"> <h4>Most Popular Posts</h4> <ul class="wppp_list"> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/creating-a-jquery-mouseover-fade-effect/" title="Creating a Mouseover Fade Effect with jQuery ">Creating a Mouseover Fade Effect with jQuery </a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/a-simple-mouseover-hover-effect-with-jquery/" title="A Simple Mouseover Hover Effect with jQuery">A Simple Mouseover Hover Effect with jQuery</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/full-sizebackground-image-jquery-plugin/" title="Full Size Background Image jQuery Plugin">Full Size Background Image jQuery Plugin</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/magazine-basic-free-wordpress-theme/" title="Magazine Basic v2.6 WordPress Theme">Magazine Basic v2.6 WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/processing-multiple-forms-on-one-page-with-php/" title="Processing Multiple Forms on One Page with PHP">Processing Multiple Forms on One Page with PHP</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/how-to-create-a-twitter-feed-on-your-web-site/" title="How to Create a Twitter Feed on Your Web Site">How to Create a Twitter Feed on Your Web Site</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/6-free-vinyl-record-vectors/" title="6 Free Vinyl Record Vectors">6 Free Vinyl Record Vectors</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/limiting-the-number-of-words-in-your-excerpt-or-content-in-wordpress/" title="Excerpt or Content Word Limit in WordPress: Redux">Excerpt or Content Word Limit in WordPress: Redux</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/retrieve-the-first-image-from-a-wordpress-post/" title="Retrieve and Display Images from a WordPress Post">Retrieve and Display Images from a WordPress Post</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/php-code-to-redirect-mobilehandheld-users/" title="PHP Code to Redirect Mobile/Handheld Users">PHP Code to Redirect Mobile/Handheld Users</a></li> </ul> </div> <div id="affiliates-ads"> <a href="https://web.archive.org/web/20101212085344/http://themes.bavotasan.com/" class="themes"></a> <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/delete-duplicate-posts-pro-wordpress-plugin/" class="deletedupes"></a> <a href="https://web.archive.org/web/20101212085344/https://secure1.inmotionhosting.com/cgi-bin/gby/clickthru.cgi?id=tinkerpriest&page=7" class="inmotion"></a> </div> <div class="line"></div> <div class="side-widget redlink"> <h4>Get a Premium Theme for FREE</h4> <p><a href="https://web.archive.org/web/20101212085344/https://secure1.inmotionhosting.com/cgi-bin/gby/clickthru.cgi?id=tinkerpriest" class="wordpress-logo"></a>Don't have a Web site? How would you like to have WordPress and a <a href="https://web.archive.org/web/20101212085344/http://themes.bavotasan.com/category/premium-themes">Themes by bavotasan.com</a> Premium theme installed and configured for <em>FREE</em>? All you need to do is <a href="https://web.archive.org/web/20101212085344/https://secure1.inmotionhosting.com/cgi-bin/gby/clickthru.cgi?id=tinkerpriest">sign up with InMotion Hosting through this link</a>. <br/> <br/> <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/free-premium-theme/" class="fr"><em>Click here for more information »</em></a> </p> </div> <div class="side-widget"> <h4>Support c.bavota</h4> <p>If you would like to support <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/">c.bavota</a> and <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/">bavotasan.com</a>, please use the donate link below. Any amount, even $1.00, is appreciated (a man's gotta eat, ya know).</p> <a href="https://web.archive.org/web/20101212085344/https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5745952" id="donate" class="fr">Donate</a> </div> </div> <!-- end sidebar --></div> </div> <!-- begin footer --> <div class="whiteline"></div> <div id="footer"> <div id="bottombar"> <a href="javascript:void(0)" class="backtotop">Back to Top<span></span></a> <div class="col col1"> <h4 class="one"><span></span>Stay in Touch</h4> <a href="https://web.archive.org/web/20101212085344/http://twitter.com/bavotasan" class="footer-twitter"><span></span>Follow me on Twitter</a><br/> <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/feed/" class="footer-rss"><span></span>Subscribe to my RSS Feed</a> <br class="clear"/> <h4 class="two"><span></span>Stay in Tune</h4> <div class="tweets"></div> </div> <div class="col col2"> <h4 class="three"><span></span>Downloads</h4> <ul> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/my-first-vanilla-plugin/">My First Vanilla Plugin</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/delete-duplicate-posts-pro-wordpress-plugin/">Delete Duplicate Posts Pro WordPress Plugin</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/feed-me-seymour-free-wordpress-theme/">Feed Me, Seymour 1.2</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/magazine-basic-free-wordpress-theme/">Magazine Basic v2.6 WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/sliderota-jquery-plugin/">Sliderota jQuery Plugin</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/full-sizebackground-image-jquery-plugin/">Full Size Background Image jQuery Plugin</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/easy-overlay-modal-window-jquery-plugin/">Easy Overlay Modal Window jQuery Plugin</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/snowblind-free-wordpress-theme/">Snowblind Free WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/8-free-colorful-background-textures-for-designers/">8 Free Colorful Background Textures for Designers</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/downloads/stationery-premium-wordpress-theme/">Stationery Premium WordPress Theme</a></li> </ul> </div> <div class="col col3"> <h4 class="four"><span></span>Tutorials</h4> <ul> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/simple-text-shadow-effect-using-css3/">Simple Text Shadow Effect using CSS3</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/default-custom-background-wordpress-3/">How to Set a Default Custom Background in WordPress 3.0</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/add-a-copyright-notice-to-copied-text/">Add a Copyright Notice to Copied Text</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/meta-descriptions-wordpress/">Meta Descriptions for WordPress</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/turning-on-php-errors/">Turning On PHP Errors</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/using-css-resets/">Using CSS Resets</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/a-sleek-navigation-menu-with-css3/">A Sleek Navigation Menu with CSS3</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/a-basic-jquery-slideshow/">A Basic jQuery Slideshow</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/text-rotation-css3/">Text Rotation with CSS3</a></li> <li><a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/tutorials/adding-tweet-button-wordpress/">Adding a Tweet Button to WordPress</a></li> </ul> </div> </div> </div> <div id="copyright"> <div id="copyright-wrapper"> Copyright © 2010 <a href="https://web.archive.org/web/20101212085344/http://bavotasan.com/">bavotasan.com</a>. All Rights Reserved. Powered by <a href="https://web.archive.org/web/20101212085344/http://www.wordpress.org/">WordPress</a>. </div> </div> <!--stats_footer_test--><script src="https://web.archive.org/web/20101212085344js_/http://stats.wordpress.com/e-201049.js" type="text/javascript"></script> <script type="text/javascript"> st_go({blog:'5317602',v:'ext',post:'2931'}); var load_cmc = function(){linktracker_init(5317602,2931,2);}; if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc); else load_cmc(); </script> <script type="text/javascript" src="https://web.archive.org/web/20101212085344js_/http://bavotasan.com/wp-content/themes/bavotasan-2010/js/coolstuff.js"></script> <script type="text/javascript"> hs.graphicsDir = 'https://web.archive.org/web/20101212085344/http://bavotasan.com/images/graphics/'; hs.outlineType = 'rounded-white'; hs.outlineWhileAnimating = true; hs.showCredits = false; </script> <!-- Bavota San 2010 theme designed by c.bavota, http://bavotasan.com --> </body> </html> <!-- Dynamic page generated in 1.602 seconds. --> <!-- Cached page generated by WP-Super-Cache on 2010-12-10 10:34:52 --> <!-- super cache --><!-- FILE ARCHIVED ON 08:53:44 Dec 12, 2010 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 13:47:52 Feb 27, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.51 exclusion.robots: 0.025 exclusion.robots.policy: 0.014 esindex: 0.009 cdx.remote: 47.712 LoadShardBlock: 244.02 (3) PetaboxLoader3.datanode: 211.722 (4) load_resource: 2251.12 PetaboxLoader3.resolve: 86.146 -->