<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>kevinleary.net</title> <atom:link href="http://www.kevinleary.net/feed/" rel="self" type="application/rss+xml" /><link>http://www.kevinleary.net</link> <description>Portfolio &#38; blog of Kevin Leary, a Boston based WordPress CMS &#38; jQuery designer &#38; developer.</description> <lastBuildDate>Tue, 24 Aug 2010 17:54:40 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Remove the WordPress Date from your Google Search Descriptions</title><link>http://www.kevinleary.net/remove-wordpress-date-google-search-descriptions-serps/</link> <comments>http://www.kevinleary.net/remove-wordpress-date-google-search-descriptions-serps/#comments</comments> <pubDate>Tue, 24 Aug 2010 17:51:24 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[SEM / SEO]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1174</guid> <description><![CDATA[I recently realized that Google automatically adds the_time() or the_date() output into the beginning of my descriptions on their SERP’s. For example, instead of my normal meta description being used, I see this in front of all my descriptions on a Google search results page: Aug 13, 2010 … The best way I found to [...]]]></description> <content:encoded><![CDATA[<p><a href="http://www.kevinleary.net/wp-content/uploads/2010/08/kevinlearynet-serp.png" rel="shadowbox[post-1174];player=img;" title="kevinleary.net Google SERP"><img src="http://www.kevinleary.net/wp-content/uploads/2010/08/kevinlearynet-serp-300x103.png" alt="kevinlearynet serp 300x103 Remove the WordPress Date from your Google Search Descriptions" title="kevinleary.net Google SERP" width="300" height="103" class="alignright size-medium wp-image-1175" /></a>I recently realized that Google automatically adds <strong>the_time()</strong> or <strong>the_date()</strong> output into the beginning of my descriptions on their SERP’s.</p><p>For example, instead of my normal meta description being used, I see this in front of all my descriptions on a Google search results page:</p><h4>Aug 13, 2010 …</h4><p><span id="more-1174"></span>The best way I found to remove this, though it may be a hackish approach, is to replace your references to <strong>the_time()</strong> and <strong>the_date()</strong> in your theme files with:</p><div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot;&gt;document.write('&lt;?php the_date() ?&gt;');&lt;/script&gt;</pre></div></div><p>Once you do that it’s time for the SERP waiting game. I believe it can take upwards of a month for Google to re-index your top pages, so patience is a virtue.</p><p>I hope this helps someone else out there, and special thanks to <a href="http://www.dollarshower.com/how-to-remove-date-stamp-from-google-serp-description/" onclick="pageTracker._trackPageview('/outgoing/www.dollarshower.com/how-to-remove-date-stamp-from-google-serp-description/?referer=');">Ajith</a> for originally posting this method.</p> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/remove-wordpress-date-google-search-descriptions-serps/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>My Two Cents on Custom Post Types for WordPress CMS Setups</title><link>http://www.kevinleary.net/two-cents-custom-post-types-wordpress-cms-setups/</link> <comments>http://www.kevinleary.net/two-cents-custom-post-types-wordpress-cms-setups/#comments</comments> <pubDate>Fri, 13 Aug 2010 13:30:23 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1144</guid> <description><![CDATA[With WordPress 3.0’s new post type and custom taxonomy additions, a powerful user-friendly CMS is far easier to achieve. I’m working on a few projects right now that utilize post types to and thought it would be helpful to post a few tricks I’ve picked up along the way. 1. Custom Post Type UI is [...]]]></description> <content:encoded><![CDATA[<p><a href="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-projects-cms.jpg" rel="shadowbox[post-1144];player=img;" title="A Custom Post Type with CSS Enhancements to Custom Field Template &amp; Verve Meta Boxes"><img class="alignright size-medium wp-image-1138" title="A Custom Post Type with CSS Enhancements to Custom Field Template &amp; Verve Meta Boxes" src="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-projects-cms-300x237.jpg" alt="adam farouk projects cms 300x237 My Two Cents on Custom Post Types for WordPress CMS Setups" width="180" height="142" /></a>With WordPress 3.0’s new post type and custom taxonomy additions, a powerful user-friendly CMS is far easier to achieve. I’m working on a few projects right now that utilize post types to and thought it would be helpful to post a few tricks I’ve picked up along the way.<span id="more-1144"></span></p><h3>1. <a href="http://wordpress.org/extend/plugins/custom-post-type-ui/" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/custom-post-type-ui/?referer=');">Custom Post Type UI</a> is my plugin of choice</h3><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-post-type-ui.jpg" rel="shadowbox[post-1144];player=img;" title="The Custom Post Type UI Settings Panel"><img class="alignright size-medium wp-image-1137" title="The Custom Post Type UI Settings Panel" src="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-post-type-ui-300x221.jpg" alt="adam farouk post type ui 300x221 My Two Cents on Custom Post Types for WordPress CMS Setups" width="108" height="80" /></a>It’s quick, easy and provides everything I need. I haven’t encountered any bugs, and have found that’s it’s a solid, reliable option for use on professional client work. Check out more over at <a href="http://webdevstudios.com/support/wordpress-plugins/" onclick="pageTracker._trackPageview('/outgoing/webdevstudios.com/support/wordpress-plugins/?referer=');">WebDevStudios</a>.</p><h3>2. Take it to the next level by attaching custom meta boxes to your post types</h3><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-verve-meta-boxes.jpg" rel="shadowbox[post-1144];player=img;" title="Using Verve Meta Boxes with Custom Post Types"><img class="alignright size-medium wp-image-1139" title="Using Verve Meta Boxes with Custom Post Types" src="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-verve-meta-boxes-300x221.jpg" alt="adam farouk verve meta boxes 300x221 My Two Cents on Custom Post Types for WordPress CMS Setups" width="144" height="106" /></a>I use the <a href="http://wordpress.org/extend/plugins/verve-meta-boxes/" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/verve-meta-boxes/?referer=');">Verve Meta Boxes</a> plugin for this. The newest release allows you to attach a meta box onto a post type, opening the door to endless possibilities for content management. <strong>If you go this route remember that you MUST have custom fields enabled for that Post Type.</strong> Without it your Verve meta box will not show up on your post type.</p><h3>3. Leverage the <a href="http://wordpress.org/extend/plugins/custom-field-template/" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/custom-field-template/?referer=');">Custom Field Template</a> plugin for advanced meta box creation</h3><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-custom-field-template.jpg" rel="shadowbox[post-1144];player=img;" title="The Custom Field Template Settings I Typically Sse on CMS Projects"><img class="alignright size-medium wp-image-1136" title="The Custom Field Template Settings I Typically Sse on CMS Projects" src="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-custom-field-template-141x300.jpg" alt="adam farouk custom field template 141x300 My Two Cents on Custom Post Types for WordPress CMS Setups" width="85" height="180" /></a>If you need more advanced form fields than I would suggest the <a href="http://wordpress.org/extend/plugins/custom-field-template/" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/custom-field-template/?referer=');">Custom Field Template</a>. It’s great for adding multiple TinyMCE instances to a post, or an “Add Another” input setup to allow for duplicate form field entries. Using it you can attach your templates to custom post types using the “Custom Post Type” field. The meta box display isn’t that great. I often little custom CSS to improve it. A little CSS in the WordPress admin can go a long way toward making things easier to use.</p><p>I would recommend customizing the settings a bit. I always disable the initialize and save button’s to clean-up the UI and make it less error prone for clients.</p><h3>4. Don’t be surprised if your plugin meta boxes aren’t supported</h3><p>It’s a little tricky for plugin authors to attach their meta boxes to your custom post types. Many plugins aren’t current supporting post type meta boxes, so don’t count on plugin capabilities being available without doing your research first. One key feature people will need is SEO meta management. If you’re in need check out the most recent release of All in One SEO. It has a <em>“SEO for Custom Post Types”</em> option that will enable the meta manager box for all your post types once checked. If you’re a plugin author you may want to dig into the code behind the scenes, it’s a handy snippet to enable meta boxes for custom post types.</p><h3>5. Add a layer of administrative CSS to clean-up the WordPress admin interface to make things as easy as possible</h3><p>This is something I love to do. In my opinion, a little CSS time spent on the WordPress admin goes a long way when it comes to user experience. To do this I use two handy functions. One loads a stylesheet from my theme directory into the admin. Another add’s the page ID information to the admin body_class(), allowing you target specific pages in the admin. Have you ever wanted to show a meta box on one page, and only that page? This is a nice, although a bit hackish, method.</p><h4>#5 has spawned a whole post itself… See more about “<a href="/index.php?p=1127">Customizing the WordPress Admin for a Better Administrator Experience</a>”</h4> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/two-cents-custom-post-types-wordpress-cms-setups/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Customizing the WordPress Admin for a Better Administrator Experience</title><link>http://www.kevinleary.net/customizing-the-wordpress-admin-for-a-better-administrator-experience/</link> <comments>http://www.kevinleary.net/customizing-the-wordpress-admin-for-a-better-administrator-experience/#comments</comments> <pubDate>Tue, 10 Aug 2010 13:54:36 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1127</guid> <description><![CDATA[Don’t get me wrong, out of the box the WordPress admin kick’s ass. However, when you begin to add advanced content management to the mix things can quickly lose clarity. I spend a few hours on every WordPress CMS setup customizing the backend to make things easier for my clients. I firmly believe that the [...]]]></description> <content:encoded><![CDATA[<p><a href="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-projects-cms.jpg" rel="shadowbox[post-1127];player=img;" title="A Custom Post Type with CSS Enhancements to Custom Field Template &#038; Verve Meta Boxes"><img src="http://www.kevinleary.net/wp-content/uploads/2010/08/adam-farouk-projects-cms-300x237.jpg" alt="adam farouk projects cms 300x237 Customizing the WordPress Admin for a Better Administrator Experience" title="A Custom Post Type with CSS Enhancements to Custom Field Template &#038; Verve Meta Boxes" width="300" height="237" class="alignright size-medium wp-image-1138" /></a> Don’t get me wrong, out of the box the WordPress admin kick’s ass. However, when you begin to add advanced content management to the mix things can quickly lose clarity. I spend a few hours on every WordPress CMS setup customizing the backend to make things easier for my clients. I firmly believe that the easier a management system is to use directly affects the amount of training time needed. It also effects the amount of time customers will spend scratching their heads in frustration.<span id="more-1127"></span></p><p>There are many things you can do to clean-up your customized admin. Below are a few frequent methods I use on my projects.</p><h3>Adding a layer of CSS to the admin</h3><p>When the following function and hook are added to <em>functions.php</em> a stylesheet from your template folder will be loaded into the WordPress admin. <strong>Be sure to change the “THEMENAME” to the name of your theme folder.</strong></p><div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Admin CSS layer</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'admin_register_head'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> admin_register_head<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$siteurl</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'siteurl'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$siteurl</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/wp-content/themes/THEMENAME/css/admin.css'</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;link rel='stylesheet' type='text/css' href='<span style="color: #006699; font-weight: bold;">$url</span>' /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><h3>Adding some classes to the body of the admin</h3><p>The following function will add the current post ID information to the BODY class. This will allow you to customize the look of individual editing pages. For example, if your editing the page with an ID of 70, “post-70″ will be added as a class on the BODY tag. If you have a special meta box you want to display on that post, you can use CSS to make it visible.</p><div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_body_class'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'base_admin_body_class'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> base_admin_body_class<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$classes</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> is_admin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'action'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$classes</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'action-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'action'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_admin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'post'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$classes</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">' '</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$classes</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'post-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'post'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #666666; font-style: italic;">// Return the $classes array</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$classes</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><h3>A wider left menu</h3><p>With the new 3.0 Post Types I find that the left menu is often too small, and post type names commonly span onto two lines. Adding the following bit of CSS to your admin will change the width to 200px. You can easily adjust this size to whatever you want.</p><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Menu Enhancements */</span>
<span style="color: #cc00cc;">#adminmenu</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-215px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#wpbody</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">230px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h3>Better looking meta boxes</h3><p>Consistency is key when it comes to UI design, and WordPress is no exception. If you clean-up the meta boxes created by various plugins, you’ll find that the admin becomes far more professional and also easier to use.  I frequently use the CSS below in my <strong>admin.css</strong> to enhance the display of <strong>Verve Meta Boxes</strong> &amp; <strong>Custom Field Template</strong> meta boxes. You can easily customize whatever you want, this is just a jumping off point!</p><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Meta Boxes */</span>
<span style="color: #cc00cc;">#postcustom</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Verve Meta Boxes */</span>
<span style="color: #6666ff;">.verve_meta_checkbox</span> li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">11px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.verve_meta_radio</span> p <span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">1.5em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.verve_meta_radio</span> p label <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #3333ff;">:inline-</span>block<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">33</span>%</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.verve_meta_radio</span> p span<span style="color: #6666ff;">.radio</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span><span style="color: #993333;">capitalize</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Custom Field Template */</span>
<span style="color: #cc00cc;">#cftdiv</span> <span style="color: #6666ff;">.dl_textarea</span> dt <span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#cftdiv</span> <span style="color: #cc00cc;">#cft_selectbox</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#cftdiv</span> <span style="color: #6666ff;">.dl_textarea</span> dt span<span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#cftdiv</span> <span style="color: #6666ff;">.dl_textarea</span> dt span <span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
body <span style="color: #cc00cc;">#cft</span> dt <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
body <span style="color: #cc00cc;">#cft</span> dt label <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">2em</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
body <span style="color: #cc00cc;">#cft</span> dd <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
body <span style="color: #cc00cc;">#cft</span> dd input<span style="color: #00AA00;">&#91;</span>type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #00AA00;">&#93;</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#poststuff</span> <span style="color: #cc00cc;">#cftdiv</span> <span style="color: #6666ff;">.inside</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span> <span style="color: #933;">12px</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#cftdiv</span> <span style="color: #6666ff;">.mceEditor</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#DFDFDF</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
body <span style="color: #cc00cc;">#cft</span> <span style="color: #6666ff;">.mceStatusbar</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#post-body</span> <span style="color: #cc00cc;">#cft</span> <span style="color: #6666ff;">.wp_themeSkin</span> <span style="color: #6666ff;">.mceStatusbar</span> a<span style="color: #6666ff;">.mceResize</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#post-body</span> <span style="color: #cc00cc;">#cft</span> <span style="color: #6666ff;">.wp_themeSkin</span> <span style="color: #6666ff;">.mceStatusbar</span> div <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span><span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">11px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">4px</span> <span style="color: #933;">6px</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><p>These techniques should get you started on customizing the admin. If there’s anything else you do that I should know about, or something wrong with a practice that I’ve outlined please yell at me in the comments below! I welcome your opinion’s.</p> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/customizing-the-wordpress-admin-for-a-better-administrator-experience/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Impossible Slanted, Diagonal, Navigation Setup with CSS, jQuery &amp; XHTML</title><link>http://www.kevinleary.net/the-impossible-slanted-diagonal-navigation-setup-with-css-jquery-xhtml/</link> <comments>http://www.kevinleary.net/the-impossible-slanted-diagonal-navigation-setup-with-css-jquery-xhtml/#comments</comments> <pubDate>Wed, 14 Jul 2010 00:45:21 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[SEM / SEO]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1101</guid> <description><![CDATA[Recently I needed to develop a diagonal menu, which at first glimpse seemed completely do-able. Once I dug deeper into it, I realized that it was actually quite difficult to build. Impatient? Jump straight to the demo / sample source code. The Requirements SEO friendly Work with a WordPress CMS backend to be output dynamically [...]]]></description> <content:encoded><![CDATA[<p>Recently I needed to develop a diagonal menu, which at first glimpse seemed completely do-able. Once I dug deeper into it, I realized that it was actually quite difficult to build. Impatient? <strong><a href="http://work.kevinleary.net/diagonal-nav/diagonal-navigation-setup.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/work.kevinleary.net/diagonal-nav/diagonal-navigation-setup.html?referer=');">Jump straight to the demo / sample source code.</a></strong></p><p><span id="more-1101"></span></p><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/07/diagonal-css-navigation-menu.png" rel="shadowbox[post-1101];player=img;" title="Diagonal CSS Navigation Menu"><img class="alignright size-medium wp-image-1102" title="Diagonal CSS Navigation Menu" src="http://www.kevinleary.net/wp-content/uploads/2010/07/diagonal-css-navigation-menu-300x165.png" alt="diagonal css navigation menu 300x165 The Impossible Slanted, Diagonal, Navigation Setup with CSS, jQuery & XHTML" width="300" height="165" /></a></p><h3>The Requirements</h3><ol><li>SEO friendly</li><li>Work with a WordPress CMS backend to be output dynamically using the <strong>wp_list_pages()</strong> function</li><li>Have hover and current navigation states</li><li>Match the designer exactly</li></ol><h3>The XHTML</h3><div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul id=&quot;subnav&quot; class=&quot;clearfix&quot;&gt;
	&lt;li class=&quot;page_item page-item-259&quot;&gt;&lt;a href=&quot;http://www.cogenra.com/products-services/hppa/&quot; title=&quot;HPPA&quot;&gt;HPPA&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;page_item page-item-261&quot;&gt;&lt;a href=&quot;http://www.cogenra.com/products-services/system-purchase/&quot; title=&quot;System Purchase&quot;&gt;System Purchase&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;page_item page-item-75&quot;&gt;&lt;a href=&quot;http://www.cogenra.com/products-services/installation/&quot; title=&quot;Installation&quot;&gt;Installation&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;page_item page-item-81 current_page_item&quot;&gt;&lt;a href=&quot;http://www.cogenra.com/products-services/incentives/&quot; title=&quot;Incentives&quot;&gt;Incentives&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre></div></div><h3>The CSS</h3><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#subnav</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">1.6em</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#424a53</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">letter-spacing</span><span style="color: #00AA00;">:</span><span style="color: #933;">0.01em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span> <span style="color: #933;">18px</span> <span style="color: #933;">4px</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">1.2em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#e0e1e3</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">subnav-bg.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.previous-current</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">subnav-bg-left.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #3333ff;">:<span style="color: #000000; font-weight: bold;">top</span> </span>right
	<span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #3333ff;">:no-</span>repeat<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.previous-current</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">subnav-bg-double.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #3333ff;">:<span style="color: #000000; font-weight: bold;">top</span> </span>right
	<span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #3333ff;">:no-</span>repeat<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.first</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.last</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">subnav-bg-farright.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #3333ff;">:<span style="color: #000000; font-weight: bold;">top</span> </span>right
	<span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #3333ff;">:no-</span>repeat<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.current_page_item</span> a<span style="color: #00AA00;">,</span>
