<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - kristarella</title>
<link>http://snipplr.com/users/kristarella/tags/thesis</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 16 Feb 2012 14:18:04 GMT</pubDate>
<item>
<title>(PHP) Widgetised home page</title>
<link>http://snipplr.com/view/49874/widgetised-home-page/</link>
<description><![CDATA[ <p>With this CSS to make the page 2 main content columns:
.custom #content .sidebar {width:48%; margin-right:2%; float:left;}</p> ]]></description>
<pubDate>Wed, 02 Mar 2011 01:04:15 GMT</pubDate>
<guid>http://snipplr.com/view/49874/widgetised-home-page/</guid>
</item>
<item>
<title>(jQuery) Prevent clicking on parent nav links</title>
<link>http://snipplr.com/view/43012/prevent-clicking-on-parent-nav-links/</link>
<description><![CDATA[ <p>This javascripts stops you from clicking on a nav link when there's a submenu below it, and it adds a class of "noclick" to the link, which you can use with CSS to change the cursor and background colour etc.
.menu a.noclick:hover {cursor:default;}

You could change the anchor tag to a span, but that requires more CSS to match the other links.</p> ]]></description>
<pubDate>Wed, 27 Oct 2010 10:18:45 GMT</pubDate>
<guid>http://snipplr.com/view/43012/prevent-clicking-on-parent-nav-links/</guid>
</item>
<item>
<title>(PHP) Fallback Thesis Thumbnail</title>
<link>http://snipplr.com/view/38972/fallback-thesis-thumbnail/</link>
<description><![CDATA[ <p>The code to call the normal Thesis Thumb is at http://snipplr.com/view/38971/thesis-thumbnail/\r\n\r\nTo test whether there is a thumbnail, and if not use another one, use this code in custom_functions.php.\r\n\r\nYou can change the class alignleft to alignright, or aligncenter and you can add the class frame to give the thumbnail a border.</p> ]]></description>
<pubDate>Thu, 12 Aug 2010 14:43:12 GMT</pubDate>
<guid>http://snipplr.com/view/38972/fallback-thesis-thumbnail/</guid>
</item>
<item>
<title>(PHP) Thesis thumbnail</title>
<link>http://snipplr.com/view/38971/thesis-thumbnail/</link>
<description><![CDATA[ <p>Needs to be used within the loop.</p> ]]></description>
<pubDate>Thu, 12 Aug 2010 14:26:55 GMT</pubDate>
<guid>http://snipplr.com/view/38971/thesis-thumbnail/</guid>
</item>
<item>
<title>(PHP) Add search bar to Thesis nav</title>
<link>http://snipplr.com/view/30098/add-search-bar-to-thesis-nav/</link>
<description><![CDATA[ <p>Add the PHP to custom_functions.php and the following CSS to custom.css

.custom ul.menu li.search {float:right;}
	.custom ul.menu li.search form {padding:0.3em;}
		.custom ul.menu li.search form input {padding:0.4em;}</p> ]]></description>
<pubDate>Sun, 21 Mar 2010 18:41:29 GMT</pubDate>
<guid>http://snipplr.com/view/30098/add-search-bar-to-thesis-nav/</guid>
</item>
<item>
<title>(PHP) Display extra posts on pages following home</title>
<link>http://snipplr.com/view/30097/display-extra-posts-on-pages-following-home/</link>
<description><![CDATA[ <p>This is designed to show 10 posts on each of the pages after the home/blog page when the home page only shows 5  (because if you just use posts_per_page=10 without the offset you will lose the most recent posts numbered 6-10 in between the first and secon home/blog paged).

You can tweak it to different numbers, but you'll need to change the maths (10 * ($page - 1) - 5) to suit.</p> ]]></description>
<pubDate>Sun, 21 Mar 2010 18:28:15 GMT</pubDate>
<guid>http://snipplr.com/view/30097/display-extra-posts-on-pages-following-home/</guid>
</item>
<item>
<title>(PHP) Reset Thesis</title>
<link>http://snipplr.com/view/17542/reset-thesis/</link>
<description><![CDATA[ <p>These lines delete the Thesis options from the database.
To use:
*insert lines in custom_functions.php
*load site once
*delete lines from custom_functions.php
*visit options pages to resave new options</p> ]]></description>
<pubDate>Mon, 27 Jul 2009 20:12:03 GMT</pubDate>
<guid>http://snipplr.com/view/17542/reset-thesis/</guid>
</item>
<item>
<title>(PHP) Archives listing posts by category</title>
<link>http://snipplr.com/view/15223/archives-listing-posts-by-category/</link>
<description><![CDATA[ <p>This used to be code adapted from Z'Oc, but I decided to start again and write it fresh with WP_Query instead of get_posts.</p> ]]></description>
<pubDate>Thu, 21 May 2009 23:55:10 GMT</pubDate>
<guid>http://snipplr.com/view/15223/archives-listing-posts-by-category/</guid>
</item>
<item>
<title>(CSS) Sticky Footer in Thesis</title>
<link>http://snipplr.com/view/14588/sticky-footer-in-thesis/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 29 Apr 2009 22:49:34 GMT</pubDate>
<guid>http://snipplr.com/view/14588/sticky-footer-in-thesis/</guid>
</item>
<item>
<title>(PHP) Thesis custom page template with category posts</title>
<link>http://snipplr.com/view/14524/thesis-custom-page-template-with-category-posts/</link>
<description><![CDATA[ <p>This turns the about page into a featured category post page. The principles for just a regular custom page template with sidebars is there too.</p> ]]></description>
<pubDate>Tue, 28 Apr 2009 03:55:49 GMT</pubDate>
<guid>http://snipplr.com/view/14524/thesis-custom-page-template-with-category-posts/</guid>
</item>
<item>
<title>(PHP) Custom Thesis teasers</title>
<link>http://snipplr.com/view/14521/custom-thesis-teasers/</link>
<description><![CDATA[ <p>This provides a teaser, with content from a custom feild, or the excerpt if no field exists. Everything except the title and edit link need to be turned off in the options.</p> ]]></description>
<pubDate>Tue, 28 Apr 2009 02:48:21 GMT</pubDate>
<guid>http://snipplr.com/view/14521/custom-thesis-teasers/</guid>
</item>
<item>
<title>(PHP) Target specific post on home page</title>
<link>http://snipplr.com/view/13596/target-specific-post-on-home-page/</link>
<description><![CDATA[ <p>This example is adding a feature box after the first post. You can apply it to any of the hooks inside the loop.</p> ]]></description>
<pubDate>Mon, 30 Mar 2009 20:43:03 GMT</pubDate>
<guid>http://snipplr.com/view/13596/target-specific-post-on-home-page/</guid>
</item>
<item>
<title>(PHP) Filter Thesis body classes</title>
<link>http://snipplr.com/view/13530/filter-thesis-body-classes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 28 Mar 2009 08:20:29 GMT</pubDate>
<guid>http://snipplr.com/view/13530/filter-thesis-body-classes/</guid>
</item>
<item>
<title>(PHP) Create extra video box in Thesis sidebar</title>
<link>http://snipplr.com/view/11542/create-extra-video-box-in-thesis-sidebar/</link>
<description><![CDATA[ <p>Use with (in custom.css) .sidebar_box {margin-bottom:2em; text-align:center;}

You may have to adjust the width for your sidebars.</p> ]]></description>
<pubDate>Mon, 26 Jan 2009 17:44:36 GMT</pubDate>
<guid>http://snipplr.com/view/11542/create-extra-video-box-in-thesis-sidebar/</guid>
</item>
<item>
<title>(PHP) Add category archives to a page (in Thesis)</title>
<link>http://snipplr.com/view/11512/add-category-archives-to-a-page-in-thesis/</link>
<description><![CDATA[ <p>The function content should work in any theme, it's just wrapped in a function wrapper for insertion into the Thesis theme.</p> ]]></description>
<pubDate>Sun, 25 Jan 2009 19:11:17 GMT</pubDate>
<guid>http://snipplr.com/view/11512/add-category-archives-to-a-page-in-thesis/</guid>
</item>
<item>
<title>(PHP) Add avatar to post title in Thesis</title>
<link>http://snipplr.com/view/11511/add-avatar-to-post-title-in-thesis/</link>
<description><![CDATA[ <p>This CSS is nice to use with this function:
.custom .avatar {float:left; border:3px solid #ddd; margin-right:1em;}</p> ]]></description>
<pubDate>Sun, 25 Jan 2009 19:07:53 GMT</pubDate>
<guid>http://snipplr.com/view/11511/add-avatar-to-post-title-in-thesis/</guid>
</item>
<item>
<title>(PHP) Add large image to attachment page in Thesis</title>
<link>http://snipplr.com/view/11510/add-large-image-to-attachment-page-in-thesis/</link>
<description><![CDATA[ <p>You will probably have to hide the medium sized image.</p> ]]></description>
<pubDate>Sun, 25 Jan 2009 19:06:25 GMT</pubDate>
<guid>http://snipplr.com/view/11510/add-large-image-to-attachment-page-in-thesis/</guid>
</item>
<item>
<title>(PHP) Add logo to Thesis header</title>
<link>http://snipplr.com/view/11508/add-logo-to-thesis-header/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 25 Jan 2009 19:02:15 GMT</pubDate>
<guid>http://snipplr.com/view/11508/add-logo-to-thesis-header/</guid>
</item>
<item>
<title>(PHP) Custom field usage example (in Thesis function)</title>
<link>http://snipplr.com/view/11507/custom-field-usage-example-in-thesis-function/</link>
<description><![CDATA[ <p>This shows how to add content (in this case a linked image) to the end of a post using WordPress custom fields and the Thesis theme.</p> ]]></description>
<pubDate>Sun, 25 Jan 2009 19:00:26 GMT</pubDate>
<guid>http://snipplr.com/view/11507/custom-field-usage-example-in-thesis-function/</guid>
</item>
</channel>
</rss>
