<?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>Narasopa Media &#187; Wordpress Hacks</title>
	<atom:link href="http://narasopa.com/seoblog/category/wordpress-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://narasopa.com/seoblog</link>
	<description>advanced business solutions</description>
	<lastBuildDate>Thu, 15 Apr 2010 18:13:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Moving Description in NextGen Gallery</title>
		<link>http://narasopa.com/seoblog/2010/02/moving-description-in-nextgen-gallery/</link>
		<comments>http://narasopa.com/seoblog/2010/02/moving-description-in-nextgen-gallery/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:10:44 +0000</pubDate>
		<dc:creator>Justin Handley</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[Amp]]></category>
		<category><![CDATA[Content Themes]]></category>
		<category><![CDATA[Desc]]></category>
		<category><![CDATA[Description Document]]></category>
		<category><![CDATA[Div Tags]]></category>
		<category><![CDATA[Document Getelementbyid]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Gal]]></category>
		<category><![CDATA[Gallery Thumbnails]]></category>
		<category><![CDATA[Image Browser]]></category>
		<category><![CDATA[Image Description]]></category>
		<category><![CDATA[Innerhtml]]></category>
		<category><![CDATA[Moving]]></category>
		<category><![CDATA[Php Image]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Programming Team]]></category>
		<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Top Of My Head]]></category>

		<guid isPermaLink="false">http://narasopa.com/seoblog/?p=43</guid>
		<description><![CDATA[So, this is in response to Freaq&#8217;s question on the post Adding Title and Description to Nextgen Gallery Thumbnails. He had a site and he wanted to display the image description in the sidebar, not in the main embedded gallery. To his credit, I couldn&#8217;t figure it out off the top of my head, so [...]]]></description>
			<content:encoded><![CDATA[<p>So, this is in response to Freaq&#8217;s question on the post <a href="http://narasopa.com/seoblog/2009/02/adding-title-and-description-to-nextgen-gallery-thumbnails/">Adding Title and Description to Nextgen Gallery Thumbnails</a>.  He had a site and he wanted to display the image description in the sidebar, not in the main embedded gallery.</p>
<p>To his credit, I couldn&#8217;t figure it out off the top of my head, so he hired my programming team to look into it, and he is kind enough to have given us permission to post the solution we came up with publicly so that if any of you need it it&#8217;s here&#8230;</p>
<p><strong>Left sidebar page</strong><br />
wp-content\themes\THEME\l_sidebar.php</p>
<p>In left sidebar page we have changed div id from “desc” to “gallery_desc”.</p>
<p><strong>Image Browser page</strong><br />
wp-content\plugins\nextgen-gallery\view\imagebrowser.php </p>
<p>In image browser page we added below mentioned code. </p>
<p><code>&lt;div id="gal_title" style="display:none;"&gt;&lt;b&gt;&lt;?php echo ucfirst($image-&gt;alttext) ?&gt;&lt;/b&gt;&lt;/div&gt;<br />
&lt;div id="gal_desc" style="display:none;"&gt;&lt;p&gt;&lt;?php echo ucfirst($image-&gt;description) ?&gt;&lt;/p&gt;&lt;/div&gt;<br />
&lt;script language="javascript" type="text/javascript"&gt;	document.getElementById('gallery_desc').innerHTML = document.getElementById('gal_title').innerHTML+document.getElementById('gal_desc').innerHTML;<br />
&lt;/script&gt;</code></p>
<p>In place of </p>
<p><code>&lt;div class="ngg-imagebrowser-desc"&gt;&lt;h6&gt;&lt;?php echo $image-&gt;description ?&gt;&lt;/h6&gt;&lt;/div&gt;</code></p>
<p>Here we are putting the title &amp; description in hidden div tags, and after loading the page, we allocate these values to left panel div tag having id “gallery_desc”.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong><br />
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;t=Moving%20Description%20in%20NextGen%20Gallery" title="Facebook"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Moving%20Description%20in%20NextGen%20Gallery%20-%20http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F" title="Twitter"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;t=Moving%20Description%20in%20NextGen%20Gallery" title="MySpace"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;title=Moving%20Description%20in%20NextGen%20Gallery&amp;bodytext=So%2C%20this%20is%20in%20response%20to%20Freaq%27s%20question%20on%20the%20post%20Adding%20Title%20and%20Description%20to%20Nextgen%20Gallery%20Thumbnails.%20%20He%20had%20a%20site%20and%20he%20wanted%20to%20display%20the%20image%20description%20in%20the%20sidebar%2C%20not%20in%20the%20main%20embedded%20gallery.%0D%0A%0D%0ATo%20his%20credit%2C%20I%20co" title="Digg"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;title=Moving%20Description%20in%20NextGen%20Gallery&amp;notes=So%2C%20this%20is%20in%20response%20to%20Freaq%27s%20question%20on%20the%20post%20Adding%20Title%20and%20Description%20to%20Nextgen%20Gallery%20Thumbnails.%20%20He%20had%20a%20site%20and%20he%20wanted%20to%20display%20the%20image%20description%20in%20the%20sidebar%2C%20not%20in%20the%20main%20embedded%20gallery.%0D%0A%0D%0ATo%20his%20credit%2C%20I%20co" title="del.icio.us"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;h=Moving%20Description%20in%20NextGen%20Gallery" title="NewsVine"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;title=Moving%20Description%20in%20NextGen%20Gallery" title="Reddit"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;title=Moving%20Description%20in%20NextGen%20Gallery" title="StumbleUpon"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;title=Moving%20Description%20in%20NextGen%20Gallery&amp;source=Narasopa+Media+advanced+business+solutions&amp;summary=So%2C%20this%20is%20in%20response%20to%20Freaq%27s%20question%20on%20the%20post%20Adding%20Title%20and%20Description%20to%20Nextgen%20Gallery%20Thumbnails.%20%20He%20had%20a%20site%20and%20he%20wanted%20to%20display%20the%20image%20description%20in%20the%20sidebar%2C%20not%20in%20the%20main%20embedded%20gallery.%0D%0A%0D%0ATo%20his%20credit%2C%20I%20co" title="LinkedIn"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;title=Moving%20Description%20in%20NextGen%20Gallery" title="Live"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;title=Moving%20Description%20in%20NextGen%20Gallery&amp;annotation=So%2C%20this%20is%20in%20response%20to%20Freaq%27s%20question%20on%20the%20post%20Adding%20Title%20and%20Description%20to%20Nextgen%20Gallery%20Thumbnails.%20%20He%20had%20a%20site%20and%20he%20wanted%20to%20display%20the%20image%20description%20in%20the%20sidebar%2C%20not%20in%20the%20main%20embedded%20gallery.%0D%0A%0D%0ATo%20his%20credit%2C%20I%20co" title="Google Bookmarks"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2010%2F02%2Fmoving-description-in-nextgen-gallery%2F&amp;submitHeadline=Moving%20Description%20in%20NextGen%20Gallery&amp;submitSummary=So%2C%20this%20is%20in%20response%20to%20Freaq%27s%20question%20on%20the%20post%20Adding%20Title%20and%20Description%20to%20Nextgen%20Gallery%20Thumbnails.%20%20He%20had%20a%20site%20and%20he%20wanted%20to%20display%20the%20image%20description%20in%20the%20sidebar%2C%20not%20in%20the%20main%20embedded%20gallery.%0D%0A%0D%0ATo%20his%20credit%2C%20I%20co&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://narasopa.com/seoblog/2010/02/moving-description-in-nextgen-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Redirects to Contact Form 7</title>
		<link>http://narasopa.com/seoblog/2009/08/adding-redirects-to-contact-form-7/</link>
		<comments>http://narasopa.com/seoblog/2009/08/adding-redirects-to-contact-form-7/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 17:39:48 +0000</pubDate>
		<dc:creator>Justin Handley</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[Business Community]]></category>
		<category><![CDATA[Contact]]></category>
		<category><![CDATA[Contacts]]></category>
		<category><![CDATA[Conversion Code]]></category>
		<category><![CDATA[Conversions]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Home Based Business]]></category>
		<category><![CDATA[Miraculous Piece]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Url]]></category>

		<guid isPermaLink="false">http://narasopa.com/seoblog/?p=27</guid>
		<description><![CDATA[As you probably know by now, I use WordPress on a lot of different sites &#8211; I really think that it is a miraculous piece of software. Recently I&#8217;ve been approached by quite a lot of people in the home based business community who are doing Google Adwords advertising on their sites, and need to [...]]]></description>
			<content:encoded><![CDATA[<p>As you probably know by now, I use WordPress on a lot of different sites &#8211; I really think that it is a miraculous piece of software.  Recently I&#8217;ve been approached by quite a lot of people in the home based business community who are doing Google Adwords advertising on their sites, and need to track conversions.</p>
<p>One of my favorite <a href="http://www.wordpresssites.com.au/category/wordpress/wordpress-plugins" target="_blank" title="Wordpress plugins">WordPress plugins</a> is <a href="http://www.websitecleanup.com/web_form_protection.php" target="_blank" title="Contact Form">Contact Form</a> 7 &#8211; it is a powerful and extremely simple <a href="http://www.websitecleanup.com/web_form_protection.php" target="_blank" title="contact form">contact form</a> that can be set up in a matter of seconds.  Until recently, though, there was no good way to get it to use a custom thank you page &#8211; you had to go into the code and hack about, and they were releasing updates on a frequent enough basis that by the time you had your hack in place they were already asking you to upgrade the software.</p>
<p>Anyhow, this has now been fixed and the solution is ever so easy.</p>
<p>At the bottom of the settings page for <a href="http://www.websitecleanup.com/web_form_protection.php" target="_blank" title="Contact Form">Contact Form</a> 7 is something called &#8220;Additional Settings&#8221;</p>
<p>Simply paste the code below into that box, edit the thank you page to reflect the URL that you want, and you are off!</p>
<p><code>on_sent_ok: "location.replace('http://www.mysite.com/mypage.html');"</code></p>
<p>Then simply paste the conversion code into your thank you page and you are ready to track contacts / signups on your site!</p>
<p>Note:<br />
I found this solution on the comments at http://www.grapethinking.com/wordpress-contact-form-7-plugin-landing-pag &#8211; I will keep my eyes out for any further updates, just wanted to post this clearly as I had to dig around for hours to find it!!</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong><br />
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;t=Adding%20Redirects%20to%20Contact%20Form%207" title="Facebook"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Adding%20Redirects%20to%20Contact%20Form%207%20-%20http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F" title="Twitter"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;t=Adding%20Redirects%20to%20Contact%20Form%207" title="MySpace"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;title=Adding%20Redirects%20to%20Contact%20Form%207&amp;bodytext=As%20you%20probably%20know%20by%20now%2C%20I%20use%20Wordpress%20on%20a%20lot%20of%20different%20sites%20-%20I%20really%20think%20that%20it%20is%20a%20miraculous%20piece%20of%20software.%20%20Recently%20I%27ve%20been%20approached%20by%20quite%20a%20lot%20of%20people%20in%20the%20home%20based%20business%20community%20who%20are%20doing%20Google%20Adw" title="Digg"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;title=Adding%20Redirects%20to%20Contact%20Form%207&amp;notes=As%20you%20probably%20know%20by%20now%2C%20I%20use%20Wordpress%20on%20a%20lot%20of%20different%20sites%20-%20I%20really%20think%20that%20it%20is%20a%20miraculous%20piece%20of%20software.%20%20Recently%20I%27ve%20been%20approached%20by%20quite%20a%20lot%20of%20people%20in%20the%20home%20based%20business%20community%20who%20are%20doing%20Google%20Adw" title="del.icio.us"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;h=Adding%20Redirects%20to%20Contact%20Form%207" title="NewsVine"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;title=Adding%20Redirects%20to%20Contact%20Form%207" title="Reddit"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;title=Adding%20Redirects%20to%20Contact%20Form%207" title="StumbleUpon"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;title=Adding%20Redirects%20to%20Contact%20Form%207&amp;source=Narasopa+Media+advanced+business+solutions&amp;summary=As%20you%20probably%20know%20by%20now%2C%20I%20use%20Wordpress%20on%20a%20lot%20of%20different%20sites%20-%20I%20really%20think%20that%20it%20is%20a%20miraculous%20piece%20of%20software.%20%20Recently%20I%27ve%20been%20approached%20by%20quite%20a%20lot%20of%20people%20in%20the%20home%20based%20business%20community%20who%20are%20doing%20Google%20Adw" title="LinkedIn"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;title=Adding%20Redirects%20to%20Contact%20Form%207" title="Live"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;title=Adding%20Redirects%20to%20Contact%20Form%207&amp;annotation=As%20you%20probably%20know%20by%20now%2C%20I%20use%20Wordpress%20on%20a%20lot%20of%20different%20sites%20-%20I%20really%20think%20that%20it%20is%20a%20miraculous%20piece%20of%20software.%20%20Recently%20I%27ve%20been%20approached%20by%20quite%20a%20lot%20of%20people%20in%20the%20home%20based%20business%20community%20who%20are%20doing%20Google%20Adw" title="Google Bookmarks"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F08%2Fadding-redirects-to-contact-form-7%2F&amp;submitHeadline=Adding%20Redirects%20to%20Contact%20Form%207&amp;submitSummary=As%20you%20probably%20know%20by%20now%2C%20I%20use%20Wordpress%20on%20a%20lot%20of%20different%20sites%20-%20I%20really%20think%20that%20it%20is%20a%20miraculous%20piece%20of%20software.%20%20Recently%20I%27ve%20been%20approached%20by%20quite%20a%20lot%20of%20people%20in%20the%20home%20based%20business%20community%20who%20are%20doing%20Google%20Adw&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://narasopa.com/seoblog/2009/08/adding-redirects-to-contact-form-7/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Adding Title and Description to NextGen Gallery Thumbnails</title>
		<link>http://narasopa.com/seoblog/2009/02/adding-title-and-description-to-nextgen-gallery-thumbnails/</link>
		<comments>http://narasopa.com/seoblog/2009/02/adding-title-and-description-to-nextgen-gallery-thumbnails/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 17:58:47 +0000</pubDate>
		<dc:creator>Justin Handley</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[Captions]]></category>
		<category><![CDATA[Columns]]></category>
		<category><![CDATA[Displays]]></category>
		<category><![CDATA[Div]]></category>
		<category><![CDATA[Gallery Thumbnail]]></category>
		<category><![CDATA[Gallery View]]></category>
		<category><![CDATA[Goals]]></category>
		<category><![CDATA[Image Tag]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Style Sheet]]></category>
		<category><![CDATA[Thumbnails]]></category>
		<category><![CDATA[Thumbnails Gallery]]></category>
		<category><![CDATA[Title Description]]></category>
		<category><![CDATA[Top Of The List]]></category>

		<guid isPermaLink="false">http://narasopa.com/seoblog/?p=18</guid>
		<description><![CDATA[So, in setting up a project for a recent client I came upon the question &#8211; what gallery do I use as a WordPress plugin to acheive my goals?  After trying a few out, NextGen Gallery floated to the top of the list, but for the way I wanted to display the data it wasn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>So, in setting up a project for a recent client I came upon the question &#8211; what gallery do I use as a <a href="http://www.geekthegathering.com/category/wordpress/" target="_blank" title="Wordpress plugin">WordPress plugin</a> to acheive my goals?  After trying a few out, NextGen Gallery floated to the top of the list, but for the way I wanted to display the data it wasn&#8217;t perfect.</p>
<p>The primary issue was that on the view of an album where it shows all of the thumbnails in a grid, I wanted to see the title and description of the picture.</p>
<p>The fix is actually fairly simple.</p>
<p>In the nextgen-gallery/view folder is a file called &#8220;gallery.php&#8221;.</p>
<p>In that file, there is a little block of code which displays the thumbnails.</p>
<p><code>&lt;?php foreach ($images as $image) : ?&gt;</p>
<p>	&lt;div id="ngg-image-&lt;?php echo $image-&gt;pid ?&gt;" class="ngg-gallery-thumbnail-box" &lt;?php echo $gallery-&gt;imagewidth ?&gt; &gt;<br />
		&lt;div class="ngg-gallery-thumbnail" &gt;</p>
<p>			&lt;a href="&lt;?php echo $image-&gt;imageURL ?&gt;" title="&lt;?php echo $image-&gt;description ?&gt;" &lt;?php echo $image-&gt;thumbcode ?&gt; &gt;<br />
				&lt;img title="&lt;?php echo $image-&gt;alttext ?&gt;" alt="&lt;?php echo $image-&gt;alttext ?&gt;" src="&lt;?php echo $image-&gt;thumbnailURL ?&gt;" border="0" &lt;?php echo $image-&gt;size ?&gt; /&gt;<br />
			&lt;/a&gt;</p>
<p>		&lt;/div&gt;<br />
	&lt;/div&gt;<br />
	&lt;?php if ( $gallery-&gt;columns &gt; 0 &amp;&amp; ++$i % $gallery-&gt;columns == 0 ) { ?&gt;<br />
	&lt;br style="clear: both" /&gt;<br />
	&lt;?php } ?&gt;<br />
 	&lt;?php endforeach; ?&gt;</code></p>
<p>What we need to do is add this bit of code:</p>
<p><code><br />
&lt;p align="left" style="margin-left:0px;"&gt;<br />
&lt;strong&gt;&lt;?php echo $image-&gt;alttext ?&gt;&lt;/strong&gt;<br />
&lt;br /&gt;<br />
&lt;?php echo $image-&gt;description ?&gt;<br />
&lt;/p&gt;</code></p>
<p>Right below the image tag.</p>
<p>Which is fine.  For my template, I also wanted the top of all captions to be at the same height, even though I don&#8217;t use cropping on my thumbnails so that images are different heights (by default, this will display the text right under your image).  So, I also created a little css and put it in NextGen&#8217;s style sheet:</p>
<p><code>.ngg-gallery-imagewrap {<br />
	height:175px;<br />
}</code></p>
<p>And then wrapped the image in a div with the class of ngg-gallery-imagewrap.</p>
<p>My final code looked like this:</p>
<p><code>&lt;?php foreach ($images as $image) : ?&gt;</p>
<p>	&lt;div id="ngg-image-&lt;?php echo $image-&gt;pid ?&gt;" class="ngg-gallery-thumbnail-box" &lt;?php echo $gallery-&gt;imagewidth ?&gt; &gt;<br />
		&lt;div class="ngg-gallery-thumbnail" &gt;<br />
&lt;div class="ngg-gallery-imagewrap"&gt;<br />
			&lt;a href="&lt;?php echo $image-&gt;imageURL ?&gt;" title="&lt;?php echo $image-&gt;description ?&gt;" &lt;?php echo $image-&gt;thumbcode ?&gt; &gt;<br />
				&lt;img title="&lt;?php echo $image-&gt;alttext ?&gt;" alt="&lt;?php echo $image-&gt;alttext ?&gt;" src="&lt;?php echo $image-&gt;thumbnailURL ?&gt;" border="0" &lt;?php echo $image-&gt;size ?&gt; /&gt;<br />
			&lt;/a&gt;&lt;/div&gt;</p>
<p>&lt;p align="left" style="margin-left:0px;"&gt;&lt;strong&gt;&lt;?php echo $image-&gt;alttext ?&gt;&lt;/strong&gt;&lt;br /&gt;<br />
&lt;?php echo $image-&gt;description ?&gt;&lt;/p&gt;</p>
<p>		&lt;/div&gt;<br />
	&lt;/div&gt;<br />
	&lt;?php if ( $gallery-&gt;columns &gt; 0 &amp;&amp; ++$i % $gallery-&gt;columns == 0 ) { ?&gt;<br />
	&lt;br style="clear: both" /&gt;<br />
	&lt;?php } ?&gt;<br />
 	&lt;?php endforeach; ?&gt;</code></p>
<p>And you can <a href="http://69.93.209.250/~adcrefer/residential/interiors/living-rooms" target="_blank">see the result here</a>.</p>
<p>Post a comment if you have any questions &#8211; I&#8217;m <a href="http://happinessliftoff.com" target="_blank" title="happy">happy</a> to help!</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong><br />
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;t=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails" title="Facebook"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails%20-%20http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F" title="Twitter"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;t=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails" title="MySpace"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;title=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails&amp;bodytext=So%2C%20in%20setting%20up%20a%20project%20for%20a%20recent%20client%20I%20came%20upon%20the%20question%20-%20what%20gallery%20do%20I%20use%20as%20a%20Wordpress%20plugin%20to%20acheive%20my%20goals%3F%20%C2%A0After%20trying%20a%20few%20out%2C%20NextGen%20Gallery%20floated%20to%20the%20top%20of%20the%20list%2C%20but%20for%20the%20way%20I%20wanted%20to%20display%20" title="Digg"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;title=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails&amp;notes=So%2C%20in%20setting%20up%20a%20project%20for%20a%20recent%20client%20I%20came%20upon%20the%20question%20-%20what%20gallery%20do%20I%20use%20as%20a%20Wordpress%20plugin%20to%20acheive%20my%20goals%3F%20%C2%A0After%20trying%20a%20few%20out%2C%20NextGen%20Gallery%20floated%20to%20the%20top%20of%20the%20list%2C%20but%20for%20the%20way%20I%20wanted%20to%20display%20" title="del.icio.us"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;h=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails" title="NewsVine"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;title=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails" title="Reddit"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;title=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails" title="StumbleUpon"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;title=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails&amp;source=Narasopa+Media+advanced+business+solutions&amp;summary=So%2C%20in%20setting%20up%20a%20project%20for%20a%20recent%20client%20I%20came%20upon%20the%20question%20-%20what%20gallery%20do%20I%20use%20as%20a%20Wordpress%20plugin%20to%20acheive%20my%20goals%3F%20%C2%A0After%20trying%20a%20few%20out%2C%20NextGen%20Gallery%20floated%20to%20the%20top%20of%20the%20list%2C%20but%20for%20the%20way%20I%20wanted%20to%20display%20" title="LinkedIn"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;title=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails" title="Live"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;title=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails&amp;annotation=So%2C%20in%20setting%20up%20a%20project%20for%20a%20recent%20client%20I%20came%20upon%20the%20question%20-%20what%20gallery%20do%20I%20use%20as%20a%20Wordpress%20plugin%20to%20acheive%20my%20goals%3F%20%C2%A0After%20trying%20a%20few%20out%2C%20NextGen%20Gallery%20floated%20to%20the%20top%20of%20the%20list%2C%20but%20for%20the%20way%20I%20wanted%20to%20display%20" title="Google Bookmarks"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fnarasopa.com%2Fseoblog%2F2009%2F02%2Fadding-title-and-description-to-nextgen-gallery-thumbnails%2F&amp;submitHeadline=Adding%20Title%20and%20Description%20to%20NextGen%20Gallery%20Thumbnails&amp;submitSummary=So%2C%20in%20setting%20up%20a%20project%20for%20a%20recent%20client%20I%20came%20upon%20the%20question%20-%20what%20gallery%20do%20I%20use%20as%20a%20Wordpress%20plugin%20to%20acheive%20my%20goals%3F%20%C2%A0After%20trying%20a%20few%20out%2C%20NextGen%20Gallery%20floated%20to%20the%20top%20of%20the%20list%2C%20but%20for%20the%20way%20I%20wanted%20to%20display%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://narasopa.com/seoblog/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://narasopa.com/seoblog/2009/02/adding-title-and-description-to-nextgen-gallery-thumbnails/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
	</channel>
</rss>