body<span style="color: #6666ff;">.pageid-91</span> <span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.page-item-178</span> a<span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.last</span><span style="color: #3333ff;">:hover </span>a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FE9914</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">subnav-bg-right.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.last</span> a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.current_page_item</span><span style="color: #6666ff;">.last</span> a<span style="color: #00AA00;">,</span>
body<span style="color: #6666ff;">.pageid-91</span> <span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.page-item-178</span><span style="color: #6666ff;">.last</span> a<span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.last</span><span style="color: #3333ff;">:hover </span>a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FE9914</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">subnav-bg-farright.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li<span style="color: #6666ff;">.current_page_item</span><span style="color: #6666ff;">.previous-current</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">subnav-bg-double.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #3333ff;">:<span style="color: #000000; font-weight: bold;">top</span> </span>right
	<span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #3333ff;">:no-</span>repeat<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#subnav</span> li span <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FE9914</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">6px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">9px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h3>JavaScript/jQuery</h3><div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
	<span style="color: #006600; font-style: italic;">// Preload method for jQuery</span>
	<span style="color: #003366; font-weight: bold;">var</span> cache <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #006600; font-style: italic;">// Arguments are image paths relative to the current page.</span>
	$.<span style="color: #660066;">preLoadImages</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #003366; font-weight: bold;">var</span> args_len <span style="color: #339933;">=</span> arguments.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> args_len<span style="color: #339933;">;</span> i<span style="color: #339933;">--;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #003366; font-weight: bold;">var</span> cacheImage <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'img'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			cacheImage.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> arguments<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			cache.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span>cacheImage<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">// Subnav jQuery</span>
		<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			jQuery.<span style="color: #660066;">preLoadImages</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'subnav-bg-farright.png'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'subnav-bg-double.png'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'subnav-bg-left.gif'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'subnav-bg-right.gif'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'subnav-bg.gif'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #006600; font-style: italic;">// First and last classes</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li:first'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'first'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li:last'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'last'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li a'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mouseover</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'previous-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'next-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li a'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mouseout</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'previous-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'next-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li.current_page_item'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'previous-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li.current_page_item'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'next-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li.current_page_item'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'previous-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#subnav li.current_page_item'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'next-current'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><h3><a href="http://work.kevinleary.net/diagonal-nav/diagonal-navigation-setup.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/work.kevinleary.net/diagonal-nav/diagonal-navigation-setup.html?referer=');">See the sample / demo!</a></h3><p>If you have any suggestions or questions, as always fire away!</p> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/the-impossible-slanted-diagonal-navigation-setup-with-css-jquery-xhtml/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>5 WordPress 3.0 CMS Plugins You Need to Know About</title><link>http://www.kevinleary.net/5-wordpress-3-0-cms-plugins-you-need-to-know-about/</link> <comments>http://www.kevinleary.net/5-wordpress-3-0-cms-plugins-you-need-to-know-about/#comments</comments> <pubDate>Fri, 09 Jul 2010 21:28:17 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1092</guid> <description><![CDATA[Due to popular demand, I’ve added another list of premier WordPress CMS plugins for use specifically those trargeted at tapping into the new 3.0 features we’re all so excited about. That’s right, I’m talking built-in post types, the sliced bread for all you WordPress CMS gurus. 1. Easy Post Types Easy Post Types by New [...]]]></description> <content:encoded><![CDATA[<p>Due to popular demand, I’ve added another list of premier WordPress CMS plugins for use specifically those trargeted at tapping into the new 3.0 features we’re all so excited about. That’s right, I’m talking built-in post types, the sliced bread for all you WordPress CMS gurus.</p><p><span id="more-1092"></span></p><h3>1. Easy Post Types</h3><p><a href="http://www.wpeasyposttypes.com/demo" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.wpeasyposttypes.com/demo?referer=');">Easy Post Types</a> by New Signature Labs provides a simple visual interface for creating the new WordPress 3.0 Post Types. It also allows you to create your own custom meta boxes for use in your custom post types.</p><h3>2. Custom Post Type UI &amp; WP Post Type UI</h3><p><a href="http://wordpress.org/extend/plugins/custom-post-type-ui/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/custom-post-type-ui/?referer=');">Custom Post Type UI</a> by Web Dev Studios is what I’ve currently been using. It’s a simple visual interface for creating custom post types, much like Easy Post Types. With this plugin you can quickly create custom taxonomies for use within a post type, something that Easy Post Types doesn’t seem to currently offer. You cannot, however, create meta boxes or custom fields for your post types. Combine this with <a href="http://wordpress.org/extend/plugins/verve-meta-boxes/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/verve-meta-boxes/?referer=');">Verve Meta Boxes</a> and you have a heavy hitting post type creation combination.</p><p>A branch of the Custom Post Type UI project is also available over at CodeWork, it’s called <a href="http://codework.dk/referencer/wp-plugins/wp-post-type-ui/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/codework.dk/referencer/wp-plugins/wp-post-type-ui/?referer=');">WP Post Type UI</a>. The goal is to create a similar setup that uses the traditional, simplified WordPress UI.</p><h3>3. Contemplate</h3><p><a href="http://www.presscoders.com/plugins/contemplate/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.presscoders.com/plugins/contemplate/?referer=');">Contemplate</a> by Press Coders is a new plugin that allows us to modularizing snippets of content across an entire site. I’ve seen this approach used in Business Catalyst, and if used correctly I know it can be a highly effective way to maintain a large scale site with repeating content. I believe there’s also a <a href="http://drupal.org/project/contemplate" onclick="pageTracker._trackPageview('/outgoing/drupal.org/project/contemplate?referer=');">Contemplate Drupal module</a> out there too. Using Contemplate you can store a snippet of HTML in one centralized options page, and then reference that snippet in the TinyMCE editor, or widgetized sidebar, anywhere in the site. If you change the HTML on the options page, it will change throughout the site wherever a snippet is reference. Right now the repository shows this as being supported up to 2.8, but I recently heard from the author that full 3.0 support is in place, giving it the potential to be a viable plugin for use into the future.</p><h3>4. Front End Editor</h3><p><a href="http://scribu.net/wordpress/front-end-editor" target="_blank" onclick="pageTracker._trackPageview('/outgoing/scribu.net/wordpress/front-end-editor?referer=');">Front End Editor</a> by Scribu.net allows you to provide your administrators with a simple way to edit the content of their WordPress site inline, while browsing the site. I’ve seen this done within other CMS’s, such as the small yet powerful <a href="http://unify.unitinteractive.com/" onclick="pageTracker._trackPageview('/outgoing/unify.unitinteractive.com/?referer=');">Unify system</a>, and it makes editing things much easier and faster.</p><h3>5. Multiple Post Thumbnails</h3><p>As advertised, <a href="http://wordpress.org/extend/plugins/multiple-post-thumbnails/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/multiple-post-thumbnails/?referer=');">Multiple Post Thumbnails</a> adds the ability to add multiple post thumbnails to a post type. This allows you to have more than one Featured Image on a post or page.</p><h3><em>6. Bonus!</em> WP-Table Reloaded</h3><p>This beast will allow you to easily manage tabular data outside of the WYSIWYG editor using a robust table management interface. Once you’ve created and entered data into a table, you can enable JavaScript/jQuery sorting, style odd or even rows, and even export the data as a CSV, HTML or XML file. CSV, HTML, or XML Imports are also allowed during table creation.</p><h3><a href="/index.php?p=224">Have a cool CMS plugin I need to check out? Let me know.</a></h3><h3>Still want more?</h3><p>These sites can help…</p><ol><li><a href="http://stylizedweb.com/2010/06/22/essential-plugins-for-wordpress-3-0/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/stylizedweb.com/2010/06/22/essential-plugins-for-wordpress-3-0/?referer=');">Essential Plugins for WordPress 3.0</a></li><li><a href="http://weblogtoolscollection.com/archives/2010/07/04/wordpress-plugin-releases-for-0704/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/weblogtoolscollection.com/archives/2010/07/04/wordpress-plugin-releases-for-0704/?referer=');">WordPress Plugin Releases for 07/04</a></li><li><a href="http://weblogtoolscollection.com/archives/2010/06/27/wordpress-plugin-releases-for-0627/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/weblogtoolscollection.com/archives/2010/06/27/wordpress-plugin-releases-for-0627/?referer=');">WordPress Plugin Releases for 06/27</a></li><li><a href="http://wordpress.org/extend/plugins/tags/cms" target="_blank" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/tags/cms?referer=');">New WordPress Plugins tagged with “CMS”</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/5-wordpress-3-0-cms-plugins-you-need-to-know-about/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>A Fresh Batch of WordPress CMS Plugins</title><link>http://www.kevinleary.net/new-born-wordpress-cms-plugins/</link> <comments>http://www.kevinleary.net/new-born-wordpress-cms-plugins/#comments</comments> <pubDate>Mon, 05 Jul 2010 13:00:28 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[cms]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1076</guid> <description><![CDATA[To help folks stay up to date with some of the latest and greatest CMS plugins I’ve decided to feature new, up and coming WordPress plugins on this post. Because these lists will be posted frequently, I don’t have time to review every plugin individually. I suggest using your judgement based on the repository feedback [...]]]></description> <content:encoded><![CDATA[<p>To help folks stay up to date with some of the latest and greatest CMS plugins I’ve decided to feature new, up and coming WordPress plugins on this post. Because these lists will be posted frequently, I don’t have time to review every plugin individually. I suggest using your judgement based on the repository feedback &amp; rating before choosing any of these as a development option in your next project.</p><p><span id="more-1076"></span></p><ol class="feedlist"><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/im8-exclude-pages/#post-20486" rel="external"  title="Adds a checkbox to page write panels where you can set to show or exclude each page in site navigation menus." onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/im8-exclude-pages/_post-20486?referer=');">Intermedi8 on “IM8 Exclude Pages”</a></span></h3>Adds a checkbox to page write panels where you can set to show or exclude each page in site navigation menus.</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/roohit-plugin/#post-20428" rel="external"  title="Share highlights of your posts EASILY to Facebook, Twitter..100+ such sites. Autoimatically embed parts of any website on your OWN BLOG!" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/roohit-plugin/_post-20428?referer=');">roohit on “Rooh.It Simplifier”</a></span></h3>Share highlights of your posts EASILY to Facebook, Twitter..100+ such sites. Autoimatically embed parts of any website on your OWN BLOG!</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/get-menu-joomla/#post-20298" rel="external"  title="Get Joomla menu, you get a menu and displays it in joomla wordpress plugin is specially designed for those who use wordpress joomla and in addition," onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/get-menu-joomla/_post-20298?referer=');">roypool on “Get Menu Joomla”</a></span></h3>Get Joomla menu, you get a menu and displays it in joomla wordpress plugin is specially designed for those who use wordpress joomla and in addition,</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/wp-simplify/#post-20226" rel="external"  title="Disable comments, posts, tools, hide unapplicable dashboard metaboxes, etc." onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/wp-simplify/_post-20226?referer=');">Andy Potanin on “WP-Simplify — Clean up the Control Panel”</a></span></h3>Disable comments, posts, tools, hide unapplicable dashboard metaboxes, etc.</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/wp-flash-img-show/#post-19906" rel="external"  title="wp-flash-img-show is a FLASH Image Slide plugin for WordPress. You can show your articles , photo,goods,product and other ad. or introduction.Just enj" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/wp-flash-img-show/_post-19906?referer=');">gxxywj on “WP flash img show”</a></span></h3>wp-flash-img-show is a FLASH Image Slide plugin for WordPress. You can show your articles , photo,goods,product and other ad. or introduction.Just enj</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/morfeo-basic-video-gallery/#post-19869" rel="external"  title="With this plugin you can create video galleries with flv videos and/or youtube videos." onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/morfeo-basic-video-gallery/_post-19869?referer=');">tonipg39 on “MORFEO BASIC VIDEO GALLERY”</a></span></h3>With this plugin you can create video galleries with flv videos and/or youtube videos.</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/custom-content-types/#post-19650" rel="external"  title="Create and manage custom content types from the back-end of WordPress" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/custom-content-types/_post-19650?referer=');">ooeygui on “Custom Content Types”</a></span></h3>Create and manage custom content types from the back-end of WordPress</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/yt-tree-menu/#post-19318" rel="external"  title="This plugin is designed to be a page menu for people using WordPress as a CMS" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/yt-tree-menu/_post-19318?referer=');">ytruly on “YT Tree Menu”</a></span></h3>This plugin is designed to be a page menu for people using WordPress as a CMS</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/metamatic/#post-19177" rel="external"  title="Simple friend list and friend feed functionality." onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/metamatic/_post-19177?referer=');">metamatic_wp on “Metamatic for WordPress”</a></span></h3>Simple friend list and friend feed functionality.</li><li><h3><span class="rssLinkListItemTitle"><a href="http://wordpress.org/extend/plugins/social-share-20-social-bookmarks/#post-19151" rel="external"  title="This plugin adds a small widget within each blog post to share blog posts on  Facebook, Twitter, Google Buzz, Digg, Surfpeople, and well over 100 more" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/social-share-20-social-bookmarks/_post-19151?referer=');">surfpeople on “Social Share 2.0 — Social Bookmarks”</a></span></h3>This plugin adds a small widget within each blog post to share blog posts on  Facebook, Twitter, Google Buzz, Digg, Surfpeople, and well over 100 more</li></ol><h3><a href="/contact">If you have any suggestions don’t hesitate to let me know!</a></h3><p>I’m always open to feedback.</p> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/new-born-wordpress-cms-plugins/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Faster Speed in WordPress Using Google’s Hosted JavaScript Libraries</title><link>http://www.kevinleary.net/faster-speed-in-wordpress-using-googles-hosted-javascript-libraries/</link> <comments>http://www.kevinleary.net/faster-speed-in-wordpress-using-googles-hosted-javascript-libraries/#comments</comments> <pubDate>Mon, 31 May 2010 14:55:46 +0000</pubDate> <dc:creator>kevin</dc:creator> <guid isPermaLink="false">http://www.kevinleary.net/?p=1035</guid> <description><![CDATA[Use the Use Google Libraries plugin to replace all JavaScript libraries used in WordPress with Google hosted libraries. Why is Google a better option than self hosted? Automated updates — Caching can be done correctly, and once, by us… and developers have to do nothing Gzip works Potentially the greatest benefit of using the Google [...]]]></description> <content:encoded><![CDATA[<p>Use the <a href="http://wordpress.org/extend/plugins/use-google-libraries/" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/use-google-libraries/?referer=');">Use Google Libraries</a> plugin to replace all JavaScript libraries used in WordPress with Google hosted libraries.</p><p><span id="more-1035"></span></p><h3>Why is Google a better option than self hosted?</h3><ol><li>Automated updates — Caching can be done correctly, and once, by us… and developers have to do nothing</li><li>Gzip works</li><li>Potentially the greatest benefit of using the  Google AJAX Libraries CDN is that <strong>your users may not need to  download jQuery at all.</strong> If they’ve visited another site that was using Google’s jQuery, then it’s already stored in their browser cache.</li><li>We can serve minified versions — The files are hosted by Google which has a distributed CDN at various points around the world, so the files are “close” to the user</li><li>The servers are fast, and use a CDN to deliver files faster than your host probably does.</li><li>A subtle performance (and security) issue revolves around the headers that you send up and down. Since you are using a special domain (NOTE: not google.com!), no cookies or other verbose headers will be sent up, saving precious bytes.</li></ol><h3>More Resources</h3><ul><li><a href="http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/" onclick="pageTracker._trackPageview('/outgoing/encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/?referer=');">3 Reasons Why You Should Let Google Host jQuery For You</a></li><li><a href="http://ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure" onclick="pageTracker._trackPageview('/outgoing/ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure?referer=');">Announcing AJAX Libraries API: Speed up your Ajax apps with Google’s infrastructure</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/faster-speed-in-wordpress-using-googles-hosted-javascript-libraries/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS3: Rotations, Shadows, Rounded Edges &amp; Animations</title><link>http://www.kevinleary.net/css3-rotations-shadows-rounded-edges-animations/</link> <comments>http://www.kevinleary.net/css3-rotations-shadows-rounded-edges-animations/#comments</comments> <pubDate>Tue, 25 May 2010 21:12:23 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[css3]]></category> <category><![CDATA[mozkit]]></category> <category><![CDATA[webkit]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1025</guid> <description><![CDATA[After attending an Event Apart Boston I’ve started to really see the potential of CSS 3.0 that can be used today. A few things that stood out throughout the 2-day conference have been outlined below. Rounded Corners using border-radius I used this method to create the rounded tab navigation on Next Step Living. It’s well [...]]]></description> <content:encoded><![CDATA[<p>After attending an Event Apart Boston I’ve started to really see the potential of CSS 3.0 that can be used today. A few things that stood out throughout the 2-day conference have been outlined below.</p><p><span id="more-1025"></span></p><h3>Rounded Corners using <em>border-radius</em></h3><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-rounded-corners.png" rel="shadowbox[post-1025];player=img;" title="CSS3 Rounded Corners with Border Radius"><img src="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-rounded-corners.png" alt="css3 rounded corners CSS3: Rotations, Shadows, Rounded Edges & Animations" title="CSS3 Rounded Corners with Border Radius" width="178" height="66" class="alignright size-full wp-image-1029" /></a><p>I used this method to create the rounded tab navigation on Next Step Living. It’s well supported by browsers, and can be used in Firefox 3.5, Safari and Chrome. If you need functionality in IE check out the <a href="http://code.google.com/p/curved-corner/" onclick="pageTracker._trackPageview('/outgoing/code.google.com/p/curved-corner/?referer=');">Curved Corner</a> project.</p><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #6666ff;">.rounded</span> <span style="color: #00AA00;">&#123;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h3>Inner shadow using <em>box-shadow</em></h3><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-inner-shadow.png" rel="shadowbox[post-1025];player=img;" title="CSS3 Inner Shadow with Box Shadow"><img src="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-inner-shadow.png" alt="css3 inner shadow CSS3: Rotations, Shadows, Rounded Edges & Animations" title="CSS3 Inner Shadow with Box Shadow" width="230" height="94" class="alignright size-full wp-image-1028" /></a></p><p>This one works great with images, or just plain text. It’s well supported by the usualy suspects, but isn’t currently supported in IE. If you need IE support take a look at adding this CSS method to replicate the effects: <strong>filter: progid:DXImageTransform.Microsoft.Shadow(color=’#969696′, Direction=135, Strength=3);</strong>.</p><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #6666ff;">.inner-shadow</span> <span style="color: #00AA00;">&#123;</span>
	-moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">inset</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* for Firefox 3.5+ */</span>
   	-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">inset</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* for Safari and Chrome */</span>
   	box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">inset</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* CSS 3 Spec */</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h3>Drop shadow using <em>box-shadow</em></h3><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-drop-shadow.png" rel="shadowbox[post-1025];player=img;" title="CSS3 Drop Shadow using Box Shadow"><img src="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-drop-shadow-300x112.png" alt="css3 drop shadow 300x112 CSS3: Rotations, Shadows, Rounded Edges & Animations" title="CSS3 Drop Shadow using Box Shadow" width="300" height="112" class="alignright size-medium wp-image-1032" /></a><p>This is essentially the same method used for the inner shadow above, just a different approach to place the shadow on the outside of the element.</p><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #6666ff;">.drop-shadow</span> <span style="color: #00AA00;">&#123;</span>
	-moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span> <span style="color: #933;">2px</span> <span style="color: #933;">3px</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* for Firefox 3.5+ */</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span> <span style="color: #933;">2px</span> <span style="color: #933;">3px</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* for Safari and Chrome */</span>
	box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span> <span style="color: #933;">2px</span> <span style="color: #933;">3px</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>  <span style="color: #808080; font-style: italic;">/* CSS 3 Spec */</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h3>Awesome form buttons and submits</h3><p><a href="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-submit-button.png" rel="shadowbox[post-1025];player=img;" title="Fancy CSS Submit Button"><img src="http://www.kevinleary.net/wp-content/uploads/2010/05/css3-submit-button.png" alt="css3 submit button CSS3: Rotations, Shadows, Rounded Edges & Animations" title="Fancy CSS Submit Button" width="116" height="54" class="alignright size-full wp-image-1030" /></a><p>This is pulled directly from Dan Cederholm’s demo site used during his 2010 Event Apart Boston presentation, <a href="http://css3exp.com/moon/" onclick="pageTracker._trackPageview('/outgoing/css3exp.com/moon/?referer=');">Things we left on the moon</a>. It degrades gracefully accross all browsers, so it may not look the same in IE; but provides the behavioral actions needed for users to complete a task.</p><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #00AA00;">&#91;</span>type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span><span style="color: #00AA00;">&#93;</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Helvetica<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#444</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-shadow</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">1px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">255</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">255</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">255</span><span style="color: #00AA00;">,</span>.85<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span><span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#bbb</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> -moz-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span> 90deg<span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#bbb</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">23px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">23px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">23px</span><span style="color: #00AA00;">;</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">2px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">2px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	box-shadow<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">2px</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">,</span>.5<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
