<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/thesiswp</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 01:37:55 GMT</pubDate>
<item>
<title>(PHP) Widgetised home page - kristarella</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>(PHP) Fallback Thesis Thumbnail - kristarella</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 - kristarella</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 - kristarella</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 - kristarella</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) Enable WordPress body class function in Thesis Theme - joelhaus</title>
<link>http://snipplr.com/view/23229/enable-wordpress-body-class-function-in-thesis-theme/</link>
<description><![CDATA[ <p>In v1.6, the Thesis Theme has a bug which removes a necessary space in the HTML body tag if you add a filter targeting the thesis_body_classes hook. To get the native WP body_class function to work, use this code:</p> ]]></description>
<pubDate>Mon, 16 Nov 2009 22:37:44 GMT</pubDate>
<guid>http://snipplr.com/view/23229/enable-wordpress-body-class-function-in-thesis-theme/</guid>
</item>
<item>
<title>(PHP) Add Custom Body Class to WP Thesis - joelhaus</title>
<link>http://snipplr.com/view/20747/add-custom-body-class-to-wp-thesis/</link>
<description><![CDATA[ <p>Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!</p> ]]></description>
<pubDate>Tue, 06 Oct 2009 19:48:02 GMT</pubDate>
<guid>http://snipplr.com/view/20747/add-custom-body-class-to-wp-thesis/</guid>
</item>
<item>
<title>(PHP) Reset Thesis - kristarella</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) Widgetize Header, Footer and Everything Else Using Thesis' Hooks - fouroclockproject</title>
<link>http://snipplr.com/view/16594/widgetize-header-footer-and-everything-else-using-thesis-hooks/</link>
<description><![CDATA[ <p>Adds two "sidebars" to the header.  You can drag and drop widgets into them just like any other sidebar from your WP dashboard.  You can change the Hook to move the "sidebars" somewhere else on the page.  For example, change 'thesis_hook_header' to 'thesis_hook_after_html' and your new sidebars will show up there.  Style using CSS to change their layout.</p> ]]></description>
<pubDate>Thu, 02 Jul 2009 14:12:37 GMT</pubDate>
<guid>http://snipplr.com/view/16594/widgetize-header-footer-and-everything-else-using-thesis-hooks/</guid>
</item>
<item>
<title>(PHP) Homepage Custom Template Thesis WP - mlangfeld</title>
<link>http://snipplr.com/view/16197/homepage-custom-template-thesis-wp/</link>
<description><![CDATA[ <p>In this Thesis WP tutorial for multiple custom page templates, we find code for making a custom homepage template as well.</p> ]]></description>
<pubDate>Mon, 22 Jun 2009 14:42:35 GMT</pubDate>
<guid>http://snipplr.com/view/16197/homepage-custom-template-thesis-wp/</guid>
</item>
<item>
<title>(PHP) Custom widget on selected pages in Thesis WP - mlangfeld</title>
<link>http://snipplr.com/view/16185/custom-widget-on-selected-pages-in-thesis-wp/</link>
<description><![CDATA[ <p>This code to be added to custom_functions.php  May also need to add to custom.css to style your custom widget. (This code found towards the end of the article).</p> ]]></description>
<pubDate>Mon, 22 Jun 2009 08:39:05 GMT</pubDate>
<guid>http://snipplr.com/view/16185/custom-widget-on-selected-pages-in-thesis-wp/</guid>
</item>
<item>
<title>(PHP) Header replacement in Thesis - kristarella</title>
<link>http://snipplr.com/view/16133/header-replacement-in-thesis/</link>
<description><![CDATA[ <p>This creates a custom HTML header in Thesis with a logo and an advert section (to be used instead of CSS image replacement).

Example CSS to use with it:

.custom #header:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}

.custom #header #logo {width:320px; height:90px; float:left;}

.custom #header #header_ad {width:728px; height:90px; float:right;}</p> ]]></description>
<pubDate>Fri, 19 Jun 2009 21:32:18 GMT</pubDate>
<guid>http://snipplr.com/view/16133/header-replacement-in-thesis/</guid>
</item>
<item>
<title>(PHP) Archives listing posts by category - kristarella</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>(PHP) Thesis custom page template with category posts - kristarella</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 - kristarella</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 - kristarella</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 - kristarella</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) Rearrange Thesis nav - kristarella</title>
<link>http://snipplr.com/view/13373/rearrange-thesis-nav/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 Mar 2009 01:49:53 GMT</pubDate>
<guid>http://snipplr.com/view/13373/rearrange-thesis-nav/</guid>
</item>
<item>
<title>(PHP) Custom bylines in Thesis - kristarella</title>
<link>http://snipplr.com/view/13367/custom-bylines-in-thesis/</link>
<description><![CDATA[ <p>This example adds tags and categories to the Thesis byline, each on a new line, and with the needed classes to match the other byline items.

The byline is generated in thesis/lib/functions/content_functions.php (v1.4.2 at the time of writing) look there for code on different byline items.</p> ]]></description>
<pubDate>Sun, 22 Mar 2009 18:58:26 GMT</pubDate>
<guid>http://snipplr.com/view/13367/custom-bylines-in-thesis/</guid>
</item>
<item>
<title>(PHP) Add image to post by number on page - kristarella</title>
<link>http://snipplr.com/view/13268/add-image-to-post-by-number-on-page/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 19 Mar 2009 03:30:30 GMT</pubDate>
<guid>http://snipplr.com/view/13268/add-image-to-post-by-number-on-page/</guid>
</item>
</channel>
</rss>