<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Theming Your WordPress Gallery</title>
	<atom:link href="http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/</link>
	<description>Blog Themes, Blog Design &#38; Daily Blog Tips</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:16:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Tweaking your WordPress Website &#124; archshrk</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-237903</link>
		<dc:creator>Tweaking your WordPress Website &#124; archshrk</dc:creator>
		<pubDate>Tue, 09 Sep 2008 21:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-237903</guid>
		<description>[...] optimize your image page and gallery. Sarah has some very useful information on Theming Your WordPress Gallery which I&#8217;ve used to improve the user experience, and the search engine [...]</description>
		<content:encoded><![CDATA[<p>[...] optimize your image page and gallery. Sarah has some very useful information on Theming Your WordPress Gallery which I&#8217;ve used to improve the user experience, and the search engine [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using the WordPress Gallery :: Stuff by Sarah</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-220962</link>
		<dc:creator>Using the WordPress Gallery :: Stuff by Sarah</dc:creator>
		<pubDate>Sun, 03 Aug 2008 17:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-220962</guid>
		<description>[...] Theming Your WordPress Gallery [...]</description>
		<content:encoded><![CDATA[<p>[...] Theming Your WordPress Gallery [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218691</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Tue, 29 Jul 2008 11:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218691</guid>
		<description>The code I posted above replaces the wordpress loop code in the single.php file. I assume you&#039;ve duplicated your single.php (or index.php if single.php doesn&#039;t exist) and renamed it image.php. The look for the first line of the code above, which is the start of the loop, and look for the end of the loop which should look similar to the last couple of lines of the code above.

Then delete this code in the file and replace it with all of the code above (note you&#039;ll need to remove the space between the question mark and &#039;php&#039; if you copy the code. Side effect of the plugin used unfortunately).

Then if you view an image from your gallery it should output everything correctly. If you&#039;re still seeing PHP code then check for the spaces between &lt;? php, otherwise post up a link to the file here and I can take a look for you.</description>
		<content:encoded><![CDATA[<p>The code I posted above replaces the wordpress loop code in the single.php file. I assume you&#8217;ve duplicated your single.php (or index.php if single.php doesn&#8217;t exist) and renamed it image.php. The look for the first line of the code above, which is the start of the loop, and look for the end of the loop which should look similar to the last couple of lines of the code above.</p>
<p>Then delete this code in the file and replace it with all of the code above (note you&#8217;ll need to remove the space between the question mark and &#8216;php&#8217; if you copy the code. Side effect of the plugin used unfortunately).</p>
<p>Then if you view an image from your gallery it should output everything correctly. If you&#8217;re still seeing PHP code then check for the spaces between &lt;? php, otherwise post up a link to the file here and I can take a look for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elaine</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218731</link>
		<dc:creator>Elaine</dc:creator>
		<pubDate>Tue, 29 Jul 2008 08:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218731</guid>
		<description>btw Sarah, this post was very helpful and I&#039;m so glad I found it, I bookmarked it for future template modifications :) thank you so much for your work! </description>
		<content:encoded><![CDATA[<p>btw Sarah, this post was very helpful and I&#39;m so glad I found it, I bookmarked it for future template modifications <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thank you so much for your work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218704</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Tue, 29 Jul 2008 06:51:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218704</guid>
		<description>Hi Elaine. Just took a look at your gallery and the additional space is in there. If you change the first line of the EXIF code from 
 
&lt;code&gt;&lt; ?php if (is_attachment()) : $imgmeta = wp_get_attachment_metadata( $id );&lt;/code&gt; 
 
to 
 
&lt;code&gt;&lt;?php if (is_attachment()) : $imgmeta = wp_get_attachment_metadata( $id );&lt;/code&gt; 
 
It should be fine :)  As I mentioned, it&#039;s an annoying side effect with the plugin that a space is inserted in the middle of the opening PHP tag, which prevents all the code from being parsed on the server. Trouble is the code tags are not great for outputting code as there&#039;s no colouring, line numbering or indentation. 
 
Anyway, hope that fixes your problem. Let me know if it doesn&#039;t :) </description>
		<content:encoded><![CDATA[<p>Hi Elaine. Just took a look at your gallery and the additional space is in there. If you change the first line of the EXIF code from</p>
<p>&lt;code&gt;&lt; ?php if (is_attachment()) : $imgmeta = wp_get_attachment_metadata( $id );&lt;/code&gt;</p>
<p>to</p>
<p>&lt;code&gt;&lt;?php if (is_attachment()) : $imgmeta = wp_get_attachment_metadata( $id );&lt;/code&gt;</p>
<p>It should be fine <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   As I mentioned, it&#39;s an annoying side effect with the plugin that a space is inserted in the middle of the opening PHP tag, which prevents all the code from being parsed on the server. Trouble is the code tags are not great for outputting code as there&#39;s no colouring, line numbering or indentation.</p>
<p>Anyway, hope that fixes your problem. Let me know if it doesn&#39;t <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elaine</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218701</link>
		<dc:creator>Elaine</dc:creator>
		<pubDate>Tue, 29 Jul 2008 06:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218701</guid>
		<description>in fact, i&#039;ll go back to last weeks post and post that code, and then you can see by going to my gallery </description>
		<content:encoded><![CDATA[<p>in fact, i&#39;ll go back to last weeks post and post that code, and then you can see by going to my gallery</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elaine</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218699</link>
		<dc:creator>Elaine</dc:creator>
		<pubDate>Tue, 29 Jul 2008 06:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218699</guid>
		<description>well i have an image.php files and tried replacing the code in there, and i tried it in the single post too, but that did nothing, but yeah it showed up as code when i put it in the image.php file, and i didn&#039;t see any reason why, as in your last post about getting exif data, the code was just another php statement, so it should have worked, but just printed out the code, perhaps i should have posted my problem on your last week&#039;s post about getting exif data </description>
		<content:encoded><![CDATA[<p>well i have an image.php files and tried replacing the code in there, and i tried it in the single post too, but that did nothing, but yeah it showed up as code when i put it in the image.php file, and i didn&#39;t see any reason why, as in your last post about getting exif data, the code was just another php statement, so it should have worked, but just printed out the code, perhaps i should have posted my problem on your last week&#39;s post about getting exif data</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elaine</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218689</link>
		<dc:creator>Elaine</dc:creator>
		<pubDate>Tue, 29 Jul 2008 05:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218689</guid>
		<description>where are you supposed to put the code in the image.php file? because it didn&#039;t work for me, it just printed out the code on my page.. i don&#039;t want to see a bunch of php code in my gallery... guess i&#039;ll have to find another way of extracting the EXIF </description>
		<content:encoded><![CDATA[<p>where are you supposed to put the code in the image.php file? because it didn&#39;t work for me, it just printed out the code on my page.. i don&#39;t want to see a bunch of php code in my gallery&#8230; guess i&#39;ll have to find another way of extracting the EXIF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218234</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Mon, 28 Jul 2008 11:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218234</guid>
		<description>Good to hear John. Don&#039;t forget next week&#039;s post will end the 3 parter, with a few more tricks to use :) </description>
		<content:encoded><![CDATA[<p>Good to hear John. Don&#39;t forget next week&#39;s post will end the 3 parter, with a few more tricks to use <img src='http://www.bloggingtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Young &#124; We Have</title>
		<link>http://www.bloggingtips.com/2008/07/27/theming-your-wordpress-gallery/#comment-218208</link>
		<dc:creator>John Young &#124; We Have</dc:creator>
		<pubDate>Mon, 28 Jul 2008 10:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloggingtips.com/?p=2122#comment-218208</guid>
		<description>This is a very interesting post and one that I&#039;ll have to give some consideration in the future.  We&#039;ve been toying with the idea of instituting a gallery on our site and this info will come in handy! </description>
		<content:encoded><![CDATA[<p>This is a very interesting post and one that I&#39;ll have to give some consideration in the future.  We&#39;ve been toying with the idea of instituting a gallery on our site and this info will come in handy!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

