<?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>ThesisLab</title>
	<atom:link href="http://thesislab.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://thesislab.net</link>
	<description>Thesis styles and skins by Philip Barron</description>
	<lastBuildDate>Tue, 24 Aug 2010 17:28:42 +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>Back. It. Up.</title>
		<link>http://thesislab.net/archives/back-it-up/</link>
		<comments>http://thesislab.net/archives/back-it-up/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 17:28:42 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=386</guid>
		<description><![CDATA[By now, you likely know that Thesis 1.8 has been released. The official DIYthemes site has posted a list of the new features that await the eager Thesis user. But before you click that download button, please take a moment to read this public service announcement&#8230; We begin today&#8217;s sermon with a word from Bert [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="note_box">By now, you likely know that <strong>Thesis 1.8 </strong>has been released. The official DIYthemes site has posted <a href="http://diythemes.com/thesis/version-18-features/">a list of the new features</a> that await the eager Thesis user. But before you click that download button, please take a moment to read this public service announcement&#8230;</div>
<p>We begin today&#8217;s sermon with a word from Bert Mahoney, aka <a href="http://www.berchman.com/">Berchman</a>, WordPress developer/designer and member of the Thesis cognoscenti:</p>
<p><a href="http://thesislab.net/wp-content/uploads/2010/05/berchman_backup.png"><img src="http://thesislab.net/wp-content/uploads/2010/05/berchman_backup.png" alt="Bert Mahoney on backing up" title="berchman_backup" width="600" height="377" class="aligncenter size-full wp-image-390" /></a></p>
<p>Bert is being rather blunt. He&#8217;s allowed, because he&#8217;s right. A backup strategy can spell the difference between success and failure in your web ventures. It can turn data loss disaster into momentary inconvenience. And yet, the number of people who <strong>cannot be bothered</strong> to back up their web installations &#8211; people, mind you, who have pinned their identities, hobbies, and livelihoods to their websites &#8211;  is so high as to astonish.</p>
<h2>The brief for backing up</h2>
<p><img src="http://thesislab.net/wp-content/uploads/2010/06/backup.png" alt="Symbolic backup key" title="backup" width="250" height="187" class="alignright size-full wp-image-410" />There are many variables involved in installation and configuration &#8211; obscure server settings, potential plugin conflicts, customizations to style or function &#8211; that it&#8217;s impossible to anticipate everything that might go awry during an upgrade to a site. These are not reasons to be afraid; rather, they should prompt us to prepare. A complete backup strategy allows users to proceed with upgrades without fear.</p>
<p>There are some Thesis users who believe that dealing with unexpected results of an upgrade is as easy as switching back to a previous version of the theme. <em>This is not the case</em>, because Thesis is not your grandfather&#8217;s WordPress theme. The dynamic nature of Thesis and its relationship with the site database means that &#8216;rolling back&#8217; to a previous version can be problematic: the result can be multiple and conflicting sets of settings in the database. Customizations be confused or lost. I&#8217;ve seen it often enough, and it&#8217;s a shame: a prudent backup would have spared these folks a great deal of angst.</p>
<p>Let&#8217;s put it this way: The makers of WordPress itself advise you to backup before starting its famed and <em>usually</em> smooth automatic upgrade. Are you smarter than the makers of WordPress? With due respect, I think the answer is &#8216;probably not.&#8217;</p>
<p>No one is (or should be) more responsible for the safekeeping of your site and its content than you, the site owner. So: let&#8217;s talk about <strong>being</strong> responsible. <img src='http://thesislab.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>What to backup</h2>
<p>Many site owners believe that backing up consists solely of downloading web files to their local computer. Your site&#8217;s files are important, but they are only half the story. Think of your web installation &#8211; your WordPress files and folders, your Thesis files and folders, your various plugins and fonts and scripts &#8211; as the <em>corpus</em> of your site, its physical body. There&#8217;s much more to your website than that. There is also the database, the soul of your site: every post, every comment and link and custom field, each and every setting. Web files and database, and each are crucial. Without files, the database is a mere airy ghost, ineffectual, insubstantial. Without the database, your web files make up an inert thing at best&#8230;or at worst, a shambling, soulless creature mindlessly repeating a single word: <em>Braaains&#8230;braaains&#8230;</em></p>
<p>No backup can be considered complete unless it involves both database <em>and</em> web files.</p>
<h2>Example: How <em>ThesisLab</em> backs up</h2>
<p>This site resides on a shared hosting account at the excellent <a href="http://steadfast.net/">Steadfast Networks</a>, which provides me with a control panel called <a href="http://www.psoft.net/hsphere-overview.html">H-Sphere</a>. With this tool, I can easily initiate a backup of both my site&#8217;s web files (called a <em>domain</em> by H-Sphere) and its database. Once the backup process is complete, I download the files to my local computer. I keep the set of two files together &#8211; domain and database &#8211; for any given backup date. I back up twice a week &#8211; and <em>before any major upgrade</em> &#8211; and I retain at least three weeks&#8217; worth of backups. Additionally, I keep my backups in two different locations: on my local computer and on an online storage service (<a href="http://"><a href="http://aws.amazon.com/s3/">an Amazon S3 account</a></a>). If the need for restoring my site through backup arises, H-Sphere provides an easy </p>
<p>So: I don&#8217;t spend a lot of time worrying about upgrades, because I know I really can &#8216;roll back&#8217; to a previous state of the site at any time.</p>
<h2>Backing up with cPanel</h2>
<p>It is beyond the scope of this blog post to cover every kind of backup approach possible. However, I will spend time on backing up via the popular administration tool cPanel. </p>
<p><img src="http://thesislab.net/wp-content/uploads/2010/08/cpanel_1.png" alt="Locate Backup Wizard in cPanel" title="cpanel_1" width="379" height="450" class="aligncenter size-full wp-image-530" /></p>
<p>You start by opening the Backup Wizard, where you are given the choice of performing a backup or a restore.</p>
<p><img src="http://thesislab.net/wp-content/uploads/2010/08/cpanel_2.png" alt="Select Backup in cPanel" title="cpanel_2" width="380" height="267" class="aligncenter size-full wp-image-532" /></p>
<p>Choose Backup. You&#8217;ll then see several different kinds of backup which you can perform.</p>
<p><img src="http://thesislab.net/wp-content/uploads/2010/08/cpanel_3.png" alt="Choose the type of backup you want to perform" title="cpanel_3" width="377" height="258" class="aligncenter size-full wp-image-533" /></p>
<p><strong>Full backup</strong> (on the left) backs up all files and configurations in your site. It&#8217;s great to have if you want to move your site from one host to another (assuming that your new host also uses cPanel), but know that you cannot restore a full backup yourself. Only your webhost can restore your site using a full backup file.</p>
<p>For <em>regular backup purposes</em>, our topic of today, the following two options (on the right) are best:</p>
<p><strong>Home directory</strong>, which contains such folders as public_ftp, public_html (which contains all of your web files, including WordPress and Thesis), mail, and others. These are your site&#8217;s web files.</p>
<p><strong>MySQL databases</strong>, which is where all of your WordPress settings (including all posts, comments, categories, tags, custom fields, etc) and Thesis option panel settings are stored. This is your site&#8217;s database.</p>
<p>Clicking home directory will take you to a page where you can begin the download of your home directory to your local computer. Clicking MySQL databases will take you to a list of all your website databases. Both your home directory and your site&#8217;s database will be compressed before bring downloaded; even so, home directories can take a while to download. Do not leave your backups on your server.</p>
<h2>Other backup notes</h2>
<p>I have never backed up in the GoDaddy hosting environment. GoDaddy users should browse <a href="http://help.godaddy.com/topic/144">this collection of articles</a> on backing up their sites. It&#8217;s good advice in general to search your host&#8217;s help files or knowledgebase to learn how to use the particular tools the host makes available to its clients.</p>
<p>Some users may be interested in <a href="http://vaultpress.com/">the VaultPress backup service</a> made availavle by Automattic, makers of WordPress.</p>
<p>If your hosting account provides you with phpMyAdmin and you&#8217;re familiar with its use, backing up and restoring the database at least is <a href="http://www.siteground.com/tutorials/php-mysql/mysql_export.htm">fairly straightforward</a>. You&#8217;ll still need to find a way to back up your web files, however.</p>
<p>If your host <em>doesn&#8217;t</em> provide you with tools to back up either your web files or your database, it is well past time for you to find a new host. </p>
<h2>In conclusion</h2>
<p>I hope you away from this post not intimidated by things that can go wrong with an upgrade, but rather that you leave feeling empowered to protect the work that you&#8217;ve put into your online efforts. It&#8217;s your responsibility, after all.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/back-it-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Second beta of Thesis 1.8 available</title>
		<link>http://thesislab.net/archives/second-beta-of-thesis-1-8-available/</link>
		<comments>http://thesislab.net/archives/second-beta-of-thesis-1-8-available/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 11:12:10 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Beta Versions]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=508</guid>
		<description><![CDATA[Holders of the Developers Option for Thesis may be interested to know that Thesis 1.8 beta 2 was released last night. Per theme author Chris Pearson: What&#8217;s new in beta 2? Custom loop API, favicon uploader, security enhancements, and new fonts, including the entire Google Font Directory! The usual caveats about running beta programs on [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://thesislab.net/wp-content/uploads/2010/07/beta_version.png" alt="Greek beta symbol" title="beta_version" width="73" height="100" class="alignright size-full wp-image-489" />Holders of the Developers Option for Thesis may be interested to know that Thesis 1.8 beta 2 was released last night. Per theme author <a href="http://twitter.com/pearsonified/statuses/20201590758">Chris Pearson</a>:</p>
<blockquote><p>What&#8217;s new in beta 2? Custom loop API, favicon uploader, security enhancements, and new fonts, including the entire Google Font Directory!</p></blockquote>
<p>The usual caveats about running beta programs on production sites still hold, but that will stop neither the prepared nor the impetuous. <img src='http://thesislab.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Holders of the Personal Option who want to upgrade to the Developers Option in order to try the new beta are welcome to upgrade though <a href="http://www.shareasale.com/r.cfm?b=202506&#038;u=402536&#038;m=24570&#038;urllink=&#038;afftrack=">the ThesisLab affiliate link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/second-beta-of-thesis-1-8-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DIYthemes site and forums back online</title>
		<link>http://thesislab.net/archives/diythemes-site-and-forums-back-online/</link>
		<comments>http://thesislab.net/archives/diythemes-site-and-forums-back-online/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 14:07:44 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Thesis]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=506</guid>
		<description><![CDATA[Brief note: The DIYthemes site and support forums are up and running once again.]]></description>
			<content:encoded><![CDATA[<p></p><p>Brief note: The DIYthemes site and support forums are up and running once again.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/diythemes-site-and-forums-back-online/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Repairs underway at DIYthemes</title>
		<link>http://thesislab.net/archives/repairs-underway-at-diythemes/</link>
		<comments>http://thesislab.net/archives/repairs-underway-at-diythemes/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 15:25:21 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Thesis]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=502</guid>
		<description><![CDATA[You may have experienced problems accessing the DIYthemes site over the weekend, including the support forums; this is the result of a hack attack. Thesis architect Chris Pearson and others are working on the situation, and it&#8217;s my belief that things will be sorted in due course. I imagine that Chris will make any relevant [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>You may have experienced problems accessing the DIYthemes site over the weekend, including the support forums; this is the result of a hack attack. Thesis architect Chris Pearson and others are working on the situation, and it&#8217;s my belief that things will be sorted in due course. I imagine that Chris will make any relevant announcements via his Twitter account @pearsonified.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/repairs-underway-at-diythemes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis 1.8 beta released</title>
		<link>http://thesislab.net/archives/thesis-1-8-beta-released/</link>
		<comments>http://thesislab.net/archives/thesis-1-8-beta-released/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 02:25:25 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Beta Versions]]></category>
		<category><![CDATA[1.8]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=484</guid>
		<description><![CDATA[For Thesis users who have not kept an ear tuned to Twitter today, Chris Pearson announced there the release of the first beta version of Thesis 1.8. This release, like all beta versions of the theme, is available only to holders of the Developers Option. As an affiliate of DIYthemes, I am practically obliged to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://thesislab.net/wp-content/uploads/2010/07/beta_version.png" alt="Greek beta symbol" title="beta_version" width="73" height="100" class="alignright size-full wp-image-489" />For Thesis users who have not kept an ear tuned to Twitter today, Chris Pearson announced there the release of <strong>the first beta version of Thesis 1.8</strong>. This release, like all beta versions of the theme, is available only to holders of the Developers Option. As an affiliate of DIYthemes, I am practically obliged to mention that anyone anxious to lay hands on version 1.8b1 is encouraged to purchase the Developers Option to Thesis (or the upgrade from the Personal Option to the Dev Option) through <a href="http://thesislab.net/buy-thesis/">the Buy Thesis page</a> here. (This includes one free installation of Thesis on a self-hosted WordPress site, courtesy of ThesisLab.)</p>
<p>Note, however, that ThesisLab is still running on version 1.7 and will continue to do so until 1.8 goes gold. That&#8217;s not because of any fear that 1.8 will cause the site to explode. Rather, it&#8217;s simply common sense. The &#8216;b&#8217; in 1.8b1 stands for &#8216;beta,&#8217; and &#8216;beta&#8217; means &#8216;not yet declared stable.&#8217; Running <strong>a production site</strong> on a platform not yet determined to be stable is reckless and foolhardy, and cannot be excused by any amount of enthusiasm for something new and shiny. I am currently running 1.8b1 on a test installation. It is performing well, and the new features are appealing. Anyone who reads this and decides to give the new beta a try is welcomed to do so, as I am doing, on a test install.</p>
<p>I&#8217;ll post info on my experiences with all beta versions of 1.8 as it moves towards the final version. Once 1.8-final is released, I&#8217;ll update <a href="http://thesislab.net/installation/">the installation guide here</a> to reflect the new version.</p>
<p><strong>PS</strong> &#8211; I&#8217;ll mention just this one this improvement for now: The file <code>layout.css</code>, which many Thesis users have been editing with abandon <a href="http://thesislab.net/archives/do-not-edit-layout-css-okay/">even though they certainly shouldn&#8217;t</a>, is <strong>no longer available for editing</strong> in the Custom File Editor. Huzzah! That&#8217;s worth an upgrade all by itself. <img src='http://thesislab.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/thesis-1-8-beta-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sidestepping the Tag Page Options issue</title>
		<link>http://thesislab.net/archives/sidestepping-the-tag-page-options-issue/</link>
		<comments>http://thesislab.net/archives/sidestepping-the-tag-page-options-issue/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 19:08:53 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=442</guid>
		<description><![CDATA[Thesis 1.7 introduced the means to set title, meta, and JavaScript information for category and tag pages. This was done in the name of achieving fine-grained control over search engine optimization. As with categories, a list of all tags appears in the Thesis Page Options panel along with fields for entering your information and making [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://thesislab.net/wp-content/uploads/2010/06/tag_page_options.png" alt="Tag Page Options" title="tag_page_options" width="200" height="274" class="alignright size-full wp-image-444" />Thesis 1.7 introduced the means to set <code>title</code>, <code>meta</code>, and JavaScript information for category and tag pages. This was done in the name of achieving fine-grained control over search engine optimization. As with categories, a list of all tags appears in the Thesis Page Options panel along with fields for entering your information and making JavaScript selections. A certain amount of processing is done as Thesis accounts for your categories and tags when you save settings. For Thesis users with many, many tags &#8211; hundreds or thousands &#8211; assigned to their posts, this processing may take so long that an &#8216;unresponsive script&#8217; error message may result, and your option panel may &#8216;hang.&#8217;</p>
<p>Solutions for this situation are being investigated. Until a fix is made available, I have devised a simple workaround that will enable Thesis users to sidestep the issue by removing the Tag Page Options module from the Thesis Page Options panel. That workaround is <a href="http://diythemes.com/forums/bug-reports/29002-unresponsive-script-thesis-page-options-3.html#post143141">posted at the DIYthemes forums</a>; Thesis users, duly registered at the forums, will be able to log in following the above link and access the info. <img src='http://thesislab.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/sidestepping-the-tag-page-options-issue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Working around use_codepress error in WordPress 3.0</title>
		<link>http://thesislab.net/archives/working-around-use_codepress-error-in-wordpress-3-0/</link>
		<comments>http://thesislab.net/archives/working-around-use_codepress-error-in-wordpress-3-0/#comments</comments>
		<pubDate>Thu, 27 May 2010 16:41:35 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Custom File Editor]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=368</guid>
		<description><![CDATA[Site traffic reports indicate that some visitors to ThesisLab who use the theme&#8217;s built-in Custom File Editor have sought an answer to error messages that look something like this: Fatal error: Call to undefined function use_codepress() in /ANY_OLD_DIRECTORY/public_html/wp-content/themes/thesis_XX/lib/admin/admin.php on line XX In most cases, the answer is that your version of WordPress is too old. [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Site traffic reports indicate that some visitors to ThesisLab who use the theme&#8217;s built-in Custom File Editor have sought an answer to error messages that look something like this:</p>
<blockquote><p><strong>Fatal error: Call to undefined function use_codepress() in <code>/ANY_OLD_DIRECTORY/public_html/wp-content/themes/thesis_XX/lib/admin/admin.php</code> on line XX</strong></p></blockquote>
<p>In most cases, the answer is that your version of WordPress is too old. The Codepress function was included in WordPress as of version 2.8; an older version of WP won&#8217;t have it, and any call for it will go unanswered (as in &#8216;undefined function&#8217;). The answer then, would be to upgrade WordPress and you&#8217;d be good to go.</p>
<p><strong>However:</strong> Thesis users who are adventurous early adopters of WordPress 3.0 beta are running into the same kind of error message when they attempt to use the Custom File Editor. The reason in this instance is that the <code>use_codepress</code> function is now deprecated in WordPress 3.0, and the reason for <em>that</em> is that the 3.0 download badly needed to go on a diet. <a href="https://core.trac.wordpress.org/ticket/13307">Some things had to get the axe</a>, and CodePress was first or second on the list.</p>
<p>What does this mean? Let&#8217;s start with what it <strong>doesn&#8217;t</strong> mean: <em>It doesn&#8217;t mean that the Custom File Editor is unusable under WP 3.0.</em> The editor itself works fine. What you <strong>won&#8217;t</strong> be able to do, however, is to use syntax highlighting. There is a line in the Thesis core file <code>admin.php</code> which calls for syntax highlighting using CodePress, but since that is no longer available in WP 3.0, the call goes unanswered and the editor gets borked. </p>
<p>So until Thesis architect Chris Pearson and the DIYthemes crew devise a new approach for highlighting (and I have every confidence that they will), here&#8217;s a temporary workaround:</p>
<p> Use your FTP program and your favorite plain text editor to navigate to and open <code>admin.php</code> (the path is <code>thesis_17</code> (or <code>thesis_16</code>, if you&#8217;re using that version)<code>/lib/admin/admin.php</code>).</p>
<p>Comment out the line that calls for syntax highlighting by placing two forward slashes just before it. Example:</p>
<p><code><strong>// </strong> if (use_codepress()) add_action('admin_print_footer_scripts', 'codepress_footer_js');</code></p>
<p>The line number at the end of the error message will tell you which line to comment out in <code>admin.php</code>. If you&#8217;re running Thesis 1.7, that should be line <strike>46</strike> <strong>42</strong> (thanks, Greg); if you&#8217;re using Thesis 1.6.x, that should be line <strong>57</strong>.</p>
<div class="note_box_3">
<p>As <strong>an alternative approach</strong> for users who may be leery of editing a core Thesis file, or who just don&#8217;t seem to be &#8216;getting&#8217; the instructions above: I have prepared pre-edited versions of <code>admin.php</code> for download. These files already have the line in question commented out; all you need to do is delete your default <code>admin.php</code> (located at <code>lib/admin/admin.php</code>) and upload the pre-edited version in its place.</p>
<p>Make sure that you download <strong>the correct version of the file for your version of Thesis</strong>: </p>
<ul>
<li>Edited <a href="http://www.mediafire.com/file/gqmtnnozenm/admin.php"><code><strong>admin.php</strong></code></a> for Thesis <strong>1.6</strong></li>
<li>Edited <a href="http://www.mediafire.com/file/ngykhz2qn2z/admin.php"><code><strong>admin.php</strong></code></a> for Thesis <strong>1.7</strong></li>
</ul>
</div>
<p>This should keep you rolling until a permanent solution is released.</p>
<div class="note_box">
<p>While awaiting a true fix for the <em>use_codepress</em> situation, Thesis users in need of syntax highlighting can make use of desktop plain text editors. Several of these are free:</p>
<p><strong>Windows users</strong> may want to look at <a href="http://notepad-plus-plus.org/">Notepad++</a> or the more powerful <a href="http://www.jedit.org/">jEdit</a>. </p>
<p><strong>Mac users</strong> can avail themselves of the no-longer-supported but still available <a href="http://smultron.sourceforge.net/">Smultron</a> (which I use), the above-mentioned <a href="http://www.jedit.org/">jEdit</a> (which runs on Macs as well as Windows), or the popular <a href="http://www.barebones.com/products/textwrangler/">TextWrangler</a>.</p>
<p>Users of any of these plain text editors will need to use an FTP (file transfer protocol) program to access the file, and then use the text editor to edit the file. Folks unfamiliar with using FTP clients can benefit from the section <strong>FTP: Transportation for Your files</strong> section <a href="http://thesislab.net/pre-installation/">of this page</a>.</div>
<p><strong>Update, July 7:</strong></p>
<div class="note_box_2">
<p>The Thesis 1.7 download at the official download area has been updated with a new <code>admin.php</code> file to address this issue.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/working-around-use_codepress-error-in-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>123</slash:comments>
		</item>
		<item>
		<title>Cutline Plus 1.5</title>
		<link>http://thesislab.net/archives/cutline-plus-1-5/</link>
		<comments>http://thesislab.net/archives/cutline-plus-1-5/#comments</comments>
		<pubDate>Thu, 27 May 2010 01:28:11 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Styles]]></category>
		<category><![CDATA[Cutline Plus]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=356</guid>
		<description><![CDATA[ThesisLab &#8211; that would be me &#8211; cheerfully announces an upgrade to the Cutline Plus style for Thesis! The upgrade consists of two minor fixes and one fairly major improvement. Here&#8217;s the info on the fixes: It was reported that the banner image occasionally protruded beyond the right margin in IE. DIYthemes forum member milamber [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>ThesisLab &#8211; that would be me &#8211; cheerfully announces an upgrade to <a href="http://thesislab.net/styles/cutline-plus/">the Cutline Plus style for Thesis</a>! The upgrade consists of two minor fixes and one fairly major improvement. Here&#8217;s the info on the fixes:</p>
<ul>
<li>It was reported that the banner image occasionally protruded beyond the right margin in IE. DIYthemes forum member milamber volunteered an <code>overflow:hidden</code> addition to <code>.custom #header_img</code> that quickly fixed it.</li>
<li>DIYthemes forum member vonaras reported that navigation menu tabs for categories lacked the styling that has been assigned to pages. That was a simple oversight of mine &#8211; I had forgotten to test for categories earlier &#8211; and it has been remedied.</li>
</ul>
<p>The big news, however, concerns a change to the way that users had to manually select (in <code>custom_functions.php</code>) the right source folder for banner images when setting the number of columns for a Cutline Plus site. The change: users don&#8217;t have to do that anymore! That&#8217;s thanks to a two-step process in <code>custom_functions.php</code>:</p>
<ol>
<li>Particular CSS classes &#8211; named <code>three-columns</code>, <code>two-columns</code>, or <code>one-column</code> &#8211; are now assigned to the <code>body</code> of the site depending on the number of columns chosen for the layout. </li>
<li>Based on the body class in use, a function automatically calls banner images from the appropriate source folder: <code>headers3_col</code>, <code>headers2_col</code>, or <code>header1_col</code>.</li>
</ol>
<p>I&#8217;m very happy to provide this enhancement for users. Anyone who has downloaded Cutline Plus in the past is invited to <a href="http://thesislab.net/styles/cutline-plus/">upgrade immediately</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/cutline-plus-1-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do not edit layout.css, okay?</title>
		<link>http://thesislab.net/archives/do-not-edit-layout-css-okay/</link>
		<comments>http://thesislab.net/archives/do-not-edit-layout-css-okay/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 21:13:54 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[1.6]]></category>
		<category><![CDATA[1.7]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=267</guid>
		<description><![CDATA[I have noted the rising incidence of reports that go something like this: I edited layout.css to add customizations to my Thesis site, but after saving settings in the options panels, everything reverted to default! I&#8217;ve tried this [X number of] times and the same thing happens. &#8216;Sup with that? Is this some kind of [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I have noted the rising incidence of reports that go something like this:</p>
<blockquote><p>I edited <code>layout.css</code> to add customizations to my Thesis site, but after saving settings in the options panels, everything reverted to default! I&#8217;ve tried this [<em>X number of</em>] times and the same thing happens. &#8216;Sup with that? Is this some kind of bug?</p></blockquote>
<p><strong>First, the answer:</strong> No, this is not a bug. Rather, this is a consequence of the way that <code>layout.css</code> works in Thesis. The content of this file is a reflection of database settings made via the Design Options panel. Settings flow <em>from</em> the options panels-slash-database <em>to</em> <code>layout.css</code>, <strong>not</strong> the other way around. Any manual edits made to <code>layout.css</code> will be overwritten the very next time you click the big green save button in Design Options.</p>
<p>Fun/stupid <code>layout.css</code> trick: Access that file via FTP. Open it in a plain text editor. Delete all of its content. Save the file. Visit your WordPress admin and go to Design Options. Click the green save button. Use your FTP program to go back to <code>layout.css</code> and open it with your text editor and &#8211; <em>hey presto!</em> &#8211; all of the file&#8217;s content is back. This is, again, because (say it with me): </p>
<blockquote><p>Settings flow <em>from</em> the options panels-slash-database <em>to</em> <code>layout.css</code>, <strong>not</strong> the other way around. </p></blockquote>
<p>This is why custom style rules should instead be placed in <code>custom.css</code>, which by design does not get overwritten. <img src='http://thesislab.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Now, the context:</strong> I believe that the rising incidence of users trying to directly edit <code>layout.css</code> is a result of that file having been moved into the <code>custom</code> folder (as of version 1.6). The file now shows up in the Custom File Editor, and so people, well, quite naturally try to edit it. </p>
<p>As I said above, however, they should definitely not. <img src='http://thesislab.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/do-not-edit-layout-css-okay/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Headline news: A quick intro to 1.7&#8242;s new headline filter</title>
		<link>http://thesislab.net/archives/headline-news-a-quick-intro-to-1-7s-new-headline-filter/</link>
		<comments>http://thesislab.net/archives/headline-news-a-quick-intro-to-1-7s-new-headline-filter/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 01:50:31 +0000</pubDate>
		<dc:creator>Philip Barron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[1.7]]></category>

		<guid isPermaLink="false">http://thesislab.net/?p=219</guid>
		<description><![CDATA[Over the past couple of weeks, a number of people asked me about a reported new feature in Thesis 1.7, the headline filter, which would allow users to get rid of headlines without resorting to untidy methods like display:none. Where was this filter? How to use it? All I could do in response was smile [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Over the past couple of weeks, a number of people asked me about a reported new feature in Thesis 1.7, the <strong>headline filter</strong>, which would allow users to get rid of headlines without resorting to untidy methods like <code>display:none</code>. Where was this filter? How to use it? All I could do in response was smile and wave. <img src='http://thesislab.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Since then, however, I&#8217;ve had a chance to snoop around inside 1.7, and to see (in a DIYthemes forum post by moderator Girlie) an example of implementation of this filter, the full name of which is <code><strong>thesis_show_headline_area</strong></code>. It is called in <code>thesis_headline_area</code>, which you can find if you go looking through your <code>thesis_17/lib/functions/content.php</code>. The filter is a binary proposition; you&#8217;re either shown the entry&#8217;s headline (<code>true</code>, which is the default state) or you&#8217;re not (<code>false</code>, which is the value you must use in the function to make your headline vanish). </p>
<p>Let&#8217;s take a look at that example of a function making use of this filter. The function is whimsically titled <code>pwn_headline</code>. The function says that if the post is in the category &#8216;asides&#8217; (a popular term for posts that, because of brevity or topic, may not warrant a headline), it will return a value of <code>false</code> &#8211; which means that the headline will not show.</p>
<p><code>function pwn_headline() {<br />
    if (in_category('asides'))<br />
        return false;<br />
    else<br />
        return true;<br />
}<br />
add_filter('<strong>thesis_show_headline_area</strong>', 'pwn_headline');</code> </p>
<p>If you&#8217;ve worked with functions before, you&#8217;ll recognize <code>in_category</code> as being an example of a <a href="http://codex.wordpress.org/Conditional_Tags">conditional tag</a> (as in, the post is in a certain category). Using different conditional tags, you can apply the headline filter in a variety of situations: to posts in other categories or tags, to content on specific pages or on <strong>all</strong> pages, any circumstance than can be expressed in a conditional. I&#8217;m sure that smart folks will find many ways to expand on use of this filter.</p>
<p><strong>Note 1:</strong> If you would like to filter out headlines for more than one category, you&#8217;ll want to use an <strong>array</strong> in your function. Here&#8217;s a variation on the above example which shows an array of categories in action:</p>
<p><code>function pwn_headline() {<br />
    if (in_category( <strong>array</strong>('asides','twittered','shared') ))<br />
        return false;<br />
    else<br />
        return true;<br />
}<br />
add_filter('thesis_show_headline_area', 'pwn_headline');</code> </p>
<p>The same general arrangement applies for filtering out headlines for more than one <strong>static page</strong>; again, you&#8217;ll want to use an array as below:</p>
<p><code>function headless() {<br />
    if (is_page(<strong>array</strong>(42,'about-me','About Me And Joe') ))<br />
        return false;<br />
    else<br />
        return true;<br />
}<br />
add_filter('thesis_show_headline_area', 'headless');</code></p>
<p>In the page array example above, you can see that you should be able to use the ID number of the page, page slug, or the actual page title.  (<a href="http://thesislab.net/archives/headline-news-a-quick-intro-to-1-7s-new-headline-filter/#comment-650">Thanks to AJ for suggesting</a> I add the page array example.)</p>
<p><strong>Note 2:</strong> As indicated by the name of the filter &#8211; <code>thesis_show_headline_area</code> &#8211; more than just the headline is affected by changes caused through the filter. The <code>headline_area</code> also contains the <code>headline_meta</code>: byline information which may contain the author&#8217;s name, the date of the entry&#8217;s publication, the number of comments on the post, as well as the entry&#8217;s category and tag. Using the headline filter to get rid of an entry&#8217;s headline will also wish the rest of that information into the cornfield. Here is an example, On my personal blog, I <a href="http://recursiveloop.net/archives/chinese-wall/">avoid losing that byline information</a> when the headline is filtered out because I had previously moved the byline out of <code>headline_area </code>altogether, based on <a href="http://diythemes.com/answers/customize-post-byline/#after_post">the technique laid out in the DIYthemes Answers blog</a>.<br />
<span id="more-219"></span></p>
<h2>Addendum: Step-by-step</h2>
<p>For anyone still out at sea on the headline filter, here&#8217;s a very basic walkthrough.</p>
<p>First, name the function. It can have any name that has meaning to you. You will need to repeat it exactly in the last line of your code.</p>
<p><code>function name_of_function() {</code></p>
<p>Choose the conditional tag that defines the condition under which you want the headline to not appear. For example, if you want the headline to not appear on your About page, you will use the tag below, and you will list the name of the page.</p>
<p><code>if (is_page('About'))</code></p>
<p>The next section says that for the condition you just defined, the headline will not appear. It also says that under conditions <em>other</em> than the one you just defined, the headline <em>will</em> appear.</p>
<p><code>return false;<br />
else<br />
return true;<br />
}</code></p>
<p>Finally, the <code>add_filter</code> statement will show which filter is used (the full name of the headline filter, which is <code>thesis_show_headline_area</code>) and which function applies to it (the name of your function, from the first line).</p>
<p><code>add_filter('thesis_show_headline_area', 'name_of_function');</code></p>
<p>So all together, this would be the function to add to <code>custom_functions.php</code> to eliminate the headline on your About page:</p>
<p><code>function name_of_function() {<br />
if (is_page('About'))<br />
return false;<br />
else<br />
return true;<br />
}<br />
add_filter('thesis_show_headline_area', 'name_of_function');</code></p>
]]></content:encoded>
			<wfw:commentRss>http://thesislab.net/archives/headline-news-a-quick-intro-to-1-7s-new-headline-filter/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
