<?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>Mesmer Lab &#187; WordPress</title>
	<atom:link href="http://www.mesmerlab.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mesmerlab.com</link>
	<description>Tech and trends in web design+development.</description>
	<lastBuildDate>Mon, 30 May 2011 23:11:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Digging into WordPress: Book Released</title>
		<link>http://www.mesmerlab.com/digging-into-wordpress-book-released/</link>
		<comments>http://www.mesmerlab.com/digging-into-wordpress-book-released/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 18:05:49 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[css tricks]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=709</guid>
		<description><![CDATA[The much-anticipated book about the ins and outs of WordPress is finally here. Chris Coyier and Jeff Starr released Digging into WordPress today. Currently, the PDF version is available for immediate download for $27. I suggest you pick up this book if you&#8217;re new to WordPress or if you&#8217;ve been using it for a while. [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Digging into WordPress" src="http://digwp.com/images/book-cover.png" title="Digging into WordPress" class="alignnone postimage" width="300" height="247" />The much-anticipated book about the ins and outs of WordPress is finally here. Chris Coyier and Jeff Starr released <a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&#038;c=ib&#038;aff=47911">Digging into WordPress</a> today. Currently, the PDF version is available for immediate download for $27. </p>
<p>I suggest you pick up this book if you&#8217;re new to WordPress or if you&#8217;ve been using it for a while. Chris is great at explaining how web-related concepts work at CSS Tricks. He joins Jeff Star in this project, and the professionalism in the product is stunning.<span id="more-709"></span></p>
<h3>Features</h3>
<p>Listed on the book&#8217;s site are the following features:</p>
<ul>
<li>How to get things set up right</li>
<li>Building themes and how they work</li>
<li>Keeping sites secure and optimized</li>
<li>Using WordPress as a CMS</li>
<li>Integrate things like Twitter and Delicious</li>
<li>Making the most out of WordPress</li>
</ul>
<h3>Peek Inside!</h3>
<p>From CSS Tricks, Chris offers a <a href="http://css-tricks.com/the-book-digging-into-wordpress/">peek inside the book</a>. I really like how much color and engaging images they&#8217;ve included. This is a welcome change from all the black-and-white instructional books I know you&#8217;re used to.</p>
<p><img alt="Look inside Digging into WordPress" src="http://css-tricks.com/wp-content/csstricks-uploads/sneakpeak.jpg" title="Look inside Digging into WordPress" class="aligncenter" width="478" height="767" style="margin:0 auto;" /></p>
<h3>Buy the Book</h3>
<p>You can <a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&#038;c=ib&#038;aff=47911">buy the PDF now</a> and get the print version at a discount later. You will also have access to updated versions via a download link in your email when they&#8217;re released. Free upgrades for life are always awesome.</p>
<p>So go on over and <a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&#038;c=ib&#038;aff=47911">pick up Digging into WordPress</a> now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/digging-into-wordpress-book-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: WP-Table Reloaded</title>
		<link>http://www.mesmerlab.com/wordpress-table-reloaded/</link>
		<comments>http://www.mesmerlab.com/wordpress-table-reloaded/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 19:51:46 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=697</guid>
		<description><![CDATA[So I wanted to have a table with zebra stripes in a WordPress installation. I found a quick and full-featured plugin that allows the stripes, plus so much more. WP-Table Reloaded will let you import a table from a CSV, HTML or XML file. You can enter the cell data directly into the admin page. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/"><img src="http://www.mesmerlab.com/wp-content/uploads/2009/10/wp-table-reloaded.jpg" alt="WP-Table Reloaded - WordPress Plugin" title="WP-Table Reloaded - WordPress Plugin" width="275" height="206" class="alignright size-full wp-image-700 postimage" /></a>So I wanted to have a table with zebra stripes in a WordPress installation. I found a quick and full-featured plugin that allows the stripes, plus so much more.</p>
<p><a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/">WP-Table Reloaded</a> will let you import a table from a CSV, HTML or XML file. You can enter the cell data directly into the admin page. You can swap column or row order with minimal effort. You can hide or show columns or rows.<span id="more-697"></span></p>
<h3>Extra Features</h3>
<p>But then there are extra features that really make this plugin shine. </p>
<ul>
<li>Alternating row colors:  	 Every second row will have an alternating background color.</li>
<li>Use Table Headline: 	The first row of your table will use the &lt;th&gt; tag.</li>
<li>Print Table Name: 	The Table Name will be written above the table in a &lt;h2&gt; tag.</li>
<li>Print Table Description: 	The Table Description will be written under the table.</li>
<li>Use Tablesorter: 	You may sort a table using the Tablesorter-jQuery-Plugin.</li>
</ul>
<p>I&#8217;m currently using this plugin on a website for a <a href="http://greenedgesprinklers.com/pricing/">sprinkler company in Houston, Texas</a>. Everything you see on the page is pretty much stock settings. There is one table for the service fees, since I didn&#8217;t want zebra stripes on a 2-row table. Then another table for the rest of the services.</p>
<p>I just wanted to give a quick nod to this well-rounded and very functional WordPress plugin for implementing HTML tables. Thanks go to the author of this plugin. (Apparently this is his first WP plugin!)<!-- pingbacker_start --><br />
<h4>Related Blogs</h4>
<ul class='pc_pingback'>
<li><a href='http://www.boygeniusreport.com/2010/03/03/virgin-america-selects-html-over-flash-re-ignites-the-flash-vs-html-debate/'>Virgin America selects <b>HTML</b> over Flash, re-ignites the Flash vs <b>&#8230;</b></a></li>
<li><a href='http://coffeeonthekeyboard.com/bleach-html-sanitizer-and-auto-linker-for-django-344/'>Bleach, <b>HTML</b> sanitizer and auto-linker | Coffee on the Keyboard</a></li>
<li><a href='http://smallbiztrends.com/2010/03/google-more-local-more-social.html'>Google Goes More Local, Social With Results <b>Page</b> | Small Business <b>&#8230;</b></a></li>
<li><a href='http://webworkerdaily.com/2010/03/01/create-an-faq-page-for-colleagues-and-clients/'>Create an FAQ <b>Page</b> For Colleagues and Clients – WebWorkerDaily</a></li>
<li><a href='http://www.mobilemarketingwatch.com/nbc-mobile-olympics-takes-gold-with-87-million-page-views-5609/'>NBC Mobile Olympics Takes Gold With 87M <b>Page</b> Views : Mobile <b>&#8230;</b></a></li>
<li><a href='http://www.seoconsult.co.uk/SEOBlog/offpage-optimisation/set-up-your-off-page-seo-with-a-bang.html'>Set Up Your Off-<b>Page</b> SEO With a Bang | SEO Consult &#8211; Certified <b>&#8230;</b></a></li>
<li><a href='http://www.graphicstech.com/index.php/tampa-bay-internet-marketing-effective-landing-page-strategy/'>Why an Effective Landing <b>Page</b> is Needed to Complete Your Internet <b>&#8230;</b></a></li>
<li><a href='http://splashpage.mtv.com/2010/03/02/former-x-men-first-class-writer-josh-schwartz-explains-his-exit/'>Former &#39;X-Men: First Class&#39; Writer Josh Schwartz Explains His Exit</a></li>
<li><a href='http://benjamin.smedbergs.us/blog/2010-03-03/firefox-safe-from-plugin-crashes/'>Answers and Questions » Blog Archive » Firefox, Safe From <b>Plugin</b> <b>&#8230;</b></a></li>
<li><a href='http://www.catonmat.net/blog/vim-plugins-ragtag-allml-vim/'>Vim <b>Plugins</b> You Should Know About, Part VII: ragtag.vim (formerly <b>&#8230;</b></a></li>
<li><a href='http://www.1stwebdesigner.com/wordpress/basic-wordpress-plugins-every-blog/'>7 Must Have WordPress <b>Plugins</b> For Every Blog | Graphic and Web <b>&#8230;</b></a></li>
<li><a href='http://wordpress.tv/2009/11/13/john-hawkins-building-plugin-phx09/'>John Hawkins: Building a WordPress <b>Plugin</b> « WordPress.tv</a></li>
<li><a href='http://www.seodenver.com/mad-mimi/'>Mad Mimi <b>Plugin</b> for WordPress | Denver SEO Blog</a></li>
<li><a href='http://johnhaydon.com/2010/03/embed-seo-automation-wordpress-blog-posts/'>WordPress SEO Simplified With Scribe <b>Plugin</b></a></li>
<li><a href='http://thomas.apestaart.org/log/?p=1159'>thomas.apestaart.org » N900 Facebook <b>plugin</b> problems</a></li>
<li><a href='http://wordcast.bitwiremedia.com/2010/03/03/plugin-picks-2-google-analyticator/'><b>Plugin</b> Picks 2: Google Analyticator | WordCast &#8211; BBlogging news <b>&#8230;</b></a></li>
<li><a href='http://lifestreamblog.com/custom-php-lifestream-script-built-atop-wordpress-plugin/'>Custom PHP Lifestream Script Built Atop WordPress <b>Plugin</b> <b>&#8230;</b></a></li>
<li><a href='http://www.rapidownloads.net/games/battlefield-bad-company-2-reloaded-28/'>Battlefield.Bad.Company.2-<b>RELOADED</b></a></li>
<li><a href='http://gadget-reviews.org/longhorn-reloaded-logon-for-vista/'>Gadget Reviews: longhorn <b>reloaded</b> logon for vista | Gadget Reviews -</a></li>
<li><a href='http://mafiaweb.org/2010/03/alone-in-the-dark-reloaded/'>Alone In The Dark <b>RELOADED</b></a></li>
</ul>
<p><!-- pingbacker_end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/wordpress-table-reloaded/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Here&#8217;s a Quick Way to Add a Custom Date Graphic to your WordPress Blog</title>
		<link>http://www.mesmerlab.com/heres-a-quick-way-to-add-a-custom-date-graphic-to-your-wordpress-blog/</link>
		<comments>http://www.mesmerlab.com/heres-a-quick-way-to-add-a-custom-date-graphic-to-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 23:28:38 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=396</guid>
		<description><![CDATA[You may have noticed the spiffy new calendar icon here at Mesmer Lab. Well I created the graphic purely in Photoshop and have made it available at Graphic River. A future article will explain how I made it, but this article is about how to implement it into your WordPress blog. The goal is to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/03/max-calendar.jpg" alt="Use this calendar image on your custom WordPress blog." title="Use this calendar image on your custom WordPress blog." width="154" height="150" class="alignright size-full wp-image-399 postimage" />You may have noticed the spiffy new calendar icon here at Mesmer Lab. Well I created the graphic purely in Photoshop and have made it available at Graphic River. A future article will explain how I made it, but this article is about how to implement it into your WordPress blog. </p>
<p>The goal is to get rid of the generic-looking display of each article&#8217;s date. The visitor to most sites would want to know when the article is written to see how relevant the ideas, data or techniques are. A bold display of the date lets the user quickly scan and find the publish date.<span id="more-396"></span></p>
<h3>Step One: The Image</h3>
<p>For quickness, you can download the png file I&#8217;m using here, download the <a href="http://graphicriver.net/item/calendar-icon/32314?ref=Serengeti">full source file at Graphic River</a>, or build your own. Just make note of the dimensions since we&#8217;ll be using it as a background image.</p>
<p>You can use most anything as a date icon.  Common metaphors include a calendar like I&#8217;m using or the piece of paper that <a href="http://www.webdesignerwall.com/">Web Designer Wall</a> uses.</p>
<h3>Step Two: The WordPress Code</h3>
<p>We have to create a few new elements to house the date code. This will take the place of the stock date implementation so we can put or own spin on the look and feel. The following is how I&#8217;ve done it here at Mesmer Lab. I&#8217;ve modified the code in the Main Index Template (index.php).</p>
<blockquote><pre><code>&lt;?php if(have_posts()) : while(have_posts()) : the_post(); ?&gt;

<span style="color:red;">&lt;div class="post"&gt;

&lt;p class="date"&gt;
     &lt;?php the_time('M'); ?&gt;
     &lt;span>&lt;?php the_time('d'); ?&gt;&lt;/span&gt;
&lt;/p&gt;</span>

{your post code goes here}

<span style="color:red;">&lt;/div&gt;</span>

&lt;?php endwhile ?&gt;
</code></pre>
</blockquote>
<p>I&#8217;ve created a DIV with the &#8216;post&#8217; class inside the loop. There&#8217;s a tiny bit of CSS applied to this div and I&#8217;ll explain it in a few minutes. </p>
<p>I&#8217;ve used a paragraph element for the main container. The paragraph seemed to work better than a typical DIV, in regards to ease of modification and cross-browser compatibility. This is where I put the month for the article.</p>
<p>The span element works perfectly inside the paragraph tag, simply because I added the &#8216;display:block&#8217; designation. It seemed to play along better instead of a DIV. The numerical date (with leading zero) resides here.</p>
<h3>Step Three: The WordPress CSS</h3>
<blockquote><pre><code>.post {
position:relative;
}</code></pre>
</blockquote>
<p>The wrapping DIV is set to position relatively. This allows absolute positioning inside for the paragraph element. If you don&#8217;t do this, all the dates on the home page will be on top of each other. Don&#8217;t just copy and paste this code into your theme files. If you&#8217;re not using my specific image, your results will not look right.</p>
<blockquote><pre><code>.date {
background:transparent url(<span style="color:red;">'your-image.png'</span>);
position:absolute;
left:-80px;
top:8px;
color:#fff;
width:56px;
height:61px;
padding:14px 0 0 18px;
font:bold 12px Arial;
}</code></pre>
</blockquote>
<p>Next you&#8217;ll need to link the image to the paragraph and position it absolutely inside the div.post element. The padding and width/height are tied together in the box model. You&#8217;ll have to adjust the width and height depending on how much padding you need for the text to show up properly. Typical font styling is present.</p>
<blockquote><pre><code>.date span {
display:block;
width:100%;
text-align:center;
margin-left:-7px;
margin-top:1px;
line-height:26px;
color:#000;
font: italic bold 24px Georgia,"Times New Roman",Times,serif;
}</code></pre>
</blockquote>
<p>To push the numerical date on a second line, I&#8217;ve employed &#8216;display:block&#8217;. Span by nature displays its contents inline. The margin code is for simple positioning. The line-height is so IE will display the whole number. And we round it out with typical font styling.</p>
<h3>Step Four: Adding to Single Posts</h3>
<p>The next step is relatively easy. Open the Single Post (single.php) file and repeat the code you used in Step Two. This goes in the same place, so it should be easy for you to find.</p>
<h3>Conclusion</h3>
<p>Customization will make your WordPress site unique. You can add a sense of branding by efficient use of colors, icons or other visual elements. By adding a custom date graphic to your WordPress site, you are on your way to standing out in the crowd. </p>
<p>I hope you enjoyed this tutorial. Comments, suggestions and how you&#8217;ve implemented this on your site are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/heres-a-quick-way-to-add-a-custom-date-graphic-to-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Update: WordPress Plugin Tweet This</title>
		<link>http://www.mesmerlab.com/update-wordpress-plugin-tweet-this/</link>
		<comments>http://www.mesmerlab.com/update-wordpress-plugin-tweet-this/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 17:46:47 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=278</guid>
		<description><![CDATA[I recently added Tweet This to my site, a plugin for WordPress that enables your visitors to easily post a link to your article in their Twitter stream. The key point here, easier is better. One-click goodness will surely get your articles into the Twitterverse. The plugin was updated yesterday with many more admin features [...]]]></description>
			<content:encoded><![CDATA[<p>I recently added <a href="http://wordpress.org/extend/plugins/tweet-this/">Tweet This</a> to my site, a plugin for WordPress that enables your visitors to easily post a link to your article in their Twitter stream. The key point here, easier is better. One-click goodness will surely get your articles into the Twitterverse.</p>
<p>The plugin was updated yesterday with many more admin features along with options for Digg This, Plunk This and Ping This links. You can see all four at the bottom of this article.</p>
<p>A very welcome addition is customization of how the text is sent to Twitter. The default is &#8216;[URL] [TITLE]&#8216; but I followed <a href="http://www.johnchow.com/tweet-this-blog-post-wordpress-plugin/">John Chow&#8217;s</a> lead and modified mine to &#8216;Reading @mesmerlab [TITLE] [URL]&#8216;. I had to modify the plugin code itself when I first installed it.</p>
<p>Thanks go out to Richard X. Thripp for this great upgrade!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/update-wordpress-plugin-tweet-this/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Add Custom Fonts to your WordPress Site</title>
		<link>http://www.mesmerlab.com/add-custom-fonts-to-your-wordpress-site/</link>
		<comments>http://www.mesmerlab.com/add-custom-fonts-to-your-wordpress-site/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 23:57:31 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=247</guid>
		<description><![CDATA[In the old days if you wanted to have a non-standard font on your site that was viewable by your visitors, you would need to provide a download link so they could add the custom font onto their computer. This was a little clunky, but it allowed a better user experience and would help mesh [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/01/main-image.png" alt="main-image" title="main-image" width="282" height="182" class="alignright size-full wp-image-262" style="float:right;margin:0 0 20px 20px;border:1px solid #333;padding:10px;" />In the old days if you wanted to have a non-standard font on your site that was viewable by your visitors, you would need to provide a download link so they could add the custom font onto their computer. This was a little clunky, but it allowed a better user experience and would help mesh your design together. One can only handle so much Verdana and Arial each day.</p>
<p>Fast-forward about 10 years. There have been great strides in font technology on the web.<span id="more-247"></span> The first well-known solution was <a href="http://en.wikipedia.org/wiki/Scalable_Inman_Flash_Replacement">sIFR</a>, a Flash-based solution that converted your text into a .swf file which is viewable by most modern browsers. Adding a custom font became a little easier. However, the coding required made these sites a little sluggish and needed javascript and Flash to be enabled.</p>
<p>Of course most of the good stuff on the web these days requires javascript, but that still meant sIFR needed Flash. An alternative that uses pure code and no proprietary filetypes came along, called <a href="http://facelift.mawhorter.net/">FLIR</a>. Now this solution lets your site break free of the Flash requirement. It does however require PHP to be installed on your web host. This isn&#8217;t a huge obstacle since most commercial host companies offer PHP scripting.</p>
<p>Now to the good stuff concerning WordPress users. The guys over at HostScope.com have developed a <a href="http://www.hostscope.com/wordpress-plugins/ttftitles-wordpress-plugin/">plugin that achieves FLIR goodness</a> in an easy admin interface. I use this plugin to carry over the custom font in my logo to the sidebar headings on the right.</p>
<h3>Step 1: Installation</h3>
<p><a href="http://wordpress.org/extend/plugins/ttftitles/">Download</a>, install and activate TTFTitles.</p>
<h3>Step 2: Uploading Fonts</h3>
<p>Navigate to the Appearance section of your WordPress admin. You&#8217;ll find the TTF Titles section under this heading. Go to the Fonts link and upload your custom font. </p>
<h3>Step 3: Creating Styles</h3>
<p><img src="http://www.mesmerlab.com/wp-content/uploads/2009/01/styles-300x195.png" alt="styles" title="styles" width="300" height="195" class="alignright size-medium wp-image-264" style="float:right;margin:0 0 20px 20px;border:1px solid #333;padding:10px;" />Navigate to the Styles section of the TTF Titles admin. You can adjust how your custom font will be viewed from here. I have a specific style for my sidebar and one for the &#8216;Leave a Comment&#8217; element that is in the content section. I believe the plugin uses PNG-8 because you must designate a background color. The green background of the sidebar style did not look appealing on the white of the content section. I&#8217;d love for the author to update the plugin to use PNG-24, allowing for a style to be used anywhere.</p>
<h3>Step 4: The Code</h3>
<p>Applying the styles to your site is relatively easy, even for those who don&#8217;t know PHP. For instance, in the second sidebar on the right, the title code used to be&#8230;</p>
<blockquote><pre><code>&lt;h3&gt;Recent Articles&lt;/h3&gt;</code></pre>
</blockquote>
<p>To render the title with my font I simply wrap the text with a little PHP like this&#8230;</p>
<blockquote><pre><code>&lt;h3&gt;<span style="color:red;"><strong>&lt;?php the_ttftext("</strong></span>Recent Articles<span style="color:red;"><strong>"); ?&gt;</strong></span>&lt;/h3&gt;</code></pre>
</blockquote>
<p>Use the following code when adding the functionality to a WordPress variable.</p>
<blockquote><pre><code>&lt;?php get_bloginfo('name'); ?&gt;
... turns into ...
 &lt;?php <span style="color:red;"><strong>the_ttftext(</strong></span>get_bloginfo('name')<span style="color:red;"><strong>)</strong></span>; ?&gt;</code></pre>
</blockquote>
<p>The previous implementations assume you&#8217;re using the style set as default. To use a different style like I have for my comment section you would code as follows.</p>
<blockquote><pre><code>&lt;?php the_ttftext("Leave a Comment"<span style="color:red;"><strong>, true, "Opus on white", ""</strong></span>); ?&gt;</code></pre>
</blockquote>
<p>This pulls in the name of your custom style in the third parameter. The last parameter is for alterations to the style, similar to inline styles in CSS. I can designate a different color, font size, or any other available attributes.</p>
<p>So now you can have more control over the user experience by adding custom fonts. Let me know how you&#8217;ve implemented this on your site.<!-- pingbacker_start --><br />
<h4>Related Blogs</h4>
<ul class='pc_pingback'></ul>
<p><!-- pingbacker_end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/add-custom-fonts-to-your-wordpress-site/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>Updating Prototype in a DreamHost 1-Click Install</title>
		<link>http://www.mesmerlab.com/updating-prototype-in-a-dreamhost-1-click-install/</link>
		<comments>http://www.mesmerlab.com/updating-prototype-in-a-dreamhost-1-click-install/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 17:39:32 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://www.mesmerlab.com/?p=187</guid>
		<description><![CDATA[I&#8217;ve used DreamHost for years with very little, if any trouble. I highly recommend them to anyone looking for a hosting solution. While developing this site, I came across Xavin’s List Subpages plugin for WordPress that allows me to show a submenu based on the ID number of a page. You can see the working [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used <a href="http://www.dreamhost.com/r.cgi?447595" target="_blank">DreamHost</a> for years with very little, if any trouble. I highly recommend them to anyone looking for a hosting solution. While developing this site, I came across <a href="http://www.jonathanspence.com/software/wordpress-plugins/xavins-list-subpages/" target="_blank">Xavin’s List Subpages</a> plugin for WordPress that allows me to show a submenu based on the ID number of a page.<span style="display:none;"> You can see the working menu on <a href="http://www.mesmerlab.com/portfolio/">my portfolio</a> page.</span><span id="more-187"></span></p>
<div class="separator"></div>
<h3>Trouble Ahead</h3>
<p>One small problem came up when I was clicking on the submenu items. It seemed Firebug showed an error once I clicked, yet it went away when the page moved on. Ok, so this is a very tiny flaw that would only be visible to a quick eye and only bother perfectionists like me. So I dove right in. A quick punch of the stop button snared the error for further investigation. Off to Google with&#8230;</p>
<p><code>'^=': function(nv, v) { return nv.startsWith(v); },</code></p>
<div class="separator"></div>
<h3>A Lighthouse in the Distance</h3>
<p>Most of the hits were versions of the Prototype script itself. But a <a href="http://dev.rubyonrails.org/attachment/ticket/11395/prototype.match.null.patch" target="_blank">post on the Ruby On Rails</a> development site had exactly what I was looking for. <em>Prototype Element.match returns TypeError nv: null when selecting for an attribute that is not present.</em> It seems that they had found and fixed the bug back in March of 2008.</p>
<div class="separator"></div>
<h3>Moving into Port</h3>
<p>So I go back to the prototype.js that is installed here and find the outdated 1.6.0 version. I got the <a href="http://www.prototypejs.org/download">latest 1.6.0.3 version</a> from the source and updated the file on my server. Now the fleeting error notice is gone and everything works perfectly.</p>
<div class="separator"></div>
<h3>Safely Ashore</h3>
<p>To ensure the safety and sanity of other hunters of minuscule bugs, I posted a request to update Prototype on the DreamHost suggestion tracker. Waves of euphoria are rushing right now; similar to when I make a spelling correction on Wikipedia.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mesmerlab.com/updating-prototype-in-a-dreamhost-1-click-install/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

