<?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/favorites/girliegeek</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 19:15:02 GMT</pubDate>
<item>
<title>(PHP) Header replacement in Thesis - girliegeek</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 - girliegeek</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) Restore normal button look - girliegeek</title>
<link>http://snipplr.com/view/14748/restore-normal-button-look/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 06 May 2009 00:22:27 GMT</pubDate>
<guid>http://snipplr.com/view/14748/restore-normal-button-look/</guid>
</item>
<item>
<title>(PHP) Thesis custom page template with category posts - girliegeek</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 - girliegeek</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) WP Admin Only Links - girliegeek</title>
<link>http://snipplr.com/view/14333/wp-admin-only-links/</link>
<description><![CDATA[ <p>Down &amp; Dirty Wordpress code to show specific links only to admininstrators. Can be refined using WP roles and Capabilities for more specific needs.</p> ]]></description>
<pubDate>Thu, 23 Apr 2009 13:47:45 GMT</pubDate>
<guid>http://snipplr.com/view/14333/wp-admin-only-links/</guid>
</item>
<item>
<title>(PHP) Target specific post on home page - girliegeek</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 - girliegeek</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 - girliegeek</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 - girliegeek</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 - girliegeek</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>
<item>
<title>(PHP) Register new sidebar for Thesis - girliegeek</title>
<link>http://snipplr.com/view/13171/register-new-sidebar-for-thesis/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 16 Mar 2009 18:05:27 GMT</pubDate>
<guid>http://snipplr.com/view/13171/register-new-sidebar-for-thesis/</guid>
</item>
<item>
<title>(jQuery) Hide/Show Comments on single pages - girliegeek</title>
<link>http://snipplr.com/view/11934/hideshow-comments-on-single-pages/</link>
<description><![CDATA[ <p>This is a bit of jQuery within a PHP function that you can dump into your Thesis custom_functions.php file to hide comments upon page load and add a link to show them.</p> ]]></description>
<pubDate>Sat, 07 Feb 2009 00:17:03 GMT</pubDate>
<guid>http://snipplr.com/view/11934/hideshow-comments-on-single-pages/</guid>
</item>
<item>
<title>(PHP) Referrer link - girliegeek</title>
<link>http://snipplr.com/view/11766/referrer-link/</link>
<description><![CDATA[ <p>This adds a link to the page that the viewer just came from (if they came from another page).</p> ]]></description>
<pubDate>Mon, 02 Feb 2009 21:28:21 GMT</pubDate>
<guid>http://snipplr.com/view/11766/referrer-link/</guid>
</item>
<item>
<title>(PHP) Nav menu for Thesis - girliegeek</title>
<link>http://snipplr.com/view/11664/nav-menu-for-thesis/</link>
<description><![CDATA[ <p>An example of how to write your own navigation with dynamic "active" classes.</p> ]]></description>
<pubDate>Fri, 30 Jan 2009 00:13:30 GMT</pubDate>
<guid>http://snipplr.com/view/11664/nav-menu-for-thesis/</guid>
</item>
<item>
<title>(PHP) Create extra video box in Thesis sidebar - girliegeek</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) - girliegeek</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 - girliegeek</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 - girliegeek</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>(jQuery) jQuery to add classes to navigation links in Thesis - girliegeek</title>
<link>http://snipplr.com/view/11509/jquery-to-add-classes-to-navigation-links-in-thesis/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 25 Jan 2009 19:03:35 GMT</pubDate>
<guid>http://snipplr.com/view/11509/jquery-to-add-classes-to-navigation-links-in-thesis/</guid>
</item>
</channel>
</rss>