input<span style="color: #00AA00;">&#91;</span>type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span><span style="color: #00AA00;">&#93;</span><span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
	-webkit-animation-name<span style="color: #00AA00;">:</span> pulse<span style="color: #00AA00;">;</span>
	-webkit-animation-duration<span style="color: #00AA00;">:</span> 1.5s<span style="color: #00AA00;">;</span>
	-webkit-animation-iteration-count<span style="color: #00AA00;">:</span> infinite<span style="color: #00AA00;">;</span>
	-webkit-animation-timing-function<span style="color: #00AA00;">:</span> ease-in-out<span style="color: #00AA00;">;</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	-moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	box-shadow<span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h3>Create a circle!</h3><p>This creative technique is thanks to the Web Designer Wall article, <a href="http://www.webdesignerwall.com/tutorials/css3-gradient-buttons/" onclick="pageTracker._trackPageview('/outgoing/www.webdesignerwall.com/tutorials/css3-gradient-buttons/?referer=');">Beautiful CSS3 Search Form</a></p><div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.circle</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h3>Great resources!</h3><ol><li><a title="Things we left on the moon" href="http://css3exp.com/moon/" onclick="pageTracker._trackPageview('/outgoing/css3exp.com/moon/?referer=');">SimpleBits: Things we left on the moon</a></li><li><a href="http://www.smashingmagazine.com/2009/01/08/push-your-web-design-into-the-future-with-css3/" onclick="pageTracker._trackPageview('/outgoing/www.smashingmagazine.com/2009/01/08/push-your-web-design-into-the-future-with-css3/?referer=');">Smashing Magazine: Push Your Web Design Into The Future</a></li><li><a href="http://www.smashingmagazine.com/2009/06/15/take-your-design-to-the-next-level-with-css3/" onclick="pageTracker._trackPageview('/outgoing/www.smashingmagazine.com/2009/06/15/take-your-design-to-the-next-level-with-css3/?referer=');">Smashing Magazine: Take Your Design to The Next Level with CSS3</a></li><li><a href="http://www.css3.info/" onclick="pageTracker._trackPageview('/outgoing/www.css3.info/?referer=');">CSS3.info</a></li><li><a href="http://www.webdesignerwall.com/tutorials/css3-gradient-buttons/" onclick="pageTracker._trackPageview('/outgoing/www.webdesignerwall.com/tutorials/css3-gradient-buttons/?referer=');">CSS3 Gradient Buttons</a></li><li><a href="http://www.webdesignerwall.com/tutorials/css3-gradient-buttons/" onclick="pageTracker._trackPageview('/outgoing/www.webdesignerwall.com/tutorials/css3-gradient-buttons/?referer=');">Beautiful CSS3 Search Form</a></li></ol><h3>More to come!</h3><p>This article only scratches the surface of what can be achieved using CSS3. It is hopefully the first of many CSS3 related article I’ll be posting. Let me know if you have any thoughts or suggestions!</p> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/css3-rotations-shadows-rounded-edges-animations/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>First Flutter, Now Magic Fields</title><link>http://www.kevinleary.net/first-flutter-now-magic-fields/</link> <comments>http://www.kevinleary.net/first-flutter-now-magic-fields/#comments</comments> <pubDate>Wed, 19 May 2010 00:49:39 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1019</guid> <description><![CDATA[Flutter has been a great plugin for WordPress, allowing CMS developers to leverage custom post types and write panels through an easy to use GUI. Unfortunately over the past year or so development has slowed down some, and has even forked into other projects. Flutter According to many Flutter is still very much alive, but [...]]]></description> <content:encoded><![CDATA[<p>Flutter has been a great plugin for WordPress, allowing CMS developers to leverage custom post types and write panels through an easy to use GUI. Unfortunately over the past year or so development has slowed down some, and has even forked into other projects.</p><p><span id="more-1019"></span></p><h3><a href="http://flutter.freshout.us/" onclick="pageTracker._trackPageview('/outgoing/flutter.freshout.us/?referer=');">Flutter</a></h3><p>According to many Flutter is still very much alive, but with the custom post types being built into 3.0 I think it’s apparent to <strong>Freshout</strong>, the company behind flutter, that 3.0 post types may eventually replace the demand for the plugin.</p><h3><a href="http://magicfields.org/" onclick="pageTracker._trackPageview('/outgoing/magicfields.org/?referer=');">Magic Fields</a></h3><p>Magic Fields build on the core of Flutter, taking it furthur forward and squashing some tough to tackle bugs. If you dig Flutter, but can’t seem to come to grips with some of the bug fixes that are needed to make it run properly, I highly recommend checking out Magic Fields.</p><h3>Furthur Reading</h3><p>If you’re interested in more I highly recommend taking a look at the following articles:</p><ul><li><a href="http://www.dquinn.net/flutter-is-not-dead-says-navid-matt-mullenweg-takes-notice/" onclick="pageTracker._trackPageview('/outgoing/www.dquinn.net/flutter-is-not-dead-says-navid-matt-mullenweg-takes-notice/?referer=');">Flutter is Not Dead Says Navid, Matt Mullenweg Takes Notice</a></li><li><a href="http://tobymackenzie.wordpress.com/2009/11/28/stearns-flutter-magic-fields-adminimize/" onclick="pageTracker._trackPageview('/outgoing/tobymackenzie.wordpress.com/2009/11/28/stearns-flutter-magic-fields-adminimize/?referer=');">Flutter now Magic Fields, Adminimize</a></li><li><a href="http://magicfields.org/script-for-migrate-from-flutter-v-1-1-and-1-0/" onclick="pageTracker._trackPageview('/outgoing/magicfields.org/script-for-migrate-from-flutter-v-1-1-and-1-0/?referer=');">Script for Migrating from Flutter to Magic Fields</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/first-flutter-now-magic-fields/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Future of More Fields &amp; WordPress 3.0</title><link>http://www.kevinleary.net/the-future-of-more-fields-wordpress-3-0/</link> <comments>http://www.kevinleary.net/the-future-of-more-fields-wordpress-3-0/#comments</comments> <pubDate>Sun, 16 May 2010 19:44:28 +0000</pubDate> <dc:creator>kevin</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[more fields]]></category> <category><![CDATA[wordpress 3.0]]></category><guid isPermaLink="false">http://www.kevinleary.net/?p=1009</guid> <description><![CDATA[It looks like the developers who created More Fields have been hard at work in order to accommodate the upcoming release of WordPress 3.0. They’ve updated to more Fields Plugin to 1.5, adding some much needed bug fixes. Beyond that they have branched the More Fields project into a series of “More” CMS plugins. More [...]]]></description> <content:encoded><![CDATA[<p>It looks like the developers who created More Fields have been hard at work in order to accommodate the upcoming release of WordPress 3.0. They’ve updated to more Fields Plugin to 1.5, adding some much needed bug fixes. Beyond that they have branched the More Fields project into a series of “More” CMS plugins.</p><p><span id="more-1009"></span></p><h3>More Fields 2.0</h3><p>The highlight of this is the ability to add additional Post types besides the built in Posts and Pages. Could this bring More Fields close to the realm of Pods?</p><h3>More Types 1.0</h3><p>This splits off the ability to create post types from More Fields since it’s built into the core of WordPress 3.0.</p><h3>More Taxonomies 1.0</h3><p>This allows you to create custom taxonomies specific to your post types created with More Types. Very cool indeed.</p><h3>More Roles 1.0</h3><p>With More Roles you’ll be able to customized the 5 default user roles built into WordPress, and even add new ones. As best put by the development team: <em>You could for  instance create a new role for a specific department in your  organization and allow only them to post items in a specific post type.</em></p><h3><a href="http://labs.dagensskiva.com/2010/04/09/we-want-more-plugins/" onclick="pageTracker._trackPageview('/outgoing/labs.dagensskiva.com/2010/04/09/we-want-more-plugins/?referer=');">See the full post over at the Dagensskiva Labs</a><em><br /> </em></h3> ]]></content:encoded> <wfw:commentRss>http://www.kevinleary.net/the-future-of-more-fields-wordpress-3-0/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>