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" 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:80/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/","20100820093111","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1282296671"); </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="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/20100820093111cs_/http://bavotasan.com/wp-content/themes/bavotasan-2010/style.css" type="text/css" media="screen"/> <link rel="shortcut icon" href="https://web.archive.org/web/20100820093111im_/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/20100820093111/http://bavotasan.com/feed/"/> <link rel="alternate" type="application/rss+xml" title="bavotasan.com » Comments Feed" href="https://web.archive.org/web/20100820093111/http://bavotasan.com/comments/feed/"/> <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/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/feed/"/> <script type="text/javascript" src="https://web.archive.org/web/20100820093111js_/http://bavotasan.com/wp-includes/js/jquery/jquery.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/20100820093111/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/20100820093111/http://bavotasan.com/tutorials/removing-extraneous-backslashes-with-php/"/> <link rel="canonical" href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/"/> <link rel="shortlink" href="https://web.archive.org/web/20100820093111/http://wp.me/pmjlM-5N"/> <script type="text/javascript" src="https://web.archive.org/web/20100820093111js_/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="Remove the Title Attribute from WordPress Category and Page Lists"/> <meta property="og: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 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 [...]"/> <meta property="og:type" content="article"/> <meta property="og:image" content="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/wp-content/uploads/2009/03/wordpress_icons.jpg"/> </head> <body class="single single-post postid-359"> <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/20100820093111/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/20100820093111/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/20100820093111/http://support.bavotasan.com/">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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/http://bavotasan.com/contact/">Contact</a></li> </ul></div> <div id="title"> <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/"> <img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/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/20100820093111/http://twitter.com/bavotasan" class="twitter"></a> <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/feed/" 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/20100820093111/http://bavotasan.com/"><span></span>Home</a></li> <li id="menu-item-2266"><a href="https://web.archive.org/web/20100820093111/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/20100820093111/http://bavotasan.com/category/tutorials/"><span></span>Tutorials</a></li> <li id="menu-item-2267"><a href="https://web.archive.org/web/20100820093111/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">Mar</div><div class="day">11</div><div class="year">2009</div></div> <h1>Remove the Title Attribute from WordPress Category and Page Lists</h1> <br class="clear"/> <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 &#8220;View all posts files under&#8230;&#8221;. </p> <p>This is a useful attribute to add to any site in regards to the <a href="https://web.archive.org/web/20100820093111/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;">&lt;?php</span> <span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> wp_list_categories<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'echo=0'</span><span style="color: #009900;">&#41;</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;">&#40;</span><span style="color: #0000ff;">'/title=\&quot;(.*?)\&quot;/'</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;">&#41;</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;">?&gt;</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&#8217;s function.php file. If the file doesn&#8217;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;">&lt;?php</span> <span style="color: #000000; font-weight: bold;">function</span> categories_without_title_attribute<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> wp_list_categories<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'echo=0'</span><span style="color: #009900;">&#41;</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;">&#40;</span><span style="color: #0000ff;">'/title=\&quot;(.*?)\&quot;/'</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;">&#41;</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;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</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> <div class="buttonbox"> </div> </div> <div class="post"> <div class="socialleft">If you liked reading this, please share it.</div> <ul class="addtoany_list"> <li><a href="https://web.archive.org/web/20100820093111/http://twitter.com/home?status=Remove the Title Attribute from WordPress Category and Page Lists http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/ (via @bavotasan)" title="Click to send this page to Twitter!" target="_blank" rel="nofollow"><img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/images/icons/twitter.png" width="16" height="16" alt="Twitter"/></a></li> <li><a href="https://web.archive.org/web/20100820093111/http://www.facebook.com/sharer.php?u=http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/&amp;t=Remove the Title Attribute from WordPress Category and Page Lists" title="Click to send this page to Facebook!" target="_blank" rel="nofollow"><img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/images/icons/facebook.png" width="16" height="16" alt="Facebook"/></a></li> <li><a href="https://web.archive.org/web/20100820093111/http://digg.com/submit?phase=2&amp;url=http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/&amp;title=Remove the Title Attribute from WordPress Category and Page Lists&amp;bodytext=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 [...]" title="Digg" rel="nofollow" target="_blank"><img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/images/icons/digg.png" width="16" height="16" alt="Digg"/></a></li> <li><a href="https://web.archive.org/web/20100820093111/http://www.delicious.com/save" onclick="window.open('https://web.archive.org/web/20100820093111/http://www.delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent('https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/')+'&amp;title='+encodeURIComponent('Remove the Title Attribute from WordPress Category and Page Lists'),'delicious', 'toolbar=no,width=550,height=550'); return false;"><img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/images/icons/delicious.png" width="16" height="16" alt="Delicious"/></a></li> <li><a href="https://web.archive.org/web/20100820093111/http://www.stumbleupon.com/submit?url=http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/&amp;title=Remove the Title Attribute from WordPress Category and Page Lists" title="StumbleUpon" rel="nofollow" target="_blank"><img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/images/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a></li> <li><iframe src="https://web.archive.org/web/20100820093111if_/http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fbavotasan.com%2Ftutorials%2Fremove-the-title-attribute-from-wordpress-category-and-page-lists%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;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/20100820093111/http://bavotasan.com/tag/accessibility/" rel="tag">Accessibility</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/annoy/" rel="tag">annoy</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/attribute/" rel="tag">Attribute</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/drop/" rel="tag">drop</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/drop-down-menu/" rel="tag">Drop Down Menu</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/echo/" rel="tag">Echo</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/file/" rel="tag">file</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/function/" rel="tag">Function</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/initiative/" rel="tag">Initiative</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/list-categories/" rel="tag">List Categories</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/lists/" rel="tag">Lists</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/magazine/" rel="tag">magazine</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/page/" rel="tag">page</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/php/" rel="tag">Php</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/remove/" rel="tag">Remove</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/use/" rel="tag">use</a>, <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tag/view/" rel="tag">View</a>, <a href="https://web.archive.org/web/20100820093111/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/20100820093111/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 class="post"> <div id="crp_related"> <h3>Similar Posts</h3> <ul> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/jquery-replace-word-with-link/" rel="bookmark" title="Permanent Link to Use jQuery to Replace a Word with a Link">Use jQuery to Replace a Word with a Link</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/using-ajax-with-wordpress/" rel="bookmark" title="Permanent Link to Using Ajax with WordPress">Using Ajax with WordPress</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/blindtoggle-for-jquery/" rel="bookmark" title="Permanent Link to Blind Toggle for jQuery">Blind Toggle for jQuery</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/shorten-your-post-titles-in-wordpress/" rel="bookmark" title="Permanent Link to Shorten Your Post Titles in WordPress">Shorten Your Post Titles in WordPress</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/tips-speed-up-jquery/" rel="bookmark" title="Permanent Link to 6 Tips to Speed Up jQuery">6 Tips to Speed Up jQuery</a></li> </ul> </div> <!-- BuySellAds.com Zone Code --> <div id="bsap_1249050" class="bsarocks bsap_8982c17d635c33dbe23a7ef930777c37"></div> <!-- END BuySellAds.com Zone Code --> </div> <div class="post"> <a href="#comment_list"></a> <div id="comments"> <h3 id="comments-title">Discussion <small> 39 Comments</small> </h3> <div class="navigation"> <div class="fl"></div> <div class="fr"><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/comment-page-2/#comments">Newer Comments &rarr;</a></div> </div> <ol class="commentlist"> <li class="comment even thread-even depth-1" id="li-comment-1565"> <div id="comment-1565"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/f41b7f0b8344e9963c6da2afb437566c?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.mohr.com.au/" rel="external " class="url">Tim</a></span> <span class="commentdate"> on April 7, 2009 at 12:00 am</span> </div> <div class="comment-text"> <p>Hello,</p> <p>Thanks for this. The example works great for removing the title tag from categories, but I just can&#8217;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(&#8216;echo=0&#8242;);<br/> $notitlepages = preg_replace(&#8216;/title=\&#8221;(.*?)\&#8221;/&#8217;,&#8221;,$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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1565#respond" onclick="return addComment.moveForm(&quot;comment-1565&quot;, &quot;1565&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </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-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/f41b7f0b8344e9963c6da2afb437566c?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.mohr.com.au/" rel="external " class="url">Tim</a></span> <span class="commentdate"> on April 7, 2009 at 12:03 am</span> </div> <div class="comment-text"> <p>Never mind&#8230; worked it out. </p> <p>Was missing the end }.</p> <p>Thanks again. Works perfectly.</p> <p>Tim</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1566#respond" onclick="return addComment.moveForm(&quot;comment-1566&quot;, &quot;1566&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-1977"> <div id="comment-1977"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/93393dd76388fcf177d96c0b0067bbfe?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.peep.org/" rel="external " class="url">Michael Kay</a></span> <span class="commentdate"> on April 18, 2009 at 1:04 pm</span> </div> <div class="comment-text"> <p>Probably the best solution anyone&#8217;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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1977#respond" onclick="return addComment.moveForm(&quot;comment-1977&quot;, &quot;1977&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </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-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/93393dd76388fcf177d96c0b0067bbfe?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.peep.org/" rel="external " class="url">Michael Kay</a></span> <span class="commentdate"> on April 18, 2009 at 1:06 pm</span> </div> <div class="comment-text"> <p>Here is the code snippet for the example in the previous post:<br/> wp_list_pages(&#8216;title_li=&amp;sort_column=menu_order&amp;depth=1&amp;child_of=144&#8242;);</p> <p>Dreaming of a solution where I&#8217;d be able to add all those attributes in place while also stripping the &#8220;&lt;a title=&#8221; attribute.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=1978#respond" onclick="return addComment.moveForm(&quot;comment-1978&quot;, &quot;1978&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-3056"> <div id="comment-3056"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/3efda9ebebec6f317d81e24b4dfe5518?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.weboverhauls.com/" rel="external " class="url">Web Overhauls</a></span> <span class="commentdate"> on June 24, 2009 at 4:13 pm</span> </div> <div class="comment-text"> <p>Thanks for this, I hate &#8220;redundant title attributes&#8221;. Not needed for web accessibility or anything else. (When the title is the same as the link text.)</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=3056#respond" onclick="return addComment.moveForm(&quot;comment-3056&quot;, &quot;3056&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </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-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/a15552f791ff4552e95ccc7df5a50eff?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">Jeff Federman</span> <span class="commentdate"> on July 26, 2009 at 9:08 pm</span> </div> <div class="comment-text"> <p>Thanks for the tip, the title tool tips can be distracting. Here&#8217;s a little modification I made, in case you want to use some of the wp<em>list</em>pages parameters (e.g., &#8216;child<em>of&#8217;, &#8216;sort</em>column&#8217;, etc.):</p> <p><code>function listPagesNoTitle($args) {<br/> if ($args) {<br/> $args .= '&amp;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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=3461#respond" onclick="return addComment.moveForm(&quot;comment-3461&quot;, &quot;3461&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-3593"> <div id="comment-3593"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/524eca540167b8253361b037b7bd79e2?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.technofinger.com/" rel="external " class="url">Kenneth Watt</a></span> <span class="commentdate"> on August 3, 2009 at 1:33 pm</span> </div> <div class="comment-text"> <p>Rather than removing the default hover text, how can I go about changing it?</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=3593#respond" onclick="return addComment.moveForm(&quot;comment-3593&quot;, &quot;3593&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </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-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://tinkerpriestmedia.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on August 5, 2009 at 11:13 am</span> </div> <div class="comment-text"> <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> </div> </li> <li class="comment even depth-2" id="li-comment-4131"> <div id="comment-4131"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/238e5aadf090d3e1788149fd88e06aaa?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">b.parks</span> <span class="commentdate"> on September 3, 2009 at 4:36 pm</span> </div> <div class="comment-text"> <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&#8217;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> </div> </li> <li class="comment odd alt depth-2" id="li-comment-5830"> <div id="comment-5830"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/b2d7d2d13aed54c2ed7feb538b382b42?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">Donny</span> <span class="commentdate"> on October 31, 2009 at 9:17 pm</span> </div> <div class="comment-text"> <p>It&#8217;s easy!<br/> Using Jeff&#8217;s code above, just replace &#8216;title=&#8217; with &#8216;alt=&#8217; in &#8216;preg_replace&#8217;, 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;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000088;">$args</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&amp;amp;echo=0'</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</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;">&#125;</span> <span style="color: #000088;">$pages</span> <span style="color: #339933;">=</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</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;">&#40;</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;">&#41;</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;">&#125;</span></pre></div></td></tr></table></div> <p>This is better than removing the &#8216;title&#8217; attr. completely from accessibility point of view. Screen readers can still read &#8216;alt&#8217; attributes.</p> </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-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/1f2f5e63fc4c34e1bad26de76e53d8d6?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">Karar.A.</span> <span class="commentdate"> on October 2, 2009 at 11:32 am</span> </div> <div class="comment-text"> <p>very good <img src="https://web.archive.org/web/20100820093111im_/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 &gt; just add this code to your functions.php file in you theme:</p> <p>function remove&#95;alt(){<br/> wp&#95;enqueue&#95;script(&#8216;jquery&#8217;);<br/> ?&gt;</p> <p> jQuery(document).ready(function(){<br/> jQuery(&#8220;li.cat-item a&#8221;).each(function(){<br/> jQuery(this).removeAttr(&#8216;title&#8217;);<br/> })<br/> jQuery(&#8220;li.page&#95;item a&#8221;).each(function(){<br/> jQuery(this).removeAttr(&#8216;title&#8217;);<br/> })</p> <p> });</p> <p>&lt;?php<br/> }<br/> add&#95;filter(&#039;wp&#95;head&#039;,&#039;remove&#95;alt&#039;);</p> <p>save it and it will work &#8220;remember you need to add jquery in your theme&#8221;</p> <p>Thank you again <img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"/> </p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=5201#respond" onclick="return addComment.moveForm(&quot;comment-5201&quot;, &quot;5201&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment odd alt thread-even depth-1" id="li-comment-5885"> <div id="comment-5885"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/80fa1e1257ac8ab99e5a668b0853cb9e?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.livingondividends.org/" rel="external " class="url">Rich</a></span> <span class="commentdate"> on November 3, 2009 at 8:34 pm</span> </div> <div class="comment-text"> <p>What about replacing &#8216;the_title&#8217; with &#8216;the_title_attribute&#8217; BUT only in sidebars or active widgets? Would you know how to do this?</p> <p>I wish I were a coder, but, I&#8217;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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=5885#respond" onclick="return addComment.moveForm(&quot;comment-5885&quot;, &quot;5885&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-odd thread-alt depth-1" id="li-comment-6371"> <div id="comment-6371"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/c9f1496eae0c7b9b9caef134519544f2?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">Djor</span> <span class="commentdate"> on November 22, 2009 at 10:25 pm</span> </div> <div class="comment-text"> <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;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'@\]*)&gt;\&lt;a&gt;]*)&gt;(.*?)\@i'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&lt;a&gt;$3&lt;/a&gt;'</span><span style="color: #339933;">,</span>wp_list_categories<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'echo=0&amp;orderby=id&amp;title_li=&amp;depth=1&amp;include=14'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></td></tr></table></div> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=6371#respond" onclick="return addComment.moveForm(&quot;comment-6371&quot;, &quot;6371&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment odd alt thread-even depth-1" id="li-comment-6979"> <div id="comment-6979"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/34b13ad8bdcac228283b9ccc9a904356?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.technokinetics.com/" rel="external " class="url">Tim Holt</a></span> <span class="commentdate"> on January 4, 2010 at 12:01 pm</span> </div> <div class="comment-text"> <p>Those who aren&#8217;t comfortable editing their theme files can use the <a href="https://web.archive.org/web/20100820093111/http://wordpress.org/extend/plugins/remove-title-attributes/">Remove Title Attributes</a> plugin to solve this problem.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=6979#respond" onclick="return addComment.moveForm(&quot;comment-6979&quot;, &quot;6979&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> <ul class="children"> <li class="comment even depth-2" id="li-comment-11750"> <div id="comment-11750"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/a31fa7ef4bdb002137cbf0dae22206ff?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.cake.net.au/" rel="external " class="url">Dean</a></span> <span class="commentdate"> on June 22, 2010 at 3:59 am</span> </div> <div class="comment-text"> <p>Thanks for this plugin Tim. Exaclty what I needed at this time of day.</p> </div> </div> </li> <li class="comment odd alt depth-2" id="li-comment-15409"> <div id="comment-15409"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/0a12abda4ec7ffa0cb98eeb2bdccab62?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.paulogoode.com/" rel="external " class="url">paulo</a></span> <span class="commentdate"> on August 4, 2010 at 6:43 pm</span> </div> <div class="comment-text"> <p>Tim, thanks for your excellent plug-in. You have saved me from so much whining from my rather awkward client <img src="https://web.archive.org/web/20100820093111im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"/> </p> <p>Much kudos and karma to you!</p> </div> </div> </li> </ul> </li> <li class="comment even thread-odd thread-alt depth-1" id="li-comment-6996"> <div id="comment-6996"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/c5b46187cb39ea3aa47b3d3194dd7612?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.vintagethrowbacks.net/" rel="external " class="url">Jeff</a></span> <span class="commentdate"> on January 6, 2010 at 1:00 am</span> </div> <div class="comment-text"> <p>Thanks, this was exactly what I was searching for. It was terribly annoying.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=6996#respond" onclick="return addComment.moveForm(&quot;comment-6996&quot;, &quot;6996&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment odd alt thread-even depth-1" id="li-comment-7486"> <div id="comment-7486"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/6744bdb224dd5b9c967167278753fe08?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.themigrainerelief.com/" rel="external " class="url">Guy</a></span> <span class="commentdate"> on February 2, 2010 at 4:19 pm</span> </div> <div class="comment-text"> <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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=7486#respond" onclick="return addComment.moveForm(&quot;comment-7486&quot;, &quot;7486&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> <ul class="children"> <li class="comment byuser bypostauthor even depth-2" id="li-comment-7502"> <div id="comment-7502"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bavotasan.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on February 3, 2010 at 11:41 am</span> </div> <div class="comment-text"> <p>I wish everything was that easy. But alas, this one needs some hacking.</p> </div> </div> </li> </ul> </li> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-7487"> <div id="comment-7487"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/5bd29a3698d0638e8ed6f8315a097163?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.making-it-pay24-7.info/" rel="external " class="url">Steve</a></span> <span class="commentdate"> on February 2, 2010 at 4:26 pm</span> </div> <div class="comment-text"> <p>No its annoying but I think you can only do it with code.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=7487#respond" onclick="return addComment.moveForm(&quot;comment-7487&quot;, &quot;7487&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-8031"> <div id="comment-8031"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/6803b109e3005c85bfd24b8621b6e2af?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://pioupioum.fr/" rel="external " class="url">piouPiouM</a></span> <span class="commentdate"> on March 3, 2010 at 1:16 pm</span> </div> <div class="comment-text"> <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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8031#respond" onclick="return addComment.moveForm(&quot;comment-8031&quot;, &quot;8031&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-8330"> <div id="comment-8330"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/1aa2c3992b054c756ac09e2231dd3d7f?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.filmumuzika.lv/" rel="external " class="url">banesto</a></span> <span class="commentdate"> on March 17, 2010 at 6:40 am</span> </div> <div class="comment-text"> <p>thanks to you it was a fast fix!</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8330#respond" onclick="return addComment.moveForm(&quot;comment-8330&quot;, &quot;8330&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-8807"> <div id="comment-8807"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/6bd85b170c90e9459803aba907c1caee?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bluedovedesigns.com/" rel="external " class="url">Jim Camomile</a></span> <span class="commentdate"> on April 17, 2010 at 1:54 pm</span> </div> <div class="comment-text"> <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/20100820093111/http://codex.wordpress.org/Function_Reference/wp_list_cats">http://codex.wordpress.org/Function_Reference/wp_list_cats</a></p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8807#respond" onclick="return addComment.moveForm(&quot;comment-8807&quot;, &quot;8807&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-8838"> <div id="comment-8838"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/893c0a74980e1339afd508630cf69f90?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">Bart</span> <span class="commentdate"> on April 19, 2010 at 12:30 pm</span> </div> <div class="comment-text"> <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 &#8220;functions.php&#8221;, 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/20100820093111im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8838#respond" onclick="return addComment.moveForm(&quot;comment-8838&quot;, &quot;8838&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> <ul class="children"> <li class="comment byuser bypostauthor even depth-2" id="li-comment-8864"> <div id="comment-8864"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bavotasan.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on April 20, 2010 at 12:55 pm</span> </div> <div class="comment-text"> <p>The functions.php code above isn&#8217;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> </div> </li> <li class="comment odd alt depth-2" id="li-comment-8872"> <div id="comment-8872"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/893c0a74980e1339afd508630cf69f90?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">Bart</span> <span class="commentdate"> on April 20, 2010 at 4:06 pm</span> </div> <div class="comment-text"> <p>Yes I still don&#8217;t get it, ups sorry! Where? Paste into the header.php&#8230; because there is the menu and there I have the alt tags appearing&#8230; ?</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> </div> </li> <li class="comment byuser bypostauthor even depth-2" id="li-comment-8891"> <div id="comment-8891"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bavotasan.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on April 21, 2010 at 9:44 am</span> </div> <div class="comment-text"> <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> </div> </li> <li class="comment odd alt depth-2" id="li-comment-8901"> <div id="comment-8901"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/893c0a74980e1339afd508630cf69f90?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">Bart</span> <span class="commentdate"> on April 21, 2010 at 3:54 pm</span> </div> <div class="comment-text"> <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>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;</p> <p>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;; charset=&#8221; /&gt;</p> <p>&lt;link rel=&quot;stylesheet&quot; href=&quot;&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;<br/> &lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;RSS Feed&quot; href=&quot;&#8221; /&gt;<br/> &lt;link rel=&quot;pingback&quot; href=&quot;&#8221; /&gt;</p> <p>&lt;body id=&quot;&#8221; &gt;</p> <p> &lt;a href=&quot;&#8221;&gt;&lt;img src=&quot;&#8221; alt=&#8221;" width=&#8221;" height=&#8221;"/&gt;</p> <p> &lt;h1 style=&quot;left:px;line-height:px&#8221;&gt;</p> <p> &lt;li&gt;&lt;a href=&quot;&#8221; title=&#8221;"&gt;</p> <p> cat_ID; else : $current_cat = &#8221;; endif;<br/> $ex_cats = ts_get_option(&#8216;ts_ex_cats&#8217;); wp_list_categories(&#8216;title_li=&amp;current_category=&#8217;.$current_cat.&#8217;&amp;exclude=&#8217;.$ex_cats.&#8217;&amp;orderby=ID&#8217;); ?&gt;</p> <p> <!-- end header --></p> </div> </div> </li> <li class="comment byuser bypostauthor even depth-2" id="li-comment-8922"> <div id="comment-8922"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bavotasan.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on April 22, 2010 at 10:09 am</span> </div> <div class="comment-text"> <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;">&#40;</span>‚Äòtitle_li<span style="color: #339933;">=&amp;</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;">&amp;</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;">&amp;</span>orderby<span style="color: #339933;">=</span>ID‚Äô<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div> </div> </div> </li> </ul> </li> <li class="comment odd alt thread-even depth-1" id="li-comment-8856"> <div id="comment-8856"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.straydoginfocenter.org/" rel="external " class="url">Nathalie</a></span> <span class="commentdate"> on April 20, 2010 at 3:12 am</span> </div> <div class="comment-text"> <p>I&#8217;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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8856#respond" onclick="return addComment.moveForm(&quot;comment-8856&quot;, &quot;8856&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> <ul class="children"> <li class="comment byuser bypostauthor even depth-2" id="li-comment-8863"> <div id="comment-8863"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bavotasan.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on April 20, 2010 at 12:53 pm</span> </div> <div class="comment-text"> <p>You can just paste in the code wherever you want it to appear. You don&#8217;t have to put it into the function.php file.</p> </div> </div> </li> </ul> </li> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-8857"> <div id="comment-8857"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.straydoginfocenter.org/" rel="external " class="url">Nathalie</a></span> <span class="commentdate"> on April 20, 2010 at 3:13 am</span> </div> <div class="comment-text"> <p>By the way, I tried all the plugins made for this, but they don&#8217;t work.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8857#respond" onclick="return addComment.moveForm(&quot;comment-8857&quot;, &quot;8857&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-8880"> <div id="comment-8880"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.straydoginfocenter.org/" rel="external " class="url">Nathalie</a></span> <span class="commentdate"> on April 21, 2010 at 4:10 am</span> </div> <div class="comment-text"> <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&#8217;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> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8880#respond" onclick="return addComment.moveForm(&quot;comment-8880&quot;, &quot;8880&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> <ul class="children"> <li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-8890"> <div id="comment-8890"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bavotasan.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on April 21, 2010 at 9:42 am</span> </div> <div class="comment-text"> <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> </div> </li> </ul> </li> <li class="comment even thread-odd thread-alt depth-1" id="li-comment-8916"> <div id="comment-8916"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/8e539d18ca5268349a2522d31241b9e2?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.straydoginfocenter.org/" rel="external " class="url">Nathalie</a></span> <span class="commentdate"> on April 22, 2010 at 3:58 am</span> </div> <div class="comment-text"> <p>Thesis 1.7 is the theme.</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8916#respond" onclick="return addComment.moveForm(&quot;comment-8916&quot;, &quot;8916&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> <ul class="children"> <li class="comment byuser bypostauthor odd alt depth-2" id="li-comment-8921"> <div id="comment-8921"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/ba043b2af6a355787f1b6fd1b1ea3eda?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://bavotasan.com/" rel="external " class="url">c.bavota</a></span> <span class="commentdate"> on April 22, 2010 at 10:09 am</span> </div> <div class="comment-text"> <p>Thesis doesn&#8217;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> </div> </li> </ul> </li> <li class="comment even thread-even depth-1" id="li-comment-8966"> <div id="comment-8966"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/d4adfc2f92d57f895bf8861534408a8c?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://www.gomedia.us/" rel="external " class="url">Wilson</a></span> <span class="commentdate"> on April 24, 2010 at 8:39 pm</span> </div> <div class="comment-text"> <p>Not sure if this was mentioned, but you can add the title parameter with an empty string and that&#8217;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;">&nbsp;</pre></div></td></tr></table></div> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=8966#respond" onclick="return addComment.moveForm(&quot;comment-8966&quot;, &quot;8966&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment odd alt thread-odd thread-alt depth-1" id="li-comment-11787"> <div id="comment-11787"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://1.gravatar.com/avatar/3756db2006bd41ca385b1af3695be625?s=60&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;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/20100820093111/http://cherrybomb.com.mx/" rel="external " class="url">Heinrich</a></span> <span class="commentdate"> on June 23, 2010 at 1:37 am</span> </div> <div class="comment-text"> <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/20100820093111im_/http://bavotasan.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"/> thanks!!</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=11787#respond" onclick="return addComment.moveForm(&quot;comment-11787&quot;, &quot;11787&quot;, &quot;respond&quot;, &quot;359&quot;)">Reply</a> </div> </div> </li> <li class="comment even thread-even depth-1" id="li-comment-15507"> <div id="comment-15507"> <div class="comment-avatar"> <img alt="" src="https://web.archive.org/web/20100820093111im_/http://0.gravatar.com/avatar/6385cf7d8d1afa5a5eae7fbbbafc977c?s=60&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D60&amp;r=G" class="avatar avatar-60 photo" height="60" width="60"/> </div> <div class="comment-author"> <span class="authorname">tannar</span> <span class="commentdate"> on August 11, 2010 at 7:23 am</span> </div> <div class="comment-text"> <p>Thanks, this is very nice!</p> </div> <div class="reply"> <a rel="nofollow" class="comment-reply-link" href="/web/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/?replytocom=15507#respond" onclick="return addComment.moveForm(&quot;comment-15507&quot;, &quot;15507&quot;, &quot;respond&quot;, &quot;359&quot;)">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/20100820093111/http://bavotasan.com/tutorials/remove-the-title-attribute-from-wordpress-category-and-page-lists/#respond" style="display:none;">Cancel reply</a></small></h3> <form action="https://web.archive.org/web/20100820093111/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><input id="author" name="author" type="text" value="" size="30" aria-required="true"/></p> <p class="comment-form-email"><label for="email">Email</label> <span class="required">*</span><input id="email" name="email" type="text" value="" size="30" aria-required="true"/></p> <p class="comment-form-url"><label for="url">Website</label><input id="url" name="url" type="text" value="" size="30"/></p> <p>To enter code in the comment box, please place it between <strong>&lt;pre lang="php"&gt; &lt;/pre&gt;</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="359" id="comment_post_ID"/> <input type="hidden" name="comment_parent" id="comment_parent" value="0"/> </p> </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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/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> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/downloads/6-free-vinyl-record-vectors/" title="6 Free Vinyl Record Vectors">6 Free Vinyl Record Vectors</a></li> </ul> </div> <div id="affiliates-ads"> <a href="https://web.archive.org/web/20100820093111/http://themes.bavotasan.com/" class="themes"></a> <a href="https://web.archive.org/web/20100820093111/http://wordcampmontreal.org/" title="I'm Speaking at WordCamp Montreal 2010 - Aug 28-29" class="wordcamp"></a> <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/downloads/delete-duplicate-posts-pro-wordpress-plugin/" class="deletedupes"></a> <a href="https://web.archive.org/web/20100820093111/https://www.e-junkie.com/ecom/gb.php?cl=88539&amp;c=ib&amp;aff=93121" class="digwp"></a> <a href="https://web.archive.org/web/20100820093111/https://www.e-junkie.com/ecom/gb.php?cl=94455&amp;c=ib&amp;aff=93121" target="ejejcsingle" class="defender"></a> <a href="https://web.archive.org/web/20100820093111/https://secure1.inmotionhosting.com/cgi-bin/gby/clickthru.cgi?id=tinkerpriest&amp;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/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/http://bavotasan.com/free-premium-theme/" class="fr"><em>Click here for more information &raquo;</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/20100820093111/http://bavotasan.com/">c.bavota</a> and <a href="https://web.archive.org/web/20100820093111/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/20100820093111/https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;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/20100820093111/http://twitter.com/bavotasan" class="footer-twitter"><span></span>Follow me on Twitter</a><br/> <a href="https://web.archive.org/web/20100820093111/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/20100820093111/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/20100820093111/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/20100820093111/http://bavotasan.com/downloads/sliderota-jquery-plugin/">Sliderota jQuery Plugin</a></li> <li><a href="https://web.archive.org/web/20100820093111/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/20100820093111/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/20100820093111/http://bavotasan.com/downloads/snowblind-free-wordpress-theme/">Snowblind v1.1.2 Free WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20100820093111/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/20100820093111/http://bavotasan.com/downloads/stationery-premium-wordpress-theme/">Stationery Premium WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/downloads/illustrious-premium-wordpress-theme/">Illustrious Premium WordPress Theme</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/downloads/delete-duplicate-posts-pro-wordpress-plugin/">Delete Duplicate Posts Pro WordPress Plugin</a></li> </ul> </div> <div class="col col3"> <h4 class="four"><span></span>Tutorials</h4> <ul> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/optimizing-your-mysql-database/">Optimizing your MySQL Database</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/draw-smiley-face-css3/">How to Draw a Smiley Face with CSS3</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/jquery-replace-word-with-link/">Use jQuery to Replace a Word with a Link</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/a-simple-css-trick-to-vertically-align-text/">A Simple CSS Trick to Vertically Align Text</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/using-ajax-with-wordpress/">Using Ajax with WordPress</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/blindtoggle-for-jquery/">Blind Toggle for jQuery</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/shorten-your-post-titles-in-wordpress/">Shorten Your Post Titles in WordPress</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/display-rss-feed-with-php/">An Easy Way to Display an RSS Feed with PHP</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/tips-speed-up-jquery/">6 Tips to Speed Up jQuery</a></li> <li><a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/tutorials/excluding-pages-from-wordpress-search/">Excluding Pages from WordPress Search</a></li> </ul> </div> </div> </div> <div id="copyright"> <div id="copyright-wrapper"> Copyright &copy; 2010 <a href="https://web.archive.org/web/20100820093111/http://bavotasan.com/">bavotasan.com</a>. All Rights Reserved. Powered by <a href="https://web.archive.org/web/20100820093111/http://www.wordpress.org/">WordPress</a>. </div> </div> <!--stats_footer_test--><script src="https://web.archive.org/web/20100820093111js_/http://stats.wordpress.com/e-201033.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/20100820093111js_/http://bavotasan.com/wp-content/themes/bavotasan-2010/js/coolstuff.js"></script> <script type="text/javascript"> hs.graphicsDir = 'https://web.archive.org/web/20100820093111/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 9.250 seconds. --> <!-- Cached page generated by WP-Super-Cache on 2010-08-19 10:10:16 --> <!-- super cache --><!-- FILE ARCHIVED ON 09:31:11 Aug 20, 2010 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:56:57 Feb 18, 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.926 exclusion.robots: 0.066 exclusion.robots.policy: 0.034 esindex: 0.019 cdx.remote: 20.722 LoadShardBlock: 1730.202 (3) PetaboxLoader3.datanode: 1784.084 (5) PetaboxLoader3.resolve: 114.898 (2) load_resource: 195.71 (2) -->

Pages: 1 2 3 4 5 6 7 8 9 10