<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>GhostPool.com - Seriously Awesome WordPress Themes &amp; Web Resources</title>
	
	<link>http://www.ghostpool.com</link>
	<description>Premium WordPress Themes</description>
	<lastBuildDate>Thu, 08 Dec 2011 12:10:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ghostpool" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="ghostpool" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Adding TimThumb Support for WordPress Multisite</title>
		<link>http://www.ghostpool.com/freebies/adding-timthumb-support-for-wordpress-multisite/</link>
		<comments>http://www.ghostpool.com/freebies/adding-timthumb-support-for-wordpress-multisite/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 10:15:38 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[attachment]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[featured image]]></category>
		<category><![CDATA[multisite]]></category>
		<category><![CDATA[timthumb]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1112</guid>
		<description><![CDATA[I&#8217;ve seen so many tutorials on how to get TimThumb to work with WordPress Multisite and have found none of them really work. This tutorial will not only explain how to get TimThumb working with Multisite but also show you how to get it working with the built-in Featured Image WordPress option, Custom Fields and Image Attachments. Featured Image Open functions.php and add: Now you can use the following code inside single.php, category.php etc. to output your image URL. You will probably want to insert this inside an image tag: Custom Field Image Open functions.php and add: Now you can use the following code inside single.php, category.php etc. to output your image URL, where thumbnail is the name of your custom field that contains the URL of your image. You will probably want to insert this inside an image tag: Image Attachment Open functions.php and add: Now you can use the following code inside single.php, category.php etc. to output your image URL. This will display the first image uploaded to your post. Change the orderby and order options to change which image is outputted. You will probably want to insert this inside an image tag:]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen so many tutorials on how to get TimThumb to work with WordPress Multisite and have found none of them really work. This tutorial will not only explain how to get TimThumb working with Multisite but also show you how to get it working with the built-in Featured Image WordPress option, Custom Fields and Image Attachments.</p>
<div class="divider"></div>
<h4>Featured Image</h4>
<p>Open functions.php and add:</p>
<pre class="brush: php; title: ; notranslate">
function get_image_path($gp_image) {
$theImageSrc = wp_get_attachment_url($gp_image);
global $blog_id;
if (isset($blog_id) &amp;&amp; $blog_id &gt; 0) {
	$imageParts = explode('/files/', $theImageSrc);
	if (isset($imageParts[1])) {
		$theImageSrc = '/blogs.dir/' . $blog_id . '/files/' . $imageParts[1];
	}
}
return $theImageSrc;
}
</pre>
<p>Now you can use the following code inside single.php, category.php etc. to output your image URL.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php echo get_image_path(get_post_thumbnail_id()); ?&gt;</pre>
<p>You will probably want to insert this inside an image tag:</p>
<pre class="brush: php; title: ; notranslate">&lt;img src=&quot;&lt;?php get_image_path(get_post_thumbnail_id()); ?&gt;&quot; alt=&quot;&quot; /&gt;</pre>
<div class="divider"></div>
<h4>Custom Field Image</h4>
<p>Open functions.php and add:</p>
<pre class="brush: php; title: ; notranslate">
function get_image_path($gp_image) {
$theImageSrc = $gp_image;
global $blog_id;
if (isset($blog_id) &amp;&amp; $blog_id &gt; 0) {
	$imageParts = explode('/files/', $theImageSrc);
	if (isset($imageParts[1])) {
		$theImageSrc = '/blogs.dir/' . $blog_id . '/files/' . $imageParts[1];
	}
}
return $theImageSrc;
}
</pre>
<p>Now you can use the following code inside single.php, category.php etc. to output your image URL, where <code>thumbnail</code> is the name of your custom field that contains the URL of your image.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php echo get_image_path(get_post_meta($post-&gt;ID, 'thumbnail', true)); ?&gt;</pre>
<p>You will probably want to insert this inside an image tag:</p>
<pre class="brush: php; title: ; notranslate">
&lt;img src=&quot;&lt;?php echo get_image_path(get_post_meta($post-&gt;ID, 'thumbnail', true)); ?&gt;&quot; alt=&quot;&quot; /&gt;
</pre>
<div class="divider"></div>
<h4>Image Attachment</h4>
<p>Open functions.php and add:</p>
<pre class="brush: php; title: ; notranslate">
function get_image_path($gp_image) {
$theImageSrc = $gp_image;
global $blog_id;
if (isset($blog_id) &amp;&amp; $blog_id &gt; 0) {
	$imageParts = explode('/files/', $theImageSrc);
	if (isset($imageParts[1])) {
		$theImageSrc = '/blogs.dir/' . $blog_id . '/files/' . $imageParts[1];
	}
}
return $theImageSrc;
}
</pre>
<p>Now you can use the following code inside single.php, category.php etc. to output your image URL. This will display the first image uploaded to your post. Change the <code>orderby</code> and <code>order</code> options to change which image is outputted.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php $args = array('post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'post_parent' =&gt; $post-&gt;ID, 'numberposts' =&gt; 1, 'orderby' =&gt; menu_order, 'order' =&gt; ASC); $attachments = get_children($args);
if ($attachments) { foreach ($attachments as $attachment) { ?&gt;

&lt;?php echo get_image_path(wp_get_attachment_url($attachment-&gt;ID)); ?&gt;

&lt;?php }} ?&gt;</pre>
<p>You will probably want to insert this inside an image tag:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php $args = array('post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'post_parent' =&gt; $post-&gt;ID, 'numberposts' =&gt; 1, 'orderby' =&gt; menu_order, 'order' =&gt; ASC); $attachments = get_children($args);
if ($attachments) { foreach ($attachments as $attachment) { ?&gt;

&lt;img src=&quot;&lt;?php echo get_image_path(wp_get_attachment_url($attachment-&gt;ID)); ?&gt;&quot; alt=&quot;&quot; /&gt;

&lt;?php }} ?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/freebies/adding-timthumb-support-for-wordpress-multisite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Score: Review WordPress &amp; BuddyPress Theme</title>
		<link>http://www.ghostpool.com/premium-themes/score-review-wordpress-buddypress-theme/</link>
		<comments>http://www.ghostpool.com/premium-themes/score-review-wordpress-buddypress-theme/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 10:03:46 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Premium Themes]]></category>
		<category><![CDATA[buddypress]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[rating]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[rtl]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1107</guid>
		<description><![CDATA[Score is a WordPress and BuddyPress theme that is ideal for reviewing items.]]></description>
			<content:encoded><![CDATA[<p>Score is a WordPress and BuddyPress theme that is ideal for reviewing items.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/premium-themes/score-review-wordpress-buddypress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropdown Menus (PSD)</title>
		<link>http://www.ghostpool.com/freebies/dropdown-menus-psd/</link>
		<comments>http://www.ghostpool.com/freebies/dropdown-menus-psd/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 14:08:23 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[PSDs]]></category>
		<category><![CDATA[dark]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1096</guid>
		<description><![CDATA[This freebie contains a dark and light drop down menu in the unselected and selected states.]]></description>
			<content:encoded><![CDATA[<p>This freebie contains a dark and light drop down menu in the unselected and selected states.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/freebies/dropdown-menus-psd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metallic Border Slider (PSD)</title>
		<link>http://www.ghostpool.com/freebies/metallic-border-slider-psd/</link>
		<comments>http://www.ghostpool.com/freebies/metallic-border-slider-psd/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 11:47:01 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[PSDs]]></category>
		<category><![CDATA[metallic]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1074</guid>
		<description><![CDATA[This freebie is a stylish looking slider with a metallic border complete with slider option buttons and navigation.]]></description>
			<content:encoded><![CDATA[<p>This freebie is a stylish looking slider with a metallic border complete with slider option buttons and navigation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/freebies/metallic-border-slider-psd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modern &amp; Vintage Dividers (PSD)</title>
		<link>http://www.ghostpool.com/freebies/modern-vintage-dividers-psd/</link>
		<comments>http://www.ghostpool.com/freebies/modern-vintage-dividers-psd/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 11:45:15 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[PSDs]]></category>
		<category><![CDATA[divider]]></category>
		<category><![CDATA[stripes]]></category>
		<category><![CDATA[swirls]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1070</guid>
		<description><![CDATA[This freebie is a bunch of dividers, some modern looking others with a vintage twist, but all have the same function &#8211; to divide your content.]]></description>
			<content:encoded><![CDATA[<p>This freebie is a bunch of dividers, some modern looking others with a vintage twist, but all have the same function &#8211; to divide your content.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/freebies/modern-vintage-dividers-psd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exhibit: Simple Gallery/Portfolio WordPress Theme</title>
		<link>http://www.ghostpool.com/premium-themes/exhibit-simple-galleryportfolio-wordpress-theme/</link>
		<comments>http://www.ghostpool.com/premium-themes/exhibit-simple-galleryportfolio-wordpress-theme/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 21:47:53 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Premium Themes]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1058</guid>
		<description><![CDATA[A simple and distraction free gallery and portfolio theme.]]></description>
			<content:encoded><![CDATA[<p>A simple and distraction free gallery and portfolio theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/premium-themes/exhibit-simple-galleryportfolio-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gridline: Portfolio/Photography WordPress Theme</title>
		<link>http://www.ghostpool.com/premium-themes/gridline-portfoliophotography-wordpress-theme/</link>
		<comments>http://www.ghostpool.com/premium-themes/gridline-portfoliophotography-wordpress-theme/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 21:46:20 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Premium Themes]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1055</guid>
		<description><![CDATA[A theme ideal for showcasing your portfolio or photography work in a stylish grid.]]></description>
			<content:encoded><![CDATA[<p>A theme ideal for showcasing your portfolio or photography work in a stylish grid.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/premium-themes/gridline-portfoliophotography-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buzz: Clean &amp; Modern Blogging WordPress Theme</title>
		<link>http://www.ghostpool.com/premium-themes/buzz-clean-modern-blogging-wordpress-theme/</link>
		<comments>http://www.ghostpool.com/premium-themes/buzz-clean-modern-blogging-wordpress-theme/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 21:43:27 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Premium Themes]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1052</guid>
		<description><![CDATA[A theme for quick and easy blogging with a clean and modern interface and tons of features.]]></description>
			<content:encoded><![CDATA[<p>A theme for quick and easy blogging with a clean and modern interface and tons of features.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/premium-themes/buzz-clean-modern-blogging-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parachute: Minimalistic Business WordPress Theme</title>
		<link>http://www.ghostpool.com/premium-themes/parachute-minimalistic-business-wordpress-theme/</link>
		<comments>http://www.ghostpool.com/premium-themes/parachute-minimalistic-business-wordpress-theme/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 21:40:51 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Premium Themes]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1049</guid>
		<description><![CDATA[A clean, colorful and minimalistic theme ideal for businesses and portfolio work.]]></description>
			<content:encoded><![CDATA[<p>A clean, colorful and minimalistic theme ideal for businesses and portfolio work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/premium-themes/parachute-minimalistic-business-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Media Store: Review/Downloads WordPress Theme</title>
		<link>http://www.ghostpool.com/premium-themes/media-store-reviewdownloads-wordpress-theme/</link>
		<comments>http://www.ghostpool.com/premium-themes/media-store-reviewdownloads-wordpress-theme/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 21:36:06 +0000</pubDate>
		<dc:creator>GhostPool</dc:creator>
				<category><![CDATA[Premium Themes]]></category>

		<guid isPermaLink="false">http://www.ghostpool.com/?p=1046</guid>
		<description><![CDATA[A review and downloads theme that works similar to how iTunes does.]]></description>
			<content:encoded><![CDATA[<p>A review and downloads theme that works similar to how iTunes does.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ghostpool.com/premium-themes/media-store-reviewdownloads-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

