<?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>Matthew Campagna</title>
	<atom:link href="http://blog.matthewcampagna.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.matthewcampagna.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 29 Jan 2010 06:15:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>So Say We All</title>
		<link>http://blog.matthewcampagna.com/2010/01/so-say-we-all/</link>
		<comments>http://blog.matthewcampagna.com/2010/01/so-say-we-all/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 06:10:06 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=220</guid>
		<description><![CDATA[<img src="http://blog.matthewcampagna.com/wp-content/uploads/TeamEdward-432x550.jpg" alt="" title="TeamEdward" width="432" height="550" class="size-large wp-image-223" />]]></description>
			<content:encoded><![CDATA[<p></p><div id="attachment_223" class="wp-caption aligncenter" style="width: 432px">
	<a href="http://blog.matthewcampagna.com/2010/01/so-say-we-all/teamedward/" rel="attachment wp-att-223"><img src="http://blog.matthewcampagna.com/wp-content/uploads/TeamEdward-432x550.jpg" alt="" title="TeamEdward" width="432" height="550" class="size-large wp-image-223" /></a>
	<p class="wp-caption-text">You wish you had an Edward James Olmos t-shirt. Oh yes, you do. So say we all.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2010/01/so-say-we-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis 1.6 Widgitized Footer + Copyright Notice</title>
		<link>http://blog.matthewcampagna.com/2009/12/thesis-1-6-widgitized-footer-copyright-notice/</link>
		<comments>http://blog.matthewcampagna.com/2009/12/thesis-1-6-widgitized-footer-copyright-notice/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 18:30:38 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=181</guid>
		<description><![CDATA[I was just beginning to wonder how on earth I was going to pull of a widgitized footer with my limited PHP skills, and then I found a three-column widgitized footer framework already complete at Fergusweb Nework. Sweet! Thank you, Fergusweb Network! Here&#8217;s their code for the custom_functions.php file:
/*
 *	custom_functions.php
 *	To provide a custom three-column [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I was just beginning to wonder how on earth I was going to pull of a widgitized footer with my limited PHP skills, and then I found a three-column widgitized footer framework already complete at <a href="http://www.fergusweb.net/code/custom-three-column-widget-ready-footer-for-thesis/">Fergusweb Nework</a>. Sweet! Thank you, Fergusweb Network! Here&#8217;s their code for the <code>custom_functions.php</code> file:</p>
<pre>/*
 *	custom_functions.php
 *	To provide a custom three-column widget-ready footer to your Thesis theme.
 */
// Remove the existing Thesis links from the footer
remove_action('thesis_hook_footer', 'thesis_attribution');

remove_action('thesis_hook_footer', 'thesis_admin_link');
// Add three columns for our Footer widgets
add_action('thesis_hook_footer', 'customFooter');
function customFooter() {
	?&gt;
&lt;div class="col Footer1"&gt;
	&lt;ul class="sidebar_list"&gt;
&lt;?php	if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer1') ){	?&gt;
		&lt;li class="widget"&gt;
			&lt;div class="widget_box"&gt;
				&lt;h3&gt;&lt;?php _e('Footer Widget 1', 'thesis'); ?&gt;&lt;/h3&gt;
				&lt;p&gt;You can edit the content that appears here by visiting your Widgets panel and
modifying the &lt;em&gt;current widgets&lt;/em&gt; there.&lt;/p&gt;
			&lt;/div&gt;
		&lt;/li&gt;
&lt;?php	}	?&gt;
	&lt;/ul&gt;
&lt;/div&gt;
&lt;div class="col Footer2"&gt;
	&lt;ul class="sidebar_list"&gt;
&lt;?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer2') ) { ?&gt;
		&lt;li class="widget"&gt;
			&lt;div class="widget_box"&gt;
				&lt;h3&gt;&lt;?php _e('Footer Widget 2', 'thesis'); ?&gt;&lt;/h3&gt;
				&lt;p&gt;You can edit the content that appears here by visiting your Widgets panel and
modifying the &lt;em&gt;current widgets&lt;/em&gt; there.&lt;/p&gt;
			&lt;/div&gt;
		&lt;/li&gt;
&lt;?php	}	?&gt;
	&lt;/ul&gt;
&lt;/div&gt;
&lt;div class="col Footer3"&gt;
	&lt;ul class="sidebar_list"&gt;
&lt;?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer3') ) { ?&gt;
		&lt;li class="widget"&gt;
			&lt;div class="widget_box"&gt;
				&lt;h3&gt;&lt;?php _e('Footer Widget 3', 'thesis'); ?&gt;&lt;/h3&gt;
				&lt;p&gt;You can edit the content that appears here by visiting your Widgets panel and
modifying the &lt;em&gt;current widgets&lt;/em&gt; there.&lt;/p&gt;
			&lt;/div&gt;
		&lt;/li&gt;
&lt;?php	}	?&gt;
	&lt;/ul&gt;
&lt;/div&gt;
&lt;div class="cb"&gt;&lt;/div&gt;
	&lt;?php
}
// Register our three new columns as "Sidebars" so they can take widgets
register_sidebar(array('name'=&gt;'Footer1', 'before_title'=&gt;'&lt;h3&gt;', 'after_title'=&gt;'&lt;/h3&gt;'));

register_sidebar(array('name'=&gt;'Footer2', 'before_title'=&gt;'&lt;h3&gt;', 'after_title'=&gt;'&lt;/h3&gt;'));

register_sidebar(array('name'=&gt;'Footer3', 'before_title'=&gt;'&lt;h3&gt;', 'after_title'=&gt;'&lt;/h3&gt;'));
</pre>
<p>With this code installed, you can dig into WordPress&#8217; Widgets dashboard to drag things into your footer. You can get new widgets by installing additional plugins, or create your own widgets using the <a href="http://wordpress.org/extend/plugins/wp-custom-widget/">WP Custom Widget plugin</a>. This makes it dead simple to put anything you want down there without having to edit your site code.</p>
<p>Fergusweb has also written <a href="http://www.fergusweb.net/coding/thesis-tutorial-creating-new-widget-areas/">a brief tutorial on how to create other widgitized areas</a>. That&#8217;s the very stuff of excellence.</p>
<p>Now all that&#8217;s needed is some styling to make it all look nice. Without styling, the above code gives us three rows of widget areas, but I want to make that into three columns. Adding this to your <code>custom.css</code> file will give the footer some layout:</p>
<pre>
.custom #footer_area .col {
	width: 32.1%;
	padding: 0 0.6%;
	float: left;
	}

