<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Waterfall Web &#187; gallery</title>
	<atom:link href="http://www.waterfallweb.net/archives/tag/gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.waterfallweb.net</link>
	<description>website design, development, marketing and management (and the odd gadget)</description>
	<lastBuildDate>Tue, 23 Feb 2010 10:42:05 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Displaying a gallery description using NextGen Gallery for Wordpress</title>
		<link>http://www.waterfallweb.net/archives/2009/03/displaying-a-gallery-description-using-nextgen-gallery-for-wordpress/</link>
		<comments>http://www.waterfallweb.net/archives/2009/03/displaying-a-gallery-description-using-nextgen-gallery-for-wordpress/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 07:29:59 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[nextgen]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.waterfallweb.net/?p=212</guid>
		<description><![CDATA[Been battling with the excellent NextGen gallery plugin for Wordpress this afternoon.
I had created an Album, which is a container for mutiple Galleries. Simple enough. But then, once you had selected a Gallery, I wanted to display the Gallery description on the Gallery page above the thumbnails.
In the Manage gallery section you can type a [...]]]></description>
			<content:encoded><![CDATA[<p>Been battling with the excellent <a href="http://wordpress.org/extend/plugins/nextgen-gallery/">NextGen gallery plugin</a> for Wordpress this afternoon.</p>
<p>I had created an Album, which is a container for mutiple Galleries. Simple enough. But then, once you had selected a Gallery, I wanted to display the Gallery description on the Gallery page above the thumbnails.</p>
<p>In the Manage gallery section you can type a description, but it didn&#8217;t seem there was any way to display that on the actual website.</p>
<p>So if you need to, open the file gallery.php which is inside the plugins directory, <code>nextgen-gallery/view/gallery.php</code></p>
<p>Next, above the line<br />
<code>&lt;div class="ngg-galleryoverview" id="ngg-gallery-&lt;?php echo $gallery-&gt;ID ?&gt;"&gt;</code><br />
add this:<br />
<code>&lt;h2&gt;&lt;?php echo $gallery-&gt;title; ?&gt;&lt;/h2&gt;<br />
&lt;p class="gallery-desc"&gt;&lt;?php echo nl2br($gallery-&gt;description); ?&gt;&lt;/p&gt;</code></p>
<p>This will give you an H2 with the Gallery Title, and then the description below it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.waterfallweb.net/archives/2009/03/displaying-a-gallery-description-using-nextgen-gallery-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
