CINXE.COM
Remove the Title Attribute from WordPress Category and Page Lists | 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" dir="ltr" lang="en-US"><head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_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="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://bavotasan.com:80/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/","20100701005508","https://web.archive.org/","web","/_static/", "1277945708"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_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="I was creating a drop down menu for the categories in my Magazine Basic theme and I came across something that started to annoy me a bit. When you hover ov..."/><meta name="keywords" content="Accessibility,annoy,Attribute,drop,Drop Down Menu,Echo,file,Function,Initiative,List Categories,Lists,magazine,page,Php,Remove,use,View,Web Accessibility Initiative,"/><title>Remove the Title Attribute from WordPress Category and Page Lists | bavotasan.com</title><link rel="stylesheet" href="https://web.archive.org/web/20100701005508cs_/http://bavotasan.com/wp-content/themes/bavotasan_new/style.css" type="text/css" media="screen"/><link rel="alternate" type="application/rss+xml" title="bavotasan.com RSS Feed" href="https://web.archive.org/web/20100701005508/http://feeds.feedburner.com/bavotasan"/><link rel="pingback" href="http://bavotasan.com/xmlrpc.php"/> <!--[if IE]><link rel="stylesheet" type="text/css" href="http://bavotasan.com/wp-content/themes/bavotasan_new/iestyles.css" /> <![endif]--> <!--[if IE 8]><link rel="stylesheet" type="text/css" href="http://bavotasan.com/wp-content/themes/bavotasan_new/iestyles8.css" /> <![endif]--><link rel="canonical" href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/"/><link rel="alternate" type="application/rss+xml" title="bavotasan.com » Remove the Title Attribute from WordPress Category and Page Lists Comments Feed" href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/feed/"/><link rel="stylesheet" id="A2A_SHARE_SAVE-css" href="https://web.archive.org/web/20100701005508cs_/http://bavotasan.com/wp-content/plugins/add-to-any/addtoany.min.css?ver=1.0" type="text/css" media=""/> <script type="text/javascript" src="https://web.archive.org/web/20100701005508js_/http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2"></script> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://bavotasan.com/xmlrpc.php?rsd"/><link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://bavotasan.com/wp-includes/wlwmanifest.xml"/><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="Retrieve and Display Images from a WordPress Post" href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/retrieve-the-first-image-from-a-wordpress-post/"/><link rel="next" title="Removing Extraneous Backslashes with PHP" href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/removing-extraneous-backslashes-with-php/"/><link rel="canonical" href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/"/> <!--[if IE]><style type="text/css">ul.addtoany_list a img{filter:alpha(opacity=70)}ul.addtoany_list a:hover img,ul.addtoany_list a.addtoany_share_save img{filter:alpha(opacity=100)}</style><![endif]--> <script type="text/javascript" src="https://web.archive.org/web/20100701005508js_/http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script> <link rel="shortlink" href="https://web.archive.org/web/20100701005508/http://wp.me/pmjlM-5N"/></head><body> <script type="text/javascript">(function(){var bsa=document.createElement('script');bsa.type='text/javascript';bsa.async=true;bsa.src='//web.archive.org/web/20100701005508/http://s3.buysellads.com/ac/bsa.js';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);})();</script> <div id="topmenu"><ul><li><a href="https://web.archive.org/web/20100701005508/http://themes.bavotasan.com/" title="Themes by bavotasan.com">Themes by bavotasan.com</a></li><li><a href="https://web.archive.org/web/20100701005508/http://support.bavotasan.com/" title="Support Forum">Support Forum</a></li><li><a href="https://web.archive.org/web/20100701005508/http://themes.bavotasan.com/affiliates" title="Affiliates">Affiliates</a></li><li class="page_item page-item-1956"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/free-premium-theme/" title="Get a Premium Theme for FREE">Get a Premium Theme for FREE</a></li><li class="page_item page-item-943"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/about/" title="About">About</a></li><li class="page_item page-item-75"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/services/" title="Services">Services</a></li><li class="page_item page-item-12"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/contact/" title="Contact">Contact</a></li></ul></div><div id="header"><div id="title"> <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" class="bavotasan-logo"></a></div><p id="desc">bavotasan.com by c.bavota</p><div id="navigation"><ul><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/">Home</a></li><li class="cat-item cat-item-1 current-cat70"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/category/articles/" title="View all posts filed under Articles">Articles</a></li><li class="cat-item cat-item-671"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/category/downloads/" title="View all posts filed under Downloads">Downloads</a></li><li class="cat-item cat-item-1 current-cat"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/category/tutorials/" title="View all posts filed under Tutorials">Tutorials</a></li></ul></div> <a href="https://web.archive.org/web/20100701005508/http://feeds.feedburner.com/bavotasan" id="newrss"></a></div><div id="mainwrapper"><div class="topround"></div><div id="content"><div id="leftcontent"><div class="post"><h1>Remove the Title Attribute from WordPress Category and Page Lists</h1><div class="thedate"><span>Posted on March 11, 2009 | Category: <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/category/tutorials/" title="View all posts in Tutorials" rel="category tag">Tutorials</a></span></div><p>I was creating a drop down menu for the categories in my Magazine Basic theme and I came across something that started to annoy me a bit. When you hover over the menu item, and the sub-menu dropped down, a title attribute would appear and cover some of the menu. This title attribute it hard wired into WordPress. Just hover over any menu item above and you will see a yellow box appear that says something like “View all posts files under…”.</p><p>This is a useful attribute to add to any site in regards to the <a href="https://web.archive.org/web/20100701005508/http://www.w3.org/WAI/">Web Accessibility Initiative</a>, but if it interferes with the basic navigation of your site, I think it is okay to nix it.<br/> <span id="more-359"></span><br/> Here is a simple pieces of code that you can use to remove the title attribute from your category list:</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;"><?php</span> <span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> wp_list_categories<span style="color: #009900;">(</span><span style="color: #0000ff;">'echo=0'</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">(</span><span style="color: #0000ff;">'/title=\"(.*?)\"/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><span style="color: #000088;">$categories</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$categories</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?></span></pre></div></td></tr></table></div><p>If you really want to get fancy, you can add this as a function to your theme’s function.php file. If the file doesn’t exist, just create it.</p><p>Add this:</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;"><?php</span> <span style="color: #000000; font-weight: bold;">function</span> categories_without_title_attribute<span style="color: #009900;">(</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> wp_list_categories<span style="color: #009900;">(</span><span style="color: #0000ff;">'echo=0'</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">(</span><span style="color: #0000ff;">'/title=\"(.*?)\"/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><span style="color: #000088;">$categories</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$categories</span><span style="color: #339933;">;</span> <span style="color: #009900;">}</span> <span style="color: #000000; font-weight: bold;">?></span></pre></div></td></tr></table></div><p>Now when you want to call your category list, use <code><?php categories_without_title_attribute(); ?></code> instead of <code><?php wp_list_categories(); ?></code>.</p><p>You can do the same to your page lists, just replace <code>wp_list_categories('echo=0')</code> with <code>wp_list_pages('echo=0')</code>.</p> <br style="clear:both;"/><hr class="clear"/><p class="tags">Tags: <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/accessibility/" rel="tag">Accessibility</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/annoy/" rel="tag">annoy</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/attribute/" rel="tag">Attribute</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/drop/" rel="tag">drop</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/drop-down-menu/" rel="tag">Drop Down Menu</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/echo/" rel="tag">Echo</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/file/" rel="tag">file</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/function/" rel="tag">Function</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/initiative/" rel="tag">Initiative</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/list-categories/" rel="tag">List Categories</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/lists/" rel="tag">Lists</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/magazine/" rel="tag">magazine</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/page/" rel="tag">page</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/php/" rel="tag">Php</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/remove/" rel="tag">Remove</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/use/" rel="tag">use</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/view/" rel="tag">View</a>, <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tag/web-accessibility-initiative/" rel="tag">Web Accessibility Initiative</a></p><p class="tags">Short URL: <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/?p=359" title="Remove the Title Attribute from WordPress Category and Page Lists">http://bavotasan.com/?p=359</a></p></div><div id="bsap_1248153" class="bsarocks bsap_8982c17d635c33dbe23a7ef930777c37"></div><div class="lowerposts"><div class="leftlower"><h3>Did you like this?</h3><div class="rss"></div><a href="https://web.archive.org/web/20100701005508/http://feeds.feedburner.com/bavotasan">Subscribe and get the latest</a><br/> <a class="a2a_dd addtoany_share_save" href="https://web.archive.org/web/20100701005508/http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fbavotasan.com%2Ftutorials%2Fremove-the-title-attribute-from-wordpress-category-and-page-lists%2F&linkname=Remove%20the%20Title%20Attribute%20from%20WordPress%20Category%20and%20Page%20Lists"><img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> <script type="text/javascript">var a2a_config=a2a_config||{};a2a_config.linkname="Remove the Title Attribute from WordPress Category and Page Lists";a2a_config.linkurl="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/";</script><script type="text/javascript" src="https://web.archive.org/web/20100701005508js_/http://static.addtoany.com/menu/page.js"></script> <div class="share"> <script src="https://web.archive.org/web/20100701005508js_/http://digg.com/tools/diggthis.js" type="text/javascript"></script> <div class="tweet"><script type="text/javascript" src="https://web.archive.org/web/20100701005508js_/http://tweetmeme.com/i/scripts/button.js"></script></div></div></div><div class="rightlower"><div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/wordpress-3-checking-out-the-new-menu-system/" rel="bookmark" class="crp_title">WordPress 3.0: Checking out the New Menu System</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/articles/new-video-demonstrations-in-the-support-forum/" rel="bookmark" class="crp_title">New Video Demonstrations in the Support Forum</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/how-to-remove-the-links-to-parent-pages-in-the-wordpress-page-list/" rel="bookmark" class="crp_title">How to Remove the Links to Parent Pages in the WordPress Page List</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/custom-template-for-single-posts-in-wordpress/" rel="bookmark" class="crp_title">Custom Template for Single Posts in WordPress</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/how-to-display-an-author-list-with-avatars-in-wordpress/" rel="bookmark" class="crp_title">How to Display an Author List with Avatars in WordPress: Redux</a></li></ul></div></div></div><div id="postcomments"> <a href="#comment_list"></a><h3 id="comments">37 Responses to “Remove the Title Attribute from WordPress Category and Page Lists”</h3><div class="navigation"><div class="alignleft"></div><div class="alignright"></div></div><ol class="commentlist"><li class="comment even thread-even depth-1" id="li-comment-1565"><div id="comment-1565"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/f41b7f0b8344e9963c6da2afb437566c?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.mohr.com.au/" rel="external nofollow" class="url">Tim</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-1565"> April 7, 2009 at 12:00 am</a></div><p>Hello,</p><p>Thanks for this. The example works great for removing the title tag from categories, but I just can’t get it to work for page lists.</p><p>Could you please post the php code used to remove title tags from wp_list_pages();</p><p>This is what I tried.</p><p>function pages_without_title_attribute() {<br/> $notitlepages = wp_list_pages(‘echo=0′);<br/> $notitlepages = preg_replace(‘/title=\”(.*?)\”/’,”,$notitlepages);<br/> echo $notitlepages;</p><p>The moment this code goes into my functions.php file it crashes wordpress (whether I am calling it or not). I have tried a few different variable names but I cant get this to work.</p><p>I am using Wordpress 2.7.</p><p>Thanks<br/> Tim</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1565#respond" onclick="return addComment.moveForm("comment-1565", "1565", "respond", "359")">Reply</a></div><div class="commentnumber">#1565</div></div></li><li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-1566"><div id="comment-1566"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/f41b7f0b8344e9963c6da2afb437566c?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.mohr.com.au/" rel="external nofollow" class="url">Tim</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-1566"> April 7, 2009 at 12:03 am</a></div><p>Never mind… worked it out.</p><p>Was missing the end }.</p><p>Thanks again. Works perfectly.</p><p>Tim</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1566#respond" onclick="return addComment.moveForm("comment-1566", "1566", "respond", "359")">Reply</a></div><div class="commentnumber">#1566</div></div></li><li class="comment even thread-even depth-1" id="li-comment-1977"><div id="comment-1977"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/93393dd76388fcf177d96c0b0067bbfe?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.peep.org/" rel="external nofollow" class="url">Michael Kay</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-1977"> April 18, 2009 at 1:04 pm</a></div><p>Probably the best solution anyone’s come up with. However, this function is not similar to wp_list_pages in that it does not accept all of the attributes of the native WP function.<br/> For example:</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1977#respond" onclick="return addComment.moveForm("comment-1977", "1977", "respond", "359")">Reply</a></div><div class="commentnumber">#1977</div></div></li><li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-1978"><div id="comment-1978"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/93393dd76388fcf177d96c0b0067bbfe?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.peep.org/" rel="external nofollow" class="url">Michael Kay</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-1978"> April 18, 2009 at 1:06 pm</a></div><p>Here is the code snippet for the example in the previous post:<br/> wp_list_pages(‘title_li=&sort_column=menu_order&depth=1&child_of=144′);</p><p>Dreaming of a solution where I’d be able to add all those attributes in place while also stripping the “<a title=” attribute.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1978#respond" onclick="return addComment.moveForm("comment-1978", "1978", "respond", "359")">Reply</a></div><div class="commentnumber">#1978</div></div></li><li class="comment even thread-even depth-1" id="li-comment-3056"><div id="comment-3056"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/3efda9ebebec6f317d81e24b4dfe5518?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.weboverhauls.com/" rel="external nofollow" class="url">Web Overhauls</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-3056"> June 24, 2009 at 4:13 pm</a></div><p>Thanks for this, I hate “redundant title attributes”. Not needed for web accessibility or anything else. (When the title is the same as the link text.)</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=3056#respond" onclick="return addComment.moveForm("comment-3056", "3056", "respond", "359")">Reply</a></div><div class="commentnumber">#3056</div></div></li><li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-3461"><div id="comment-3461"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/a15552f791ff4552e95ccc7df5a50eff?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">Jeff Federman</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-3461"> July 26, 2009 at 9:08 pm</a></div><p>Thanks for the tip, the title tool tips can be distracting. Here’s a little modification I made, in case you want to use some of the wp<em>list</em>pages parameters (e.g., ‘child<em>of’, ’sort</em>column’, etc.):</p><p><code>function listPagesNoTitle($args) {<br/> if ($args) {<br/> $args .= '&echo=0';<br/> } else {<br/> $args = 'echo=0';<br/> }<br/> $pages = wp_list_pages($args);<br/> $pages = preg_replace('/title=\"(.*?)\"/', '', $pages);<br/> echo $pages;<br/> }<br/> </code></p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=3461#respond" onclick="return addComment.moveForm("comment-3461", "3461", "respond", "359")">Reply</a></div><div class="commentnumber">#3461</div></div></li><li class="comment even thread-even depth-1" id="li-comment-3593"><div id="comment-3593"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/524eca540167b8253361b037b7bd79e2?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.technofinger.com/" rel="external nofollow" class="url">Kenneth Watt</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-3593"> August 3, 2009 at 1:33 pm</a></div><p>Rather than removing the default hover text, how can I go about changing it?</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=3593#respond" onclick="return addComment.moveForm("comment-3593", "3593", "respond", "359")">Reply</a></div><div class="commentnumber">#3593</div></div><ul class="children"><li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-3633"><div id="comment-3633"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://tinkerpriestmedia.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-3633"> August 5, 2009 at 11:13 am</a></div><p>Oh. That would take some hacking. Not sure which file you would have to go at though. WordPress by default just pulls of the Cat title or the Cat description.</p><div class="commentnumber">#3633</div></div></li><li class="comment even depth-2" id="li-comment-4131"><div id="comment-4131"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/238e5aadf090d3e1788149fd88e06aaa?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">b.parks</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-4131"> September 3, 2009 at 4:36 pm</a></div><p>Watt, I found this on another site. You have to go to the wp-includes folder and change the text string(s) in the classes.php and category-template.php files.</p><p>In the category-template.php file you have to change it in 6-7 different places.</p><p>I don’t like changing the core wp files, so the above works better for me (if I could get it to work, that is).</p><div class="commentnumber">#4131</div></div></li><li class="comment odd alt depth-2" id="li-comment-5830"><div id="comment-5830"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/b2d7d2d13aed54c2ed7feb538b382b42?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">Donny</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-5830"> October 31, 2009 at 9:17 pm</a></div><p>It’s easy!<br/> Using Jeff’s code above, just replace ‘title=’ with ‘alt=’ in ‘preg_replace’, e.g.:</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> pages_with_alt_attribute<span style="color: #009900;">(</span><span style="color: #000088;">$args</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">(</span><span style="color: #000088;">$args</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span> <span style="color: #000088;">$args</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&amp;echo=0'</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;">$args</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'echo=0'</span><span style="color: #339933;">;</span> <span style="color: #009900;">}</span> <span style="color: #000088;">$pages</span> <span style="color: #339933;">=</span> wp_list_pages<span style="color: #009900;">(</span><span style="color: #000088;">$args</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #000088;">$pages</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">(</span><span style="color: #0000ff;">'/title=/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'alt='</span><span style="color: #339933;">,</span> <span style="color: #000088;">$pages</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$pages</span><span style="color: #339933;">;</span> <span style="color: #009900;">}</span></pre></div></td></tr></table></div><p>This is better than removing the ‘title’ attr. completely from accessibility point of view. Screen readers can still read ‘alt’ attributes.</p><div class="commentnumber">#5830</div></div></li></ul></li><li class="comment even thread-odd thread-alt depth-1" id="li-comment-5201"><div id="comment-5201"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/1f2f5e63fc4c34e1bad26de76e53d8d6?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">Karar.A.</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-5201"> October 2, 2009 at 11:32 am</a></div><p>very good <img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"/></p><p>there is another way to do this with jQuery > just add this code to your functions.php file in you theme:</p><p>function remove_alt(){<br/> wp_enqueue_script(‘jquery’);<br/> ?></p><p> jQuery(document).ready(function(){<br/> jQuery(“li.cat-item a”).each(function(){<br/> jQuery(this).removeAttr(‘title’);<br/> })<br/> jQuery(“li.page_item a”).each(function(){<br/> jQuery(this).removeAttr(‘title’);<br/> })</p><p> });</p><p><?php<br/> }<br/> add_filter('wp_head','remove_alt');</p><p>save it and it will work “remember you need to add jquery in your theme”</p><p>Thank you again <img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"/></p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=5201#respond" onclick="return addComment.moveForm("comment-5201", "5201", "respond", "359")">Reply</a></div><div class="commentnumber">#5201</div></div></li><li class="comment odd alt thread-even depth-1" id="li-comment-5885"><div id="comment-5885"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/80fa1e1257ac8ab99e5a668b0853cb9e?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.livingondividends.org/" rel="external nofollow" class="url">Rich</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-5885"> November 3, 2009 at 8:34 pm</a></div><p>What about replacing ‘the_title’ with ‘the_title_attribute’ BUT only in sidebars or active widgets? Would you know how to do this?</p><p>I wish I were a coder, but, I’m not and cannot find this ANYWHERE. I even tried the WP forums to no avail. Looking at your example makes me thing you might know how to do this.</p><p>Thanks in advance. Hoping you might know!</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=5885#respond" onclick="return addComment.moveForm("comment-5885", "5885", "respond", "359")">Reply</a></div><div class="commentnumber">#5885</div></div></li><li class="comment even thread-odd thread-alt depth-1" id="li-comment-6371"><div id="comment-6371"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/c9f1496eae0c7b9b9caef134519544f2?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">Djor</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-6371"> November 22, 2009 at 10:25 pm</a></div><p>I already use a preg replace to add span to the links. Does anyone know how I can combine both codes?</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;"><?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">(</span><span style="color: #0000ff;">'@\]*)>\<a>]*)>(.*?)\@i'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'<a>$3</a>'</span><span style="color: #339933;">,</span>wp_list_categories<span style="color: #009900;">(</span><span style="color: #0000ff;">'echo=0&orderby=id&title_li=&depth=1&include=14'</span><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><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=6371#respond" onclick="return addComment.moveForm("comment-6371", "6371", "respond", "359")">Reply</a></div><div class="commentnumber">#6371</div></div></li><li class="comment odd alt thread-even depth-1" id="li-comment-6979"><div id="comment-6979"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/34b13ad8bdcac228283b9ccc9a904356?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.technokinetics.com/" rel="external nofollow" class="url">Tim Holt</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-6979"> January 4, 2010 at 12:01 pm</a></div><p>Those who aren’t comfortable editing their theme files can use the <a href="https://web.archive.org/web/20100701005508/http://wordpress.org/extend/plugins/remove-title-attributes/" rel="nofollow">Remove Title Attributes</a> plugin to solve this problem.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=6979#respond" onclick="return addComment.moveForm("comment-6979", "6979", "respond", "359")">Reply</a></div><div class="commentnumber">#6979</div></div><ul class="children"><li class="comment even depth-2" id="li-comment-11750"><div id="comment-11750"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/a31fa7ef4bdb002137cbf0dae22206ff?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.cake.net.au/" rel="external nofollow" class="url">Dean</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-11750"> June 22, 2010 at 3:59 am</a></div><p>Thanks for this plugin Tim. Exaclty what I needed at this time of day.</p><div class="commentnumber">#11750</div></div></li></ul></li><li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-6996"><div id="comment-6996"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/c5b46187cb39ea3aa47b3d3194dd7612?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.vintagethrowbacks.net/" rel="external nofollow" class="url">Jeff</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-6996"> January 6, 2010 at 1:00 am</a></div><p>Thanks, this was exactly what I was searching for. It was terribly annoying.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=6996#respond" onclick="return addComment.moveForm("comment-6996", "6996", "respond", "359")">Reply</a></div><div class="commentnumber">#6996</div></div></li><li class="comment even thread-even depth-1" id="li-comment-7486"><div id="comment-7486"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/6744bdb224dd5b9c967167278753fe08?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.themigrainerelief.com/" rel="external nofollow" class="url">Guy</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-7486"> February 2, 2010 at 4:19 pm</a></div><p>Is there nothing you can tick in wordpress, I cant imagine trying to mess with the pages. Last time I did that I messed it up</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=7486#respond" onclick="return addComment.moveForm("comment-7486", "7486", "respond", "359")">Reply</a></div><div class="commentnumber">#7486</div></div><ul class="children"><li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-7502"><div id="comment-7502"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-7502"> February 3, 2010 at 11:41 am</a></div><p>I wish everything was that easy. But alas, this one needs some hacking.</p><div class="commentnumber">#7502</div></div></li></ul></li><li class="comment even thread-odd thread-alt depth-1" id="li-comment-7487"><div id="comment-7487"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/5bd29a3698d0638e8ed6f8315a097163?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.making-it-pay24-7.info/" rel="external nofollow" class="url">Steve</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-7487"> February 2, 2010 at 4:26 pm</a></div><p>No its annoying but I think you can only do it with code.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=7487#respond" onclick="return addComment.moveForm("comment-7487", "7487", "respond", "359")">Reply</a></div><div class="commentnumber">#7487</div></div></li><li class="comment odd alt thread-even depth-1" id="li-comment-8031"><div id="comment-8031"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/6803b109e3005c85bfd24b8621b6e2af?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://pioupioum.fr/" rel="external nofollow" class="url">piouPiouM</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8031"> March 3, 2010 at 1:16 pm</a></div><p>If you have filled descriptions of categories, you can use the filter <code>category_description</code> as follows:</p><pre>function quietness() { return ''; } add_filter('category_description', 'quietness'); wp_list_categories();</pre><p>Setup <code>use_desc_for_title=1</code> when you call <code>wp_list_categories()</code> to disable it.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8031#respond" onclick="return addComment.moveForm("comment-8031", "8031", "respond", "359")">Reply</a></div><div class="commentnumber">#8031</div></div></li><li class="comment even thread-odd thread-alt depth-1" id="li-comment-8330"><div id="comment-8330"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/1aa2c3992b054c756ac09e2231dd3d7f?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.filmumuzika.lv/" rel="external nofollow" class="url">banesto</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8330"> March 17, 2010 at 6:40 am</a></div><p>thanks to you it was a fast fix!</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8330#respond" onclick="return addComment.moveForm("comment-8330", "8330", "respond", "359")">Reply</a></div><div class="commentnumber">#8330</div></div></li><li class="comment odd alt thread-even depth-1" id="li-comment-8807"><div id="comment-8807"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/6bd85b170c90e9459803aba907c1caee?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bluedovedesigns.com/" rel="external nofollow" class="url">Jim Camomile</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8807"> April 17, 2010 at 1:54 pm</a></div><p>Hi,</p><p>Maybe this is new in WP but I found a parameter for wp_list_cats that works nicely.</p><p>use_desc_for_title = 0</p><p>as in</p><p><a href="https://web.archive.org/web/20100701005508/http://codex.wordpress.org/Function_Reference/wp_list_cats" rel="nofollow">http://codex.wordpress.org/Function_Reference/wp_list_cats</a></p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8807#respond" onclick="return addComment.moveForm("comment-8807", "8807", "respond", "359")">Reply</a></div><div class="commentnumber">#8807</div></div></li><li class="comment even thread-odd thread-alt depth-1" id="li-comment-8838"><div id="comment-8838"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/893c0a74980e1339afd508630cf69f90?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">Bart</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8838"> April 19, 2010 at 12:30 pm</a></div><p>hello, is there a place where I can see how this tutorial is done? I am very new in all this and if I only could understand paste the codes this would really help.<br/> So in “functions.php”, which code of the two is best, the first was to be pasted where?<br/> And finally to call the category list what does this really mean?</p><p>Sorry for asking! <img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/></p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8838#respond" onclick="return addComment.moveForm("comment-8838", "8838", "respond", "359")">Reply</a></div><div class="commentnumber">#8838</div></div><ul class="children"><li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-8864"><div id="comment-8864"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8864"> April 20, 2010 at 12:55 pm</a></div><p>The functions.php code above isn’t necessary. That is only worth using if you plan on calling the code in many different file. Just paste the first block of code into the file where you want the list to appear.</p><div class="commentnumber">#8864</div></div></li><li class="comment even depth-2" id="li-comment-8872"><div id="comment-8872"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/893c0a74980e1339afd508630cf69f90?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">Bart</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8872"> April 20, 2010 at 4:06 pm</a></div><p>Yes I still don’t get it, ups sorry! Where? Paste into the header.php… because there is the menu and there I have the alt tags appearing… ?</p><p>And as Nathalie is commenting I also use qtranslate..will it work as well?</p><p>Thanks again for your time.</p><div class="commentnumber">#8872</div></div></li><li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-8891"><div id="comment-8891"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8891"> April 21, 2010 at 9:44 am</a></div><p>Use the code where you want your menu/list to appear. So if it is in the header.php file then replace the current code.</p><div class="commentnumber">#8891</div></div></li><li class="comment even depth-2" id="li-comment-8901"><div id="comment-8901"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/893c0a74980e1339afd508630cf69f90?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn">Bart</cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8901"> April 21, 2010 at 3:54 pm</a></div><p>Dear friend, I paste the code of the header here. I tried to do it by guessing where it could be pasted your code, but no way it does not work, can you please tell me which line must be replaced with your code?</p><p><html xmlns="http://www.w3.org/1999/xhtml" ></p><p><meta http-equiv="Content-Type" content="; charset=” /></p><p><link rel="stylesheet" href="” type=”text/css” media=”screen” /><br/> <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="” /><br/> <link rel="pingback" href="” /></p><p><body id="” ></p><p> <a href="”><img src="” alt=”" width=”" height=”"/></p><p> <h1 style="left:px;line-height:px”></p><p> <li><a href="” title=”"></p><p> cat_ID; else : $current_cat = ”; endif;<br/> $ex_cats = ts_get_option(‘ts_ex_cats’); wp_list_categories(‘title_li=&current_category=’.$current_cat.’&exclude=’.$ex_cats.’&orderby=ID’); ?></p><p></p><div class="commentnumber">#8901</div></div></li><li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-8922"><div id="comment-8922"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8922"> April 22, 2010 at 10:09 am</a></div><p>Replace this:</p><div class="wp_syntax"><table border="0" cellpadding="0" cellspacing="0"><tr><td><div class="code"><pre class="php" style="font-family:monospace;">wp_list_categories<span style="color: #009900;">(</span>‘title_li<span style="color: #339933;">=&</span>current_category<span style="color: #339933;">=</span>’<span style="color: #339933;">.</span><span style="color: #000088;">$current_cat</span><span style="color: #339933;">.</span>’<span style="color: #339933;">&</span>exclude<span style="color: #339933;">=</span>’<span style="color: #339933;">.</span><span style="color: #000088;">$ex_cats</span><span style="color: #339933;">.</span>’<span style="color: #339933;">&</span>orderby<span style="color: #339933;">=</span>ID’<span style="color: #009900;">)</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div><div class="commentnumber">#8922</div></div></li></ul></li><li class="comment even thread-even depth-1" id="li-comment-8856"><div id="comment-8856"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.straydoginfocenter.org/" rel="external nofollow" class="url">Nathalie</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8856"> April 20, 2010 at 3:12 am</a></div><p>I’m new to this as well. I use the Thesis theme and Qtranslate. I really want to get rid of the title attributes, because they look like this: [en:]english page title [nl:]dutch page title. Can someone explain us (Bart en me) in which file we have to paste the codes and which codes? Both?<br/> Thank you in advance.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8856#respond" onclick="return addComment.moveForm("comment-8856", "8856", "respond", "359")">Reply</a></div><div class="commentnumber">#8856</div></div><ul class="children"><li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-8863"><div id="comment-8863"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8863"> April 20, 2010 at 12:53 pm</a></div><p>You can just paste in the code wherever you want it to appear. You don’t have to put it into the function.php file.</p><div class="commentnumber">#8863</div></div></li></ul></li><li class="comment even thread-odd thread-alt depth-1" id="li-comment-8857"><div id="comment-8857"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.straydoginfocenter.org/" rel="external nofollow" class="url">Nathalie</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8857"> April 20, 2010 at 3:13 am</a></div><p>By the way, I tried all the plugins made for this, but they don’t work.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8857#respond" onclick="return addComment.moveForm("comment-8857", "8857", "respond", "359")">Reply</a></div><div class="commentnumber">#8857</div></div></li><li class="comment odd alt thread-even depth-1" id="li-comment-8880"><div id="comment-8880"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.straydoginfocenter.org/" rel="external nofollow" class="url">Nathalie</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8880"> April 21, 2010 at 4:10 am</a></div><p>Thanks for the advice. I tried everything. I have a website with static pages and one page with a blog. I tried to copy the codes into theme/functions.php and in theme/custom/custom_functions.php. Nothing works. Can you please be more specific to us newbies? Which files, which line do have to copy the codes, which codes exactly from beginning to end? I also tried Tim’s code with the end hook, but no result either.</p><p>This is the only blog where codes are mentioned to delete the title attributes. Everyone else suggest the plugins, but they conflict with qtranslate.</p><p>Thanks again.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8880#respond" onclick="return addComment.moveForm("comment-8880", "8880", "respond", "359")">Reply</a></div><div class="commentnumber">#8880</div></div><ul class="children"><li class="comment byuser bypostauthor even depth-2" id="li-comment-8890"><div id="comment-8890"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8890"> April 21, 2010 at 9:42 am</a></div><p>What theme are you using? It might not be using the functions.php file the same way that other themes do. For the most part, if you just copy the second code into the functions.php file anywhere, you can then use the function to call it in any file. Most likely, you would put it into the header.php file in the navigation div or wherever you want your menu to appear.</p><div class="commentnumber">#8890</div></div></li></ul></li><li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-8916"><div id="comment-8916"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.straydoginfocenter.org/" rel="external nofollow" class="url">Nathalie</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8916"> April 22, 2010 at 3:58 am</a></div><p>Thesis 1.7 is the theme.</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8916#respond" onclick="return addComment.moveForm("comment-8916", "8916", "respond", "359")">Reply</a></div><div class="commentnumber">#8916</div></div><ul class="children"><li class="comment byuser bypostauthor even depth-2" id="li-comment-8921"><div id="comment-8921"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/0375e723bd400a99acb6f2e08d6ea190?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/" rel="external nofollow" class="url">c.bavota</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8921"> April 22, 2010 at 10:09 am</a></div><p>Thesis doesn’t really allow for easy addition of content. You would have to remove the current menu and then add the code above in. Look for instructions on how to do that on the Thesis Web site.</p><div class="commentnumber">#8921</div></div></li></ul></li><li class="comment odd alt thread-even depth-1" id="li-comment-8966"><div id="comment-8966"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/d4adfc2f92d57f895bf8861534408a8c?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://www.gomedia.us/" rel="external nofollow" class="url">Wilson</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-8966"> April 24, 2010 at 8:39 pm</a></div><p>Not sure if this was mentioned, but you can add the title parameter with an empty string and that’ll remove them:</p><div class="wp_syntax"><table border="0" cellpadding="0" cellspacing="0"><tr><td><div class="code"><pre class="php" style="font-family:monospace;"> </pre></div></td></tr></table></div><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8966#respond" onclick="return addComment.moveForm("comment-8966", "8966", "respond", "359")">Reply</a></div><div class="commentnumber">#8966</div></div></li><li class="comment even thread-odd thread-alt depth-1" id="li-comment-11787"><div id="comment-11787"><div class="comment-author vcard"> <img alt="" src="https://web.archive.org/web/20100701005508im_/http://www.gravatar.com/avatar/3756db2006bd41ca385b1af3695be625?s=36&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D36&r=G" class="avatar avatar-36 photo" height="36" width="36"/><cite class="fn"><a href="https://web.archive.org/web/20100701005508/http://cherrybomb.com.mx/" rel="external nofollow" class="url">Heinrich</a></cite></div><div class="comment-meta commentmetadata"><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-1/#comment-11787"> June 23, 2010 at 1:37 am</a></div><p>Very very helpful, I had no idea in how to change the title attribute, i was thinking to use jQuery, but this is better <img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"/> thanks!!</p><div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=11787#respond" onclick="return addComment.moveForm("comment-11787", "11787", "respond", "359")">Reply</a></div><div class="commentnumber">#11787</div></div></li></ol><div class="navigation"><div class="alignleft"></div><div class="alignright"></div></div><div id="respond"><h3>Leave a Reply</h3><div class="cancel-comment-reply"> <a rel="nofollow" id="cancel-comment-reply-link" href="/web/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/#respond" style="display:none;">Click here to cancel reply.</a></div><form action="https://web.archive.org/web/20100701005508/http://bavotasan.com/wp-comments-post.php" method="post" id="commentform"><p><input type="text" name="author" id="author" value="" size="22" tabindex="1"/> <label for="author"><small>Name (required)</small></label></p><p><input type="text" name="email" id="email" value="" size="22" tabindex="2"/> <label for="email"><small>Mail (will not be published) (required)</small></label></p><p><input type="text" name="url" id="url" value="" size="22" tabindex="3"/> <label for="url"><small>Website</small></label></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><textarea name="comment" id="comment" cols="" rows="10" tabindex="4"></textarea></p><p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment"/> <input type="hidden" name="comment_post_ID" value="359" id="comment_post_ID"/> <input type="hidden" name="comment_parent" id="comment_parent" value="0"/></p></form></div></div></div><div id="sidebar"><div id="search"><form method="get" id="searchform" action="https://web.archive.org/web/20100701005508/http://bavotasan.com/"><div> <input type="text" class="search_input" value="To Search, Type & Hit Enter" name="s" id="s" onfocus="if (this.value == 'To Search, Type & Hit Enter') {this.value = '';}" onblur="if (this.value == '') {this.value = 'To Search, Type & Hit Enter';}"/> <input type="hidden" id="searchsubmit" value="Search"/></div></form><div class="arrow"></div></div><div id="sideads"> <a href="https://web.archive.org/web/20100701005508/http://themes.bavotasan.com/"><img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/images/win-ipad.jpg" alt="Buy a Theme, Win an iPad!" class="sideads" style="margin-bottom: 8px;" width="270" height="250"/></a><div id="bsap_1237633" class="bsarocks bsap_8982c17d635c33dbe23a7ef930777c37"></div><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/downloads/delete-duplicate-posts-pro-wordpress-plugin/?xyz=1"><img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/wp-content/themes/bavotasan_new/images/ddp-ad.png" class="sideads" alt="Delete Duplicate Posts Pro" width="125" height="125"/></a> <a href="https://web.archive.org/web/20100701005508/https://www.e-junkie.com/ecom/gb.php?cl=88539&c=ib&aff=93121"><img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/wp-content/themes/bavotasan_new/images/diggword.png" alt="Digging into WordPress" class="sideads" width="125" height="125"/></a> <a href="https://web.archive.org/web/20100701005508/https://www.e-junkie.com/ecom/gb.php?cl=94455&c=ib&aff=93121" target="ejejcsingle"><img src="https://web.archive.org/web/20100701005508im_/http://bavotasan.com/images/WP-Defender-Cover2.jpg" alt="WordPress Defender" width="125" height="125" class="sideads"/></a> <a href="https://web.archive.org/web/20100701005508/https://secure1.inmotionhosting.com/cgi-bin/gby/clickthru.cgi?id=tinkerpriest&page=7"><img src="https://web.archive.org/web/20100701005508im_/http://creatives.inmotionhosting.com/125x125.v6.gif" class="sideads" width="125" height="125"/></a><div id="bsap_1237624" class="bsarocks bsap_8982c17d635c33dbe23a7ef930777c37"></div><hr style="clear:both;height: 0;border:0;"/></div><div id="popular"><h2>Most Popular Posts</h2><ul class="wppp_list"><li><a href="https://web.archive.org/web/20100701005508/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/20100701005508/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/20100701005508/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/20100701005508/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/20100701005508/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/20100701005508/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/20100701005508/http://bavotasan.com/downloads/simple-image-grabber-wordpress-plugin/" title="Simple Image Grabber WordPress Plugin">Simple Image Grabber WordPress Plugin</a></li><li><a href="https://web.archive.org/web/20100701005508/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/20100701005508/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/" title="Remove the Title Attribute from WordPress Category and Page Lists">Remove the Title Attribute from WordPress Category and Page Lists</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/downloads/easy-overlay-modal-window-jquery-plugin/" title="Easy Overlay Modal Window jQuery Plugin">Easy Overlay Modal Window jQuery Plugin</a></li></ul></div><div id="freewordpress"><h2>Get a Premium Theme for FREE</h2><p><a href="https://web.archive.org/web/20100701005508/https://secure1.inmotionhosting.com/cgi-bin/gby/clickthru.cgi?id=tinkerpriest" class="wordpress-logo"></a><strong>Don't have a Web site?</strong> How would you like to have WordPress and a <a href="https://web.archive.org/web/20100701005508/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/20100701005508/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/20100701005508/http://bavotasan.com/free-premium-theme/">Click here for more information »</a></p></div><div id="donate"><h2>Support c.bavota</h2><p>If you would like to support <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/">c.bavota</a> and <a href="https://web.archive.org/web/20100701005508/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><form action="https://web.archive.org/web/20100701005508/https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"/> <input type="hidden" name="hosted_button_id" value="5745952"/> <input type="image" src="https://web.archive.org/web/20100701005508im_/https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!"/> <img alt="" border="0" src="https://web.archive.org/web/20100701005508im_/https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"/></form></div> <a href="https://web.archive.org/web/20100701005508/http://mediatemple.net/" class="mediatemplate"></a></div></div></div><div id="footer"><div id="sitemap"><div id="wrap"><div class="col1"><h2>Stay in tune</h2><div class="tweets"></div> <br class="clear"/><div class="twitter-bird"></div><a href="https://web.archive.org/web/20100701005508/http://twitter.com/bavotasan" class="follow"><em>Follow Me on Twitter!</em></a></div><div class="col2"><h2>Downloads</h2><ul><li><a href="https://web.archive.org/web/20100701005508/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/20100701005508/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/20100701005508/http://bavotasan.com/downloads/sliderota-jquery-plugin/">Sliderota jQuery Plugin</a></li><li><a href="https://web.archive.org/web/20100701005508/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/20100701005508/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/20100701005508/http://bavotasan.com/downloads/snowblind-free-wordpress-theme/">Snowblind v1.1.2 WordPress Theme</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/downloads/8-free-colorful-background-textures-for-designers/">8 Free Colorful Background Textures for Designers</a></li></ul></div><div class="col3"><h2>Tutorials</h2><ul><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/scrolling-back-to-top-button-jquery/">Creating a Scrolling Back to Top Button with jQuery</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/get_theme_data-developing-custom-theme-wordpress/">Using get_theme_data() when Developing a Custom Theme for WordPress</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/define-constant-php/">Defining a Constant with PHP</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/wordpress-3-activating-background-editor/">WordPress 3.0: Activating the Background Editor</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/wordpress-3-creating-multi-user-web-sites/">WordPress 3.0: Creating Multi-User Web Sites</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/wordpress-3-checking-out-the-new-menu-system/">WordPress 3.0: Checking out the New Menu System</a></li><li><a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/tutorials/how-to-upload-zip-file-using-php/">How to Upload and Unpack a Zip File using PHP</a></li></ul></div></div></div> <span class="footerleft">Copyright © 2010 <a href="https://web.archive.org/web/20100701005508/http://bavotasan.com/">bavotasan.com</a>. All Rights Reserved. Powered by <a href="https://web.archive.org/web/20100701005508/http://www.wordpress.org/">WordPress</a>.</span><div class="toparrow"></div><span class="backtotop">Back to Top</span></div> <script src="https://web.archive.org/web/20100701005508js_/http://stats.wordpress.com/e-201026.js" type="text/javascript"></script> <script type="text/javascript">st_go({blog:'5317602',v:'ext',post:'359'});var load_cmc=function(){linktracker_init(5317602,359,2);};if(typeof addLoadEvent!='undefined')addLoadEvent(load_cmc);else load_cmc();</script> <script type="text/javascript" src="https://web.archive.org/web/20100701005508js_/http://bavotasan.com/wp-content/themes/bavotasan_new/js/coolstuff.js"></script> <script type="text/javascript">hs.graphicsDir='https://web.archive.org/web/20100701005508/http://bavotasan.com/wp-content/plugins/highslide-integration/highslide/graphics/';hs.outlineType='rounded-white';hs.outlineWhileAnimating=true;</script> <script type="text/javascript">var gaJsHost=(("https:"==document.location.protocol)?"https://web.archive.org/web/20100701005508/https://ssl.":"https://web.archive.org/web/20100701005508/http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script> <script type="text/javascript">try{var pageTracker=_gat._getTracker("UA-452133-5");pageTracker._trackPageview();}catch(err){}</script> </body></html> <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/ Minified using disk Page Caching using disk (user agent is rejected) Database Caching 35/61 queries in 0.130 seconds using disk Served from: bavotasan.com @ 2010-06-30 20:55:08 --><!-- FILE ARCHIVED ON 00:55:08 Jul 01, 2010 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 23:58:31 Nov 29, 2024. 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: 1.012 exclusion.robots: 0.04 exclusion.robots.policy: 0.031 esindex: 0.009 cdx.remote: 3.148 LoadShardBlock: 130.153 (3) PetaboxLoader3.datanode: 160.206 (5) load_resource: 166.365 (2) PetaboxLoader3.resolve: 61.832 -->