.custom #footer_area .cb {
	clear: both;
	}
</pre>
<p>Layout set, I can begin styling the appearance. If, for example, I wanted my footer to match my nav, I could add this:</p>
<pre>
.custom #footer_area {
	background-color: #000;
	border-top: 1px solid #f00;
	}

.custom #footer_area .page {
	background-color: transparent;
	}
</pre>
<p>From there, the usual styling of text, headers and hyperlinks should be in order.</p>
<p>To add a copyright notice, go back to the footer code we&#8217;ve just inserted into the <code>custom_functions.php</code> file. Towards the bottom of the code, locate this bit:</p>
<pre>
&lt;div class="cb"&gt;&lt;/div&gt;
	&lt;?php
}
</pre>
<p>Replace it with this:</p>
<pre>
&lt;div class="cb"&gt;&lt;/div&gt;
	&lt;?php
echo '
&lt;div id="copyright"&gt;
&lt;p&gt;Copyright &amp;copy; 2009&ndash;' . date('Y') . ' NAME. All rights reserved.&lt;/p&gt;
&lt;/div&gt;';
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2009/12/thesis-1-6-widgitized-footer-copyright-notice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis 1.6 Header Customization, Part 2</title>
		<link>http://blog.matthewcampagna.com/2009/12/thesis-1-6-header-customization-part-2/</link>
		<comments>http://blog.matthewcampagna.com/2009/12/thesis-1-6-header-customization-part-2/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 00:51:20 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=155</guid>
		<description><![CDATA[In Thesis 1.6 Header Customization, Part 1, I rewrote the code for the header in an effort to improve SEO for the site, and to make the header more stylable going forward. In this article, I will cover how to style your header in various ways using images. Our core code is already set in [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>In <a href="http://blog.matthewcampagna.com/2009/12/thesis-1-6-header-customization-part-1/">Thesis 1.6 Header Customization, Part 1</a>, I rewrote the code for the header in an effort to improve SEO for the site, and to make the header more stylable going forward. In this article, I will cover how to style your header in various ways using images. Our core code is already set in place, so for this article we will be dealing only with the <code>custom.css</code> file. These techniques assume you have been following along with previous articles and are using the Full-width HTML Framework.</p>
<p>We have a number of options in applying images to our new header. I will cover them all in this post, though I will not necessarily use all in my end design. We can insert images for various effects to the following elements:</p>
<ul>
<li><code>body.custom</code> &#8211; the entire page background</li>
<li><code>#header_area</code> &#8211; the header element spanning the entire width of the page</li>
<li><code>#header_area .page</code> &#8211; the header element spanning only the limited width of our content</li>
<li><code>h1</code> &#8211; the logo only</li>
</ul>
<p>Each of these techniques may be mixed and matched, ultimately allowing you a great deal of control over your page design using only a small amount of CSS. I will discuss each of these separately, one piece at a time, leaving it to you to put those pieces together in your design.</p>
<p>For this demonstration, I&#8217;ve chosen a hideous background image from <a href="http://www.squidfingers.com/patterns/">Squidfingers</a> only because it&#8217;s free and easy to see in screen captures.</p>
<p>Hitting <code>body.custom</code> first, we can apply a background image to our entire site using the following CSS:</p>
<pre>body.custom {
background-image: url(background_image.jpg);
background-repeat: repeat;
}</pre>
<p>You will, of course, need to specify the correct URL to your background image. This will give you something like this:</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/bg_body.jpg"><img class="aligncenter size-full wp-image-158" title="bg_body" src="http://blog.matthewcampagna.com/wp-content/uploads/bg_body.jpg" alt="" width="475" height="312" /></a></p>
<p>Next, applying a background image to the <code>#header_area</code> element will give us a full-width background only for our header. Add this CSS to your <code>custom.css</code> file:</p>
<pre>.custom #header_area {
background-image: url(background_image.jpg);
background-repeat: repeat;
}
.custom #header_area .page {
background-color: transparent;
}</pre>
<p>Here, we must tell the <code>#header_area .page</code> to have a transparent background, otherwise it will cover the background graphic we&#8217;ve applied to the <code>#header_area</code> element. With this code, we add a background image such as the green background shown here:</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/bg_header_area.jpg"><img class="aligncenter size-full wp-image-159" title="bg_header_area" src="http://blog.matthewcampagna.com/wp-content/uploads/bg_header_area.jpg" alt="" width="475" height="312" /></a></p>
<p>Rather than making the <code>#header_area .page</code> element transparent, as above, we can instead add a background image by writing our code this way:</p>
<pre>.custom #header_area .page {
background-image: url(background_image.jpg);
background-repeat: repeat;
}</pre>
<p>This causes the background image to be limited to the width of our page content, as shown by the blue header background in this image:</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/bg_header_area_page.jpg"><img class="aligncenter size-full wp-image-162" title="bg_header_area_page" src="http://blog.matthewcampagna.com/wp-content/uploads/bg_header_area_page.jpg" alt="" width="475" height="312" /></a></p>
<p>For the final example, we will replace the default textual logo with a graphical logo. Rather than throwing yet another image onto the heap of patterned ugliness I&#8217;ve been building throughout the article, I&#8217;m going to remove the other backgrounds and take the page back to a blank white. Of course, you can use a graphical logo on top of any of the previously discussed background techniques; no worries there. I think it will just be easier to see the screen capture if I do away with all that.</p>
<p>Our textual logo is clickable and can be used to return to the front page of the blog; this behavior we will preserve with our graphical logo. Here&#8217;s the code:</p>
<pre>.custom #header {
	margin: 0;
	padding: 0;
	}

.custom #header h1, .custom #header h1 a {
	margin: 0;
	padding: 0;
	height: 150px;	/* should be equal to the height of your logo image */
	background-image: url(logo.png);
	background-repeat: no-repeat;
	background-position: left top;
	}

.custom #header h1 a {
	display: block;
	}

.custom #header h1 a span, .custom #header h2 {
	display: none;
	}
</pre>
<p>This yields a left-aligned, hyperlinked logo image within the limited-width span of the page content. Here&#8217;s an image:</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/bg_logo_01.jpg"><img class="aligncenter size-full wp-image-173" title="bg_logo_01" src="http://blog.matthewcampagna.com/wp-content/uploads/bg_logo_01.jpg" alt="" width="475" height="312" /></a></p>
<p>As an alternative, let&#8217;s try a full-width, center-aligned header:</p>
<pre>.custom #header_area .page {
	width: 100%;
	}

.custom #header {
	margin: 0;
	padding: 0;
	}

.custom #header h1, .custom #header h1 a {
	margin: 0;
	padding: 0;
	height: 250px;	/* should be equal to the height of your logo image */
	background-image: url(logo.png);
	background-repeat: no-repeat;
	background-position: center center;
	}

.custom #header h1 a {
	display: block;
	}

.custom #header h1 a span, .custom #header h2 {
	display: none;
	}
</pre>
<p>In this example, we must increase the width of the <code>#header_area .page</code> element, allowing the <code>h1</code> element to expand into that space as well. When increasing the width of the <code>#header_area .page</code> element, you might want to delve into Thesis&#8217; Design Options &gt; Fonts, Colors, and More! &gt; Body (and Content Area) options to disable &#8220;Show interior layout borders&#8221;. The result might look something like this:</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/bg_logo02.jpg"><img class="aligncenter size-full wp-image-176" title="bg_logo02" src="http://blog.matthewcampagna.com/wp-content/uploads/bg_logo02.jpg" alt="" width="475" height="312" /></a></p>
<p>And there you have it, a plethora of ways to add images to your site and header backgrounds and logo, based on the very simple code we built into our header in the previous two articles.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2009/12/thesis-1-6-header-customization-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis 1.6 Header Customization, Part 1</title>
		<link>http://blog.matthewcampagna.com/2009/12/thesis-1-6-header-customization-part-1/</link>
		<comments>http://blog.matthewcampagna.com/2009/12/thesis-1-6-header-customization-part-1/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:49:29 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=143</guid>
		<description><![CDATA[Previously, I separated the site nav from the header. That leaves the header to be dealt with. First, let&#8217;s look at what Thesis does with the header by default:
&#60;div id="header_area" class="full_width"&#62;
&#60;div class="page"&#62;
	&#60;div id="header"&#62;
		&#60;p id="logo"&#62;&#60;a href="http://blog.matthewcampagna.com"&#62;Matthew Campagna&#60;/a&#62;&#60;/p&#62;
		&#60;h1 id="tagline"&#62;Just another WordPress weblog&#60;/h1&#62;
	&#60;/div&#62;
&#60;/div&#62;
&#60;/div&#62;
Thesis claims to be coded with SEO at the fore of concerns, but I find myself [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Previously, <a href="http://blog.matthewcampagna.com/2009/12/thesis-1-6-nav-customization/">I separated the site nav from the header</a>. That leaves the header to be dealt with. First, let&#8217;s look at what Thesis does with the header by default:</p>
<pre>&lt;div id="header_area" class="full_width"&gt;
&lt;div class="page"&gt;
	&lt;div id="header"&gt;
		&lt;p id="logo"&gt;&lt;a href="http://blog.matthewcampagna.com"&gt;Matthew Campagna&lt;/a&gt;&lt;/p&gt;
		&lt;h1 id="tagline"&gt;Just another WordPress weblog&lt;/h1&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>
<p>Thesis claims to be coded with SEO at the fore of concerns, but I find myself unable to reconcile that claim with the above code. Don&#8217;t get me wrong; so far, I think Thesis is pretty brilliant. But according to my understanding of SEO, header tags weigh heavily into the hierarchy of importance on a page, and no header tag weighs more heavily than H1. In the above code, the blog title is contained within a P tag &#8212; fairly unimportant to SEO &#8212; while the tagline, &#8220;Just another WordPress weblog&#8221;, receives the star treatment.</p>
<p>With this in mind, my goals become two-fold. First, I need to rearrange the code such that my blog title is contained within the H1 tag and therefore receives higher consideration than my tagline by search engines; I will probably contain my tagline within H2 tags instead. Secondly, I wish to setup my header such that it will be easy to replace the text with an image at a later time, should I choose to do so.</p>
<p>To achieve the first goal, changes need be made to the <em>custom_functions.php</em> file. As documented, we know that <strong>thesis_hook_header</strong> is the hook that determines the content of <code>div#header</code>, and that&#8217;s all we&#8217;re going to replace. Add this to the <em>custom_functions.php</em> file, straightening quote as necessary:</p>
<p><code> </code></p>
<pre>//custom header
remove_action('thesis_hook_header', 'thesis_default_header');
function custom_header() { ?&gt;
		&lt;h1 id="logo"&gt;&lt;a href="&lt;?php echo get_option('home'); ?&gt;/"&gt;&lt;span&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;
		&lt;h2 id="tagline"&gt;&lt;span&gt;&lt;?php bloginfo('description'); ?&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;?php }
add_action('thesis_hook_header', 'custom_header');</pre>
<p>This custom code is so unobtrusive that you likely won&#8217;t see any change at all when you reload the page. By applying the same id selectors that Thesis already uses, styling remains within Thesis&#8217; parameters. The hierarchy of importance for our title and tagline has been redefined, however, weighing SEO more heavily on our blog title, and the code is setup such that we can easily disappear the text, visually replacing it with images via CSS while keeping the text visible to search engines in the underlying code, again in the better interests of SEO.</p>
<p>Whether you intend to perform an image replacement or not, I reckon this is a better architecture for your header. In Part 2, I will go into image replacement.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2009/12/thesis-1-6-header-customization-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis 1.6 Nav Customization</title>
		<link>http://blog.matthewcampagna.com/2009/12/thesis-1-6-nav-customization/</link>
		<comments>http://blog.matthewcampagna.com/2009/12/thesis-1-6-nav-customization/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 19:21:47 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=108</guid>
		<description><![CDATA[Next on my to-do list is the site navigation. As I&#8217;m still coming to grips with the inner workings of Thesis, I&#8217;m beginning with code and instruction from Kristarella&#8217;s Thesis Full-width Headers 101 post. Unfortunately, this article seems to have been written with older versions of Thesis in mind and doesn&#8217;t treat the drop-down menus [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Next on my to-do list is the site navigation. As I&#8217;m still coming to grips with the inner workings of Thesis, I&#8217;m beginning with code and instruction from <a href="http://www.kristarella.com/2008/11/thesis-full-width-headers/">Kristarella&#8217;s Thesis Full-width Headers 101</a> post. Unfortunately, this article seems to have been written with older versions of Thesis in mind and doesn&#8217;t treat the drop-down menus very nicely, and so I find myself needing to run in new directions with the ideas.</p>
<p>First problem, the header and the nav are contained within the same #header_area element, which makes it difficult to style them separately. This code will rip the nav out of the header and recreate it in a new element of its own, #menu_area:</p>
<p><code>//separate nav from header<br />
remove_action('thesis_hook_before_header', 'thesis_nav_menu');<br />
function full_width_header() { ?&gt;<br />
&lt;div id="menu_area" class="full_width"&gt;<br />
&lt;div class="page"&gt;<br />
&lt;?php thesis_nav_menu(); ?&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;?php }<br />
add_action('thesis_hook_before_html', 'full_width_header');</code></p>
<p>Visually, the design remains the same. But if you investigate the elements by viewing the source code or a plugin such as <a href="http://getfirebug.com/">Firebug</a>, you will find they now exist separately in their new elements.</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/thesis_thesis_options.png"><img class="alignleft size-full wp-image-70" title="thesis_thesis_options" src="http://blog.matthewcampagna.com/wp-content/uploads/thesis_thesis_options.png" alt="" width="145" height="97" /></a>A brief detour into Thesis Options, accessing the Navigation Menu &gt; Feed Link in Nav Menu and I am disabling &#8220;Show feed link in nav menu&#8221; as I intend later to place my feed elsewhere.</p>
<p>Also hit Framework Options &gt; Outer Page Padding, and I&#8217;m setting this to 0.0.</p>
<p>And now a dash of style. I&#8217;m going to be writing some of my own CSS in the <em>custom.css</em> file, and leaving the rest to the Thesis interface in the interest of keeping my own additions as light as possible or, in some cases, as light as practical. Tackling the nav first, and leaving the header alone. This code overrides Thesis&#8217; border controls in the interest of necessity, but leaves text and background colors configurable from within Thesis&#8217; Design Options.</p>
<p>Add this to your <em>custom.css</em> file.</p>
<p><code>.custom a {<br />
outline: none;<br />
}</code></p>
<p><code>.custom #menu_area {<br />
border-width: 0 0 1px;<br />
border-style: solid;<br />
}</code></p>
<p><code>.custom #menu_area .page {<br />
background-color: transparent;<br />
}</code></p>
<p><code>.custom .menu {<br />
border: 0;<br />
}</code></p>
<p><code>.custom .menu a {<br />
padding:  1em 2em;<br />
border-width: 0 0 1px 0;<br />
}</code></p>
<p><code>.custom .menu .submenu a {<br />
padding: 0.636em 0.818em;<br />
border-width: 1px;<br />
}</code></p>
<p><code>.custom #menu_area, .custom .menu {<br />
background-color: #000;<br />
}</code></p>
<p><code>.custom #menu_area, .custom .menu a, .custom .menu .submenu a {<br />
border-color: #f00;<br />
}</code></p>
<p>The CSS above separates padding for the main nav bar and sub-nav drop-downs so that the bars can be set to different sizes; adjust the two padding attributes above to taste. Background and border colors for the menu can be set using the two color attributes at the tail end of the code. Other colors should be set from within Thesis&#8217; Design Options for &#8220;Nav Menu&#8221;. That keeps things simple, and I think makes for a very attractive menu with a minimal amount of code. And what we end up with is this:</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/menushot.jpg"><img class="aligncenter size-full wp-image-135" title="menushot" src="http://blog.matthewcampagna.com/wp-content/uploads/menushot.jpg" alt="" width="475" height="276" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2009/12/thesis-1-6-nav-customization/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Feature Box Setup</title>
		<link>http://blog.matthewcampagna.com/2009/12/feature-box-setup/</link>
		<comments>http://blog.matthewcampagna.com/2009/12/feature-box-setup/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 02:30:43 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=85</guid>
		<description><![CDATA[Optional in Thesis is the Feature Box, which allows you to create a box in your layout for featured content. In reality, however, it just gives you an empty box to be filled as you please. I have decided to fill this box using the Dynamic Content Gallery plugin for Wordpress, which I will use [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Optional in Thesis is the Feature Box, which allows you to create a box in your layout for featured content. In reality, however, it just gives you an empty box to be filled as you please. I have decided to fill this box using the <a href="http://wordpress.org/extend/plugins/dynamic-content-gallery-plugin/">Dynamic Content Gallery</a> plugin for Wordpress, which I will use to display featured content of my choosing. My reason for choosing the Dynamic Content Gallery over the pretty <a href="http://www.featuredcontentgallery.com/">Feature Content Gallery</a> is all to do with the underlying Javascript libraries. The Featured Content Gallery utilizes <a href="http://smoothgallery.jondesign.net/">SmoothGallery</a> and <a href="http://mootools.net/">Mootools</a>, while the Dynamic Content Gallery gives you the choice of utilizing either SmoothGallery (with Mootools) or <a href="http://spaceforaname.com/galleryview">GalleryView</a> (with <a href="http://jquery.com/">JQuery</a>). Investigating the source code of my Thesis-powered blog revealed Thesis already to be using JQuery, and so JQuery is the obvious way to go here, as mixing libraries &#8212; in this case, Mootools and JQuery &#8212; is usually a recipe for bad news.</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/thesis_design_options.png"><img class="alignleft size-full wp-image-66" title="thesis_design_options" src="http://blog.matthewcampagna.com/wp-content/uploads/thesis_design_options.png" alt="" width="145" height="97" /></a>Our first stop is Thesis&#8217; Design Options, where we will drop the Feature Box controls. For now, I am choosing for Placement &#8220;Full-width above content and sidebars&#8221;. I am also choosing to show feature box on homepage only. Save your changes.</p>
<p>At this point, viewing your page shows that not much as changed. Your design should have been bumped a pixel, maybe a few. This is because the Feature Box is empty. We&#8217;ll soon do something about that. If you haven&#8217;t already done so, download, install and activate the <a href="http://wordpress.org/extend/plugins/dynamic-content-gallery-plugin/">Dynamic Content Gallery</a>.</p>
<p>Accessing the Wordpress Settings menu, you will now find a new item for Dynamic Content Gallery. Access this area, then scroll way down through the many options to locate option box &#8220;5. Select Javascript framework (OPTIONAL)&#8221;. Tick the radio button for JQuery and Save Options (actually, the Mootools version seems to work just fine as well, though no telling whether it will cause future conflicts with other JQuery plugins and scripts).</p>
<p>The Feature Box is now on, as is the Dynamic Content Gallery (hereafter, &#8220;the gallery&#8221;). We now must place the gallery into the feature box. To do this, we must utilize Thesis&#8217; hooks.</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/thesis_custom_file_editor.png"><img class="alignleft size-full wp-image-88" title="thesis_custom_file_editor" src="http://blog.matthewcampagna.com/wp-content/uploads/thesis_custom_file_editor.png" alt="" width="145" height="97" /></a>Access the Custom File Editor in the Thesis Options, or just load up the custom_functions.php file in your favorite editor via FTP.</p>
<p>Paste the following code into your <code>custom_functions.php</code> file, straightening quotes as necessary:</p>
<p><code> </code></p>
<pre>//featured content with dynamic content gallery plugin
function featured_content() {
if( function_exists( 'dynamic_content_gallery' ) ) :
dynamic_content_gallery();
endif;
}
add_action('thesis_hook_feature_box', 'featured_content');</pre>
<p>Or, you can simply add this instead, as <a href="#comment-9">Ade explains in the comments below</a>:</p>
<p><code> </code></p>
<pre>add_action('thesis_hook_feature_box', 'dynamic_content_gallery');</pre>
<p>Regardless of your choice above, paste this code into your <code>custom.css</code> file:</p>
<p><code> </code></p>
<pre>.custom #feature_box {
padding-right: 0;
padding-left: 0;
}</pre>
<p>Now all that remains is to populate your new Feature Box with content according to the instructions included with Dynamic Content Gallery. When adding a post to the feature box, you will need to create two custom fields: <strong>dfcg-image</strong>, used to specify the image to display in the gallery, and <strong>dfcg-desc</strong>, used to specify the description text to be used in the gallery. You can also specify pages to roll in the gallery, which I think is particularly cool.<strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2009/12/feature-box-setup/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Setting up Thesis post teasers</title>
		<link>http://blog.matthewcampagna.com/2009/12/setting-up-thesis-post-teasers/</link>
		<comments>http://blog.matthewcampagna.com/2009/12/setting-up-thesis-post-teasers/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 23:06:30 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=69</guid>
		<description><![CDATA[By default, Thesis is showing my latest few entries in their entirety on my front page. A matter of personal preference, but I would prefer this were not the case. And so I&#8217;m off to setup my front page to display only teasers of these posts.
Go Thesis Options &#62; Thesis Options &#62; Display Options &#62; [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://blog.matthewcampagna.com/wp-content/uploads/thesis_thesis_options.png"><img class="alignleft size-full wp-image-70" title="thesis_thesis_options" src="http://blog.matthewcampagna.com/wp-content/uploads/thesis_thesis_options.png" alt="" width="145" height="97" /></a>By default, Thesis is showing my latest few entries in their entirety on my front page. A matter of personal preference, but I would prefer this were not the case. And so I&#8217;m off to setup my front page to display only teasers of these posts.</p>
<p>Go Thesis Options &gt; Thesis Options &gt; Display Options &gt; Posts and tick the radio button for &#8220;Display post excerpts&#8221;.</p>
<p>While I&#8217;m here, I&#8217;m also going to access the Change Save Button Text option, and change this simply to &#8220;Save Changes&#8221;.</p>
<p>Hit the save button and bear witness to your changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2009/12/setting-up-thesis-post-teasers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A fresh Wordpress installation + Thesis 1.6</title>
		<link>http://blog.matthewcampagna.com/2009/12/a-fresh-wordpress-installation-thesis-1-6/</link>
		<comments>http://blog.matthewcampagna.com/2009/12/a-fresh-wordpress-installation-thesis-1-6/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 05:52:51 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.matthewcampagna.com/?p=1</guid>
		<description><![CDATA[I&#8217;ve made a fresh installation of Wordpress 2.9 with the theme Thesis 1.6. I have also imported ThinkDesign&#8217;s Lorem Ipsum Test Post Pack. This seems like as good a place as any to begin. I have been using Wordpress for several months, but have not delved deep into it yet. I&#8217;m totally new to Thesis; [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve made a fresh installation of <a href="http://wordpress.org/">Wordpress 2.9</a> with the theme <a href="http://diythemes.com/">Thesis 1.6</a>. I have also imported <a href="http://thinkdesignblog.com/wordpress-lorem-ipsum-test-post-pack.htm">ThinkDesign&#8217;s Lorem Ipsum Test Post Pack</a>. This seems like as good a place as any to begin. I have been using Wordpress for several months, but have not delved deep into it yet. I&#8217;m totally new to Thesis; 1.6 is the first I&#8217;ve used, and I&#8217;m finding many of the resources scattered around the web pretty out-of-date, mostly relevant to older versions of the theme.</p>
<p>This blog is, at this moment, nothing more than a testing ground as I attempt to wrap my head around Thesis and customize it for my needs. As I go, I will try to record my explorations here for the benefit of others. This may or may not end up being useful in the end.</p>
<p><a href="http://blog.matthewcampagna.com/wp-content/uploads/thesis_design_options.png"><img class="alignleft size-full wp-image-66" title="thesis_design_options" src="http://blog.matthewcampagna.com/wp-content/uploads/thesis_design_options.png" alt="" width="145" height="97" /></a>Because I&#8217;ve read good things about doing so, my first act is to delve into Thesis Options &gt; Design Options &gt; Framework Options &gt; HTML Framework and to set this to use the Full-width Framework.</p>
<p>I then abandon Thesis for a time, get into Wordpress instead. Settings &gt; General is my first stop so that I can double-check my URLs and setup my time-zone.</p>
<p>Using my FTP client, I then access the root of my site to create a <em>.htaccess</em> file. To do this, I setup my FTP client to show invisible files, then create a new file named &#8220;.htaccess&#8221;. I use the Get Info command to set file permissions to 666, not because I&#8217;m a Satanist, but so that Wordpress will be able to access the file to make changes as necessary.</p>
<p>Back in Wordpress, I access Settings &gt; Permalinks, where I set Common Settings to &#8220;Month and name&#8221; because it&#8217;s my personal preference for permanent URL structure for my posts. When I save these settings, Wordpress will update the .htaccess file I have already created.</p>
<p>I next access Wordpress&#8217; Plugins area. First, I want to delete the Hello Dolly plugin that comes pre-installed with Wordpress, because &#8212; let&#8217;s face it &#8212; it&#8217;s stupid. I want Akismet enabled, so activate and configure that either now or later; it really helps to mitigate spam. And now I install what I consider to be a few core plugins: <a href="http://contactform7.com/">Contact Form 7</a>, <a href="http://blogwaffe.com/2006/10/04/wordpress-plugin-no-self-pings/">No Self Pings</a>, <a href="http://txfx.net/wordpress-plugins/subscribe-to-comments/">Subscribe to Comments</a>, <a href="http://www.blaenkdenum.com/wp-recaptcha/">WP-reCAPTCHA</a> (the other half of spam prevention) and <a href="http://wordpress.org/extend/plugins/wp-custom-widget/">WP Custom Widget</a>.</p>
<p>And that&#8217;s basically where it stands at the moment. Things to be done between now and next time: setup the contact form using the Contact Form 7 plugin, enable and setup the reCaptcha plugin, setup Akismet.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2009/12/a-fresh-wordpress-installation-thesis-1-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Testing The Theme Elements</title>
		<link>http://blog.matthewcampagna.com/2008/12/testing-the-theme-elements/</link>
		<comments>http://blog.matthewcampagna.com/2008/12/testing-the-theme-elements/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 22:57:08 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Sports]]></category>
		<category><![CDATA[elements]]></category>

		<guid isPermaLink="false">http://test.think-four.com/?p=34</guid>
		<description><![CDATA[This is a left-aligned image. (With NO Padding) Lorem ipsum eu usu assum liberavisse, ut munere praesent complectitur mea. Sit an option maiorum principes. Ne per probo magna idque, est veniam exerci appareat no. Sit at amet propriae intellegebat, natum iusto forensibus duo ut. Pro hinc aperiri fabulas ut, probo tractatos euripidis an vis, ignota [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img hspace="0" align="left" src="http://test.think-four.com/wp-content/uploads/PictureInPost.jpg" alt="" /><strong>This is a left-aligned image. (With NO Padding)</strong> Lorem ipsum eu usu assum liberavisse, ut munere praesent complectitur mea. Sit an option maiorum principes. Ne per probo magna idque, est veniam exerci appareat no. Sit at amet propriae intellegebat, natum iusto forensibus duo ut. Pro hinc aperiri fabulas ut, probo tractatos euripidis an vis, ignota oblique ut nec. Ad ius munere soluta deterruisset, quot veri id vim, te vel bonorum ornatus persequeris. Pro hinc aperiri fabulas ut, probo tractatos euripidis an vis, ignota oblique ut nec. Ad ius munere soluta deterruisset, quot veri id vim, te vel bonorum ornatus persequeris.</p>
<p><img hspace="0" align="right" src="http://test.think-four.com/wp-content/uploads/PictureInPost.jpg" alt="" /><strong>This is a right-aligned image.</strong> <strong>(With NO Padding)</strong> Sea stet iudico cetero cu, ut mei ferri mnesarchum, at duo enim vivendum abhorreant. Usu eruditi veritus vivendo ut, ut cibo lucilius inciderint eam, ne hinc discere explicari sea. Nam iusto delicata ne, eam dolore singulis maiestatis ex. Cu eruditi dolorem accusam pri, ea vidisse aliquip forensibus eam, ut erant labore fastidii has. Cum quod saepe periculis ea, eos iuvaret maiorum moderatius eu, pro ferri scaevola mnesarchum ut. Pro hinc aperiri fabulas ut, probo tractatos euripidis an vis, ignota oblique ut nec. Ad ius munere soluta deterruisset, quot veri id vim, te vel bonorum ornatus persequeris.</p>
<p>Block Quote:</p>
<blockquote><p>Amet blandit scripserit sit id, ea vim mollis oportere postulant. Nostro suavitate intellegam id mei, mea ex agam quodsi complectitur. Cu eos nibh justo philosophia, no pro velit suscipit philosophia. At est dicit instructior, viderer minimum conceptam no nec, te nec dicta iusto legendos. Duo ex velit vocibus, lucilius quaestio his eu. Cum falli aeterno delicatissimi et, elit justo epicuri has ut. </p></blockquote>
<h1>This H1 Header Style. Just a Sample.</h1>
<h2>This H2 Header Style. Just a Sample.</h2>
<h3>This H3 Header Style. Just a Sample.</h3>
<h4>This H4 Header Style. Just a Sample.</h4>
<p>Here is a couple of <a href="#">links</a>, and how they will looked <a href="#">linked</a> in text. This how <strong>bold will look in text</strong>, and <em>italic in text</em>, and <u>underlined text</u>.</p>
<p>Here is an ordered list:</p>
<ol>News<br />
    Entertainment<br />
    Sports<br />
    Music<br />
    Graphic Design<br />
    Comedy      </ol>
<p>Here is an unordered list:</p>
<ul>News<br />
        Entertainment<br />
        Sports<br />
        Music<br />
        Graphic Design<br />
        Comedy</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2008/12/testing-the-theme-elements/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Make Sure To View The Last Post of Elements</title>
		<link>http://blog.matthewcampagna.com/2008/12/make-sure-to-view-the-last-post-of-elements/</link>
		<comments>http://blog.matthewcampagna.com/2008/12/make-sure-to-view-the-last-post-of-elements/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 22:51:31 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://test.think-four.com/?p=33</guid>
		<description><![CDATA[Lorem ipsum eu usu assum liberavisse, ut munere praesent complectitur mea. Sit an option maiorum principes. Ne per probo magna idque, est veniam exerci appareat no. Sit at amet propriae intellegebat, natum iusto forensibus duo ut. Pro hinc aperiri fabulas ut, probo tractatos euripidis an vis, ignota oblique ut nec. Ad ius munere soluta deterruisset, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Lorem ipsum eu usu assum liberavisse, ut munere praesent complectitur mea. Sit an option maiorum principes. Ne per probo magna idque, est veniam exerci appareat no. Sit at amet propriae intellegebat, natum iusto forensibus duo ut. Pro hinc aperiri fabulas ut, probo tractatos euripidis an vis, ignota oblique ut nec. Ad ius munere soluta deterruisset, quot veri id vim, te vel bonorum ornatus persequeris.</p>
<p>Sea stet iudico cetero cu, ut mei ferri mnesarchum, at duo enim vivendum abhorreant. Usu eruditi veritus vivendo ut, ut cibo lucilius inciderint eam, ne hinc discere explicari sea. Nam iusto delicata ne, eam dolore singulis maiestatis ex. Cu eruditi dolorem accusam pri, ea vidisse aliquip forensibus eam, ut erant labore fastidii has. Cum quod saepe periculis ea, eos iuvaret maiorum moderatius eu, pro ferri scaevola mnesarchum ut.</p>
<p><strong>Here is an bigger image in a post with no image alignment:</strong></p>
<p><img alt="" src="http://test.think-four.com/wp-content/uploads/BiggerPicInPost.jpg" /></p>
<p>Nisl malis veritus pro no, pro an enim admodum mediocritatem. Ei his graeci option officiis, no oratio vocent efficiendi vix. Eu prima eleifend volutpat ius, mel atomorum omittantur te, quo debet possim habemus no. Et eum aliquip iuvaret dignissim, dicant epicurei vituperata vim eu. Usu dicunt verear deleniti te.</p>
<p>Amet blandit scripserit sit id, ea vim mollis oportere postulant. Nostro suavitate intellegam id mei, mea ex agam quodsi complectitur. Cu eos nibh justo philosophia, no pro velit suscipit philosophia. At est dicit instructior, viderer minimum conceptam no nec, te nec dicta iusto legendos. Duo ex velit vocibus, lucilius quaestio his eu. Cum falli aeterno delicatissimi et, elit justo epicuri has ut.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.matthewcampagna.com/2008/12/make-sure-to-view-the-last-post-of-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
