<?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>scriptygoddess &#187; WordPress Plugins</title>
	<atom:link href="http://www.scriptygoddess.com/archives/category/wordpress/wordpress-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com</link>
	<description></description>
	<lastBuildDate>Tue, 24 Aug 2010 13:58:43 +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>Really awesome membership plugin for WordPress</title>
		<link>http://www.scriptygoddess.com/archives/2010/04/07/really-awesome-membership-plugin-for-wordpress/</link>
		<comments>http://www.scriptygoddess.com/archives/2010/04/07/really-awesome-membership-plugin-for-wordpress/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 14:37:53 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1635</guid>
		<description><![CDATA[A project I was working on recently required the use of a membership plugin. I had done some research on membership plugins awhile back and remembered only finding ones that were pretty pricey. One last ditch effort searching through the plugin repository on WordPress.org &#8211; I found one that I hadn&#039;t remembered seeing before: S2Member. [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2010/03/14/custom-template-for-parent-and-sub-categories-without-a-plugin-in-wordpress/' rel='bookmark' title='Permanent Link: Custom Template for Parent and Sub Categories (without a plugin) in WordPress'>Custom Template for Parent and Sub Categories (without a plugin) in WordPress</a> <small>When using WordPress as a CMS, I often repurpose the...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/' rel='bookmark' title='Permanent Link: Multiple Featured Content Galleries'>Multiple Featured Content Galleries</a> <small>On a site I was working on recently, the client...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>A project I was working on recently required the use of a membership plugin. I had done some research on membership plugins awhile back and remembered only finding ones that were pretty pricey. One last ditch effort searching through the plugin repository on WordPress.org &#8211; I found one that I hadn&#039;t remembered seeing before: <a href="http://www.primothemes.com/post/s2member-membership-plugin-with-paypal/">S2Member</a>. This plugin really is packed with features and gives the others a run for their money. If you are in the market for a membership plugin &#8211; definitely give this one a try first. (And if you&#039;re happy with it, make sure you contribute to it&#039;s development. If we all chip in, we all benefit!) (<a href="http://wordpress.org/extend/plugins/s2member/">Here&#039;s the download page on wordpress.org</a>)</p>
<p>Here&#039;s the plugin description taken from the download page:</p>
<p><em>s2Member is a full-featured membership management system for WordPress®. It provides a very tight integration with PayPal® Subscriptions, and fully supports recurring billing with the ability to track affiliate commissions on a recurring basis. s2Member supports up to 4 different levels of membership with custom labels. It supports custom Pages for signup, account access, and many others. It also supports the ability to protect certain Pages, certain Posts, certain Categories/Tags, certain parts of content, and even includes advanced documentation on how to utilize the PHP runtime constants provided by the s2Member API. s2Member also supports protected file downloads with limitations on the how many files each user ( or each level ) can download in a given period of time.</em></p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2010/03/14/custom-template-for-parent-and-sub-categories-without-a-plugin-in-wordpress/' rel='bookmark' title='Permanent Link: Custom Template for Parent and Sub Categories (without a plugin) in WordPress'>Custom Template for Parent and Sub Categories (without a plugin) in WordPress</a> <small>When using WordPress as a CMS, I often repurpose the...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/' rel='bookmark' title='Permanent Link: Multiple Featured Content Galleries'>Multiple Featured Content Galleries</a> <small>On a site I was working on recently, the client...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2010/04/07/really-awesome-membership-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Multiple Featured Content Galleries</title>
		<link>http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/</link>
		<comments>http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 17:44:40 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1623</guid>
		<description><![CDATA[On a site I was working on recently, the client was using the Featured Content Galleries plugin for their homepage (you can download it from here) &#8211; but they wanted to add a gallery like this to other pages on their website and have other featured content on those pages. This is not a feature [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/' rel='bookmark' title='Permanent Link: Two Blocks of Content for Pages in WordPress'>Two Blocks of Content for Pages in WordPress</a> <small>I just saw this plugin show up on the WordPress...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/27/striping-img-tags-from-the_content-in-wordpress-and-how-to-fudge-page-excerpts/' rel='bookmark' title='Permanent Link: Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)'>Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)</a> <small>Background: For a site I was working on, I was...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>On a site I was working on recently, the client was using the <a href="http://www.featuredcontentgallery.com/">Featured Content Galleries</a> plugin for their homepage (<a href="http://wordpress.org/extend/plugins/featured-content-gallery/">you can download it from here</a>) &#8211; but they wanted to add a gallery like this to other pages on their website and have other featured content on those pages. This is not a feature currently supported &#034;out of the box&#034; with this plugin. But hacking it in is pretty easy.</p>
<p>First &#8211; you will need to create a category that you will use for the other Featured Content Galleries &#8211; one per page you want to use it with. Assign posts you want to appear in the featured content gallery with this new category. For example &#8211; lets say on your homepage you&#039;re running the featured content gallery, and it&#039;s showing posts from the &#034;featured-posts&#034; category. But lets say you have a &#034;products&#034; page and on that page, you only want articles related to your products showing up on that page. So you would need to create another category &#8211; lets call it &#034;featured-posts-about-products&#034;. Then assign this new category to your articles about products. (**Make a note of what the category ID is of this new category!)</p>
<p>You will still need to make sure those posts have a custom field with a key of &#034;articleimg&#034; and a value that is the full URL to the image you want in the featured content gallery.</p>
<p>Now we can start hacking at the plugin&#8230;</p>
<p>Open up <strong>gallery.php</strong> (found in the <strong>featured-content-gallery</strong> plugin directory). MAKE A BACKUP OF GALLERY.PHP JUST IN CASE! <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Then, look for this line:</p>
<pre class="brush: php;">query_posts('category_name=' . get_option('gallery-category') . '&amp;showposts=' . get_option('gallery-items'));</pre>
<p>and replace with the following:</p>
<pre class="brush: php;">$categoryToUse = 'category_name=' . get_option('gallery-category');
if (isset($catidforgallery) &amp;&amp; is_numeric($catidforgallery)) {
$categoryToUse = 'cat=' . $catidforgallery;
}
query_posts($categoryToUse . '&amp;showposts=' . get_option('gallery-items'));</pre>
<p>NOW in your theme &#8211; where you have the featured content gallery appearing &#8211; if you want it to pull from that special category, you can do this:</p>
<pre class="brush: php;">&lt;?php
$catidforgallery = 1234;
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
?&gt;</pre>
<p>The above code assumes our category ID is &#034;1234&#034;.</p>
<p>But lets say you&#039;re using this template for a number of different pages, and on each one you want a different content gallery&#8230; Again, set up these new categories, make notes of what their IDs are &#8211; then on each page that&#039;s using this template, to specify what category ID the featured content gallery should use, add a custom field with a key of &#034;category-feature-rotator&#034; and a value of the category ID you want in the gallery.</p>
<p>Modify the theme/template code to this instead:</p>
<pre class="brush: php;">&lt;?php
$category_feature_rotator = get_post_meta($post-&gt;ID, &quot;category-feature-rotator&quot;, true);
$catidforgallery = false;
if (isset($category_feature_rotator) &amp;&amp; $category_feature_rotator != 0) {
$catidforgallery = $category_feature_rotator;
}
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
?&gt;</pre>
<p>That will look for the custom field and use the category ID you put in for that custom field &#8211; and if it&#039;s not there &#8211; then it will just default to the category specified on the Featured Content Gallery options page.</p>
<p>IMPORTANT NOTE: If/when there is an update to the Feature Content Gallery plugin &#8211; upgrading will overwrite these changes. This post was written for version 3.2.0 of the plugin. Hopefully they&#039;ll build this feature in a next release of the plugin. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>UPDATE 11/16/09</strong> <a href="http://ArtisanPhotography.com/">Greg</a> had asked in the comments about being able to do a similar technique with multiple featured content galleries, but being able to specify page IDs. He was able to solve the problem before I could and sent me the solution. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>To use Page IDs in the gallery:</strong> On the page you want to have the gallery displayed on, create a custom field with a key of &#034;pageids&#034; &#8211; and for the value, give a comma seperated list of page ids.</p>
<p>Where I had been pulling the &#034;category-feature-rotator&#034; custom field &#8211; replace that with the following:</p>
<pre class="brush: php;">$pageids = get_post_meta($post-&gt;ID, &quot;pageids&quot;, true);</pre>
<p>Then look for the following line in gallery.php (should be around 24)</p>
<pre class="brush: php;">$arr = split(&quot;,&quot;,get_option('gallery-items-pages'));</pre>
<p>and change it to this:</p>
<pre class="brush: php;">$arr = split(&quot;,&quot;,($pageids));</pre>
<p><em>*Note: I haven&#039;t personally tested the Page ID method &#8211; so if you try it &#8211; please report back how it goes&#8230;</em></p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/' rel='bookmark' title='Permanent Link: Two Blocks of Content for Pages in WordPress'>Two Blocks of Content for Pages in WordPress</a> <small>I just saw this plugin show up on the WordPress...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/27/striping-img-tags-from-the_content-in-wordpress-and-how-to-fudge-page-excerpts/' rel='bookmark' title='Permanent Link: Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)'>Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)</a> <small>Background: For a site I was working on, I was...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Two Blocks of Content for Pages in WordPress</title>
		<link>http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/</link>
		<comments>http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 01:44:46 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1621</guid>
		<description><![CDATA[I just saw this plugin show up on the WordPress Plugins list. WOW! I haven&#039;t had a chance to use it yet, but can think of a dozen places where I can use this feature!!! Very excited to see it! Secondary HTML Content &#8211; WordPress Plugin Related posts:Delink Pages Plugin (Plugin and this post last [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/' rel='bookmark' title='Permanent Link: Conditionally change path to HTTPS'>Conditionally change path to HTTPS</a> <small>One of my clients had set it up so that...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/27/adding-a-block-of-html-to-a-wordpress-post/' rel='bookmark' title='Permanent Link: Adding a block of HTML to a WordPress post'>Adding a block of HTML to a WordPress post</a> <small>One problem with the WYSIWYG editor in WordPress is that...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I just saw this plugin show up on the WordPress Plugins list. WOW! I haven&#039;t had a chance to use it yet, but can think of a dozen places where I can use this feature!!! Very excited to see it!</p>
<p><a href="http://wordpress.org/extend/plugins/secondary-html-content/">Secondary HTML Content &#8211; WordPress Plugin</a></p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/' rel='bookmark' title='Permanent Link: Conditionally change path to HTTPS'>Conditionally change path to HTTPS</a> <small>One of my clients had set it up so that...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/27/adding-a-block-of-html-to-a-wordpress-post/' rel='bookmark' title='Permanent Link: Adding a block of HTML to a WordPress post'>Adding a block of HTML to a WordPress post</a> <small>One problem with the WYSIWYG editor in WordPress is that...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Delink Pages Plugin</title>
		<link>http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/</link>
		<comments>http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 17:57:57 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1619</guid>
		<description><![CDATA[(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin Version: 1.1.1 &#8211; see changelog at bottom of post) I have been wanting to do more wordpress plugin development, but it has a somewhat steep learning curve. So I&#039;m testing the waters a bit here. I&#039;ve done some testing with the plugin, but feedback is [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/' rel='bookmark' title='Permanent Link: Conditionally change path to HTTPS'>Conditionally change path to HTTPS</a> <small>One of my clients had set it up so that...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/12/search-from-wordpress-admin-post-listing-redirecting-to-home-page/' rel='bookmark' title='Permanent Link: Search from WordPress Admin (Post Listing) Redirecting to Home Page'>Search from WordPress Admin (Post Listing) Redirecting to Home Page</a> <small>This is possibly the most bizarre thing I&#039;ve ever seen....</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin Version: 1.1.1 &#8211; see changelog at bottom of post)</p>
<p>I have been wanting to do more wordpress plugin development, but it has a somewhat steep learning curve. So I&#039;m testing the waters a bit here. I&#039;ve done some testing with the plugin, but feedback is appreciated. For now, if you have problems with the plugin, leave a comment here. PLEASE include contact information (fill out the email field with a valid email address!!), a URL where you have the plugin installed, any errors you&#039;re getting, etc. The more information you give me, the more likely I will able to fix the problem. </p>
<h2>Plugin Description</h2>
<p>This plugin will allow you to specify certain pages to not be linked when wp_list_pages() is used in your theme. You might want to do this if you want a header for a series of subpages, but don&#039;t specifically want that header to be a real &#034;page&#034; or link.</p>
<p>For example &#8211; you have a series of pages like this:</p>
<ul>
<li><a href="#">About Our Company</a>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Management Team</a></li>
</ul>
</li>
<li><a href="#">Our Products</a></li>
<li><a href="#">etc etc etc</a></li>
</ul>
<p>As of version 1.1 of this plugin there are two ways you can go about doing this. You can either remove the link entirely. As in no &lt;a&gt; tag at all like this:</p>
<ul>
<li>About Our Company
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Management Team</a></li>
</ul>
</li>
<li><a href="#">Our Products</a></li>
<li><a href="#">etc etc etc</a></li>
</ul>
<p>OR you can remove the link to the actual page and sawp it out for a blank link to &#034;#&#034;.</p>
<h2>Usage</h2>
<p>To use the plugin, download the zip, and unzip the file. Install it by putting the scripty-delinkpage.php in your wp-content/plugins/ directory. Activate it through the WordPress admin. Then, on pages you do not want to have a link, add a custom field with a key of &#034;delink&#034; and a value of &#034;true&#034; when you want to remove the link completely, or a value of &#034;href&#034; when you want the href value to be &#034;#&#034;.</p>
<h2>Download</h2>
<p>You can download this plugin from wordpress.org plugin directory here: <a href="http://wordpress.org/extend/plugins/delink-pages/">Delink Pages</a></p>
<h2>Changelog</h2>
<p>Version 1.1.1<br />
Minor bug fix to preg_replace</p>
<p>Version 1.1<br />
Added option for delink to have a value of &#034;href&#034; when you want don&#039;t want the link to be removed entirely but be linked to &#034;#&#034;</p>
<p>Version 1.0<br />
Initial release</p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/' rel='bookmark' title='Permanent Link: Conditionally change path to HTTPS'>Conditionally change path to HTTPS</a> <small>One of my clients had set it up so that...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/12/search-from-wordpress-admin-post-listing-redirecting-to-home-page/' rel='bookmark' title='Permanent Link: Search from WordPress Admin (Post Listing) Redirecting to Home Page'>Search from WordPress Admin (Post Listing) Redirecting to Home Page</a> <small>This is possibly the most bizarre thing I&#039;ve ever seen....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Conditionally change path to HTTPS</title>
		<link>http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/</link>
		<comments>http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 22:01:25 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1618</guid>
		<description><![CDATA[One of my clients had set it up so that one particular page in their WordPress install would load as https:// and even though they changed all links they could find in their template to use root-relative links, they were still getting complaints from IE about the page loading some secure and non-secure items. A [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>One of my clients had set it up so that one particular page in their WordPress install would load as https:// and even though they changed all links they could find in their template to use <a href="http://www.motive.co.nz/glossary/linking.php">root-relative link</a>s, they were still getting complaints from IE about the page loading some secure and non-secure items. A look through the source code revealed that two plugins in particular (an <a href="http://wordpress.org/extend/plugins/events-manager/">event manager plugin</a> and <a href="http://www.deliciousdays.com/cforms-plugin">cforms plugin</a>) pulled in their CSS or javascript files without the https. It probably got these settings from the main WordPress install, which wasn&#039;t set to use ALL https &#8211; the had just set it up so that this one page would be (using a special template for https pages). But there was no way to get that information to the plugin&#8230; So I needed to do a little hacking to the plugin(s) and add in a conditional statement that would check if the page being viewed was https &#8211; and if so, swap out http:// for https:// in the path to the file. </p>
<p>In the case of the cforms plugin, the file I had to modify was cforms.php &#8211; the line I found that pulled in the file path looks like this:</p>
<pre name="code" class="php">$cforms_root = $cformsSettings['global']['cforms_root'];</pre>
<p>So, just below that I added this:</p>
<pre name="code" class="php">if(isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "on") {
$cforms_root = str_replace("http://","https://",$cforms_root);
}</pre>
<p>Pretty simple. Of course, if/when we need to upgrade the plugin, the change will be overwritten &#8211; but it&#039;s pretty easy to add back in&#8230;</p>
<p><a href="http://www.deliciousdays.com/cforms-forum/troubleshooting/https-problems/">(Apparently, I&#039;m not the only one with this issue&#8230;)</a></p>
<p>In the case of the event manager plugin, the file I modified was dbem_events.php:</p>
<p>So just below this:</p>
<pre name="code" class="php">function dbem_general_css() {
$base_url = get_bloginfo('url');</pre>
<p>I added this:</p>
<pre name="code" class="php">if(isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "on") {
$base_url = str_replace("http://","https://",$base_url);
}</pre>
<p>No more complaints from IE.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 WordPress plugins I can&#039;t live without</title>
		<link>http://www.scriptygoddess.com/archives/2009/02/09/10-wordpress-plugins-i-cant-live-without/</link>
		<comments>http://www.scriptygoddess.com/archives/2009/02/09/10-wordpress-plugins-i-cant-live-without/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 16:00:57 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1583</guid>
		<description><![CDATA[In honor of &#034;Thank a WordPress Plugin Developer&#034; (yes, I know I&#039;m a little late. hush!) I wanted to recognize some plugins and their developers that have made my job so much easier. (FYI &#8211; Most of these plugins are particularly helpful when using WordPress as a CMS). I know these kinds of lists have [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/' rel='bookmark' title='Permanent Link: Two Blocks of Content for Pages in WordPress'>Two Blocks of Content for Pages in WordPress</a> <small>I just saw this plugin show up on the WordPress...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/12/search-from-wordpress-admin-post-listing-redirecting-to-home-page/' rel='bookmark' title='Permanent Link: Search from WordPress Admin (Post Listing) Redirecting to Home Page'>Search from WordPress Admin (Post Listing) Redirecting to Home Page</a> <small>This is possibly the most bizarre thing I&#039;ve ever seen....</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>In honor of &#034;<a href="http://wordpress.org/development/2009/01/thank-a-plugin-developer-day/">Thank a WordPress Plugin Developer</a>&#034; (yes, I know I&#039;m a little late. hush!) I wanted to recognize some plugins and their developers that have made my job so much easier. (FYI &#8211; Most of these plugins are particularly helpful when using WordPress as a CMS). I know these kinds of lists have done over and over again &#8211; my purpose here in creating my own &#034;top 10&#034; is to save the links so I always have the ones I use the most in a handy list as well as express my personal thanks)</p>
<p>1) <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps</a> by <a href="http://www.arnebrachhold.de/">Arne Brachold</a><br />
Easily generate google friendly XML sitemaps.<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/screenshot-1.gif" alt="screenshot-1" title="screenshot-1" width="461" height="312" class="alignnone size-full wp-image-1584" /></p>
<p>2) <a href="http://wordpress.org/extend/plugins/the-attached-image/">The Attached Image</a> by <a href="http://return-true.com/">Paul Robinson</a><br />
I recently found this plugin and I&#039;m kicking myself for not finding it (or realizing what it could do for me) sooner. This is perfect for when I have a layout that has an image associated with a post or page, and I need to &#034;call it out&#034; and have it show up somewhere outside of where the content is going. (An added thanks to Paul who added a few extra features I requested in his comments section. How cool is that!)<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/screenshot-1.jpg" alt="screenshot-1" title="screenshot-1" width="520" height="265" class="alignnone size-full wp-image-1585" /></p>
<p>3) <a href="http://wordpress.org/extend/plugins/raw-html/">Raw HTML</a> by <a href="http://wordpress.org/extend/plugins/profile/whiteshadow">Janis Elsts</a><br />
This has come in handy on more than one occasion. Requires viewing the page in &#034;HTML&#034; view only. (Last I used it, if you viewed the page in the visual editor &#8211; it would screw everything up). But still &#8211; very helpful for when you really need to have wordpress allow HTML in a post/page (and not try to &#034;format&#034; it for you.</p>
<p>4) <a href="http://wordpress.org/extend/plugins/pagemash/">PageMash</a> by <a href="http://joelstarnes.co.uk/">JoelStarnes</a><br />
This is a new one I found this week in my search for a plugin to help me tame the too-many-pages WordPress CMS project. I must have done a million searches looking for page management plugins. WHY didn&#039;t that one ever come up?!? (Google &#8211; you fail me AGAIN! Let me put on my surprised face&#8230;) Anyway, this creates its own admin page to do it&#039;s magic. My one comment/complaint would be I wish it could have done the same cool stuff &#8211; but on the same page-listing admin page. But even so, I&#039;m still thankful for this plugin. It&#039;s really going to help me out a lot.<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/picture-1.png" alt="picture-1" title="picture-1" width="597" height="583" class="alignnone size-full wp-image-1586" /></p>
<p>5) <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All In One SEO Pack</a> by <a href="http://semperfiwebdesign.com/">Semper Fi Web Design</a><br />
This plugin is pretty much a no-brainer. It gives you all sorts of control for each page and post for adding keywords and descriptions and customizing the title, etc. The screenshot below is the box that will appear on your edit post or edit page view.<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/picture-2.png" alt="picture-2" title="picture-2" width="516" height="262" class="alignnone size-full wp-image-1587" /></p>
<p>6) <a href="http://wordpress.org/extend/plugins/search-everything/">Search Everything</a> by <a href="http://dancameron.org/">Dan Cameron</a><br />
This plugin has been a huge help when I&#039;ve wanted to tweak what gets searched using the WordPress search function. You can exclude categories, certain posts or pages. It&#039;s very nice!<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/picture-3.png" alt="picture-3" title="picture-3" width="596" height="592" class="alignnone size-full wp-image-1588" /></p>
<p>7) <a href="http://wordpress.org/extend/plugins/wp-postratings/">WP-PostRatings</a> by <a href="http://lesterchan.net/">Lester &#039;GaMerZ&#039; Chan</a><br />
This plugin is more for the typical blog site, but still I&#039;ve used it a few times and it rocks.<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/picture-4.png" alt="picture-4" title="picture-4" width="254" height="39" class="alignnone size-full wp-image-1589" /></p>
<p>8 ) <a href="http://wordpress.org/extend/plugins/subscribe2/">Subscribe 2</a> by <a href="http://subscribe2.wordpress.com/">MattyRob, Skippy, RavanH</a><br />
Can be used for typical blog sites &#8211; or if you use your &#034;posts&#034; for &#034;press releases&#034; in a CMS site &#8211; this is a great way to notify people of new releases.<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/screenshot-1-300x222.png" alt="screenshot-1" title="screenshot-1" width="300" height="222" class="alignnone size-medium wp-image-1590" /></p>
<p>9) <a href="http://wordpress.org/extend/plugins/members-only/">Members Only</a> by <a href="http://andrewhamilton.net/">Andrew Hamilton</a><br />
This is an excellent plugin for when you need to have your blog restricted to registered users only.<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/picture-5.gif" alt="picture-5" title="picture-5" width="500" height="378" class="alignnone size-full wp-image-1591" /></p>
<p>10) <a href="http://wordpress.org/extend/plugins/sitemap-generator/">Sitemap Generator</a> by <a href="http://www.dagondesign.com/">Dagon Design</a><br />
I had been using this plugin on a number of sites pre-2.7. I absolutely loved it, which is why I&#039;ve included it here in this list. However, It seemed to work initially after the 2.7 upgrade &#8211; but would then randomly have problems and I&#039;d have to remove it. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  So I&#039;ve included it in this list anyway because of how awesome it was, and I&#039;m hoping hoping hoping that they update it for 2.7.<br />
<img src="http://www.scriptygoddess.com/wp-content/uploads/2009/02/picture-7.png" alt="picture-7" title="picture-7" width="577" height="598" class="alignnone size-full wp-image-1592" /></p>
<p>I&#039;ve specifically left <a href="http://akismet.com">Akismet</a> out of the list because, if you&#039;re going to allow comments on your blog, then using Akismet is just a given. (It also COMES with the WordPress download) So including it in a list like this is sort of a cop out. But I&#039;m mentioning it here because it is so awesome and the developers have my complete gratitude!!</p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/' rel='bookmark' title='Permanent Link: Two Blocks of Content for Pages in WordPress'>Two Blocks of Content for Pages in WordPress</a> <small>I just saw this plugin show up on the WordPress...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/12/search-from-wordpress-admin-post-listing-redirecting-to-home-page/' rel='bookmark' title='Permanent Link: Search from WordPress Admin (Post Listing) Redirecting to Home Page'>Search from WordPress Admin (Post Listing) Redirecting to Home Page</a> <small>This is possibly the most bizarre thing I&#039;ve ever seen....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2009/02/09/10-wordpress-plugins-i-cant-live-without/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>get_search_form() in wordpress</title>
		<link>http://www.scriptygoddess.com/archives/2009/02/06/get_search_form-in-wordpress/</link>
		<comments>http://www.scriptygoddess.com/archives/2009/02/06/get_search_form-in-wordpress/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 17:16:32 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1580</guid>
		<description><![CDATA[So I&#039;ve discovered a new feature in WordPress 2.7 &#8211; get_search_form(). What this will do is first (for backward compatibility sake) look for a file named searchform.php in the theme directory &#8211; and if it doesn&#039;t find it then it generates the HTML for you. (=cringe=) Yeah. You just know I&#039;ve gotta be overriding that. [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/09/10/anchor-links-in-wordpress-posts-another-shortcode-solution/' rel='bookmark' title='Permanent Link: Anchor Links in WordPress Posts &#8211; another shortcode solution'>Anchor Links in WordPress Posts &#8211; another shortcode solution</a> <small>I was recently asked by a client how they could...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/27/adding-a-block-of-html-to-a-wordpress-post/' rel='bookmark' title='Permanent Link: Adding a block of HTML to a WordPress post'>Adding a block of HTML to a WordPress post</a> <small>One problem with the WYSIWYG editor in WordPress is that...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>So I&#039;ve discovered a new feature in WordPress 2.7 &#8211; get_search_form(). What this will do is first (for backward compatibility sake) look for a file named searchform.php in the theme directory &#8211; and if it doesn&#039;t find it then it generates the HTML for you. (=cringe=) Yeah. You just know I&#039;ve gotta be overriding that. </p>
<p>Thankfully the function does have a filter hook. First &#8211; to understand what the function is doing &#8211; <a href="http://phpxref.ftwr.co.uk/wordpress/nav.html?wp-includes/general-template.php.source.html#l96">here is a link to the phpxref of the function</a>.</p>
<p>So you can override this one of two ways. You can simply create a searchform.php page in your theme directory with the search form you want to use&#8230; or you can add something like the following to your functions.php file in your theme directory (or create a plugin with this, although that seems like overkill &#8211; probably a function in functions.php is fine)</p>
<p><code>function my_search_form($form) {<br />
$form = '&lt;form method="get" id="searchform" action="' . get_option('home') . '/" &gt;<br />
&lt;div&gt;&lt;label class="hidden" for="s"&gt;' . __('Search for:') . '&lt;/label&gt;<br />
&lt;input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" /&gt;<br />
&lt;input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" /&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;';<br />
return $form;<br />
}<br />
add_filter('get_search_form', 'my_search_form');</code></p>
<p>The above value of &#034;$form&#034; is the same HTML that WordPress&#039; get_search_form() will spit out. And it has some nice things in it (like pre-populating the search field with the last query requested). So you can start modifying it from there as you need to (ie. removing or changing &#034;Search for&#034;  etc.</p>
<p>From a performance standpoint &#8211; I&#039;m not sure which would be better &#8211; creating the searchform.php or making use of the get_search_form filter. (or is it negligible?)</p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/09/10/anchor-links-in-wordpress-posts-another-shortcode-solution/' rel='bookmark' title='Permanent Link: Anchor Links in WordPress Posts &#8211; another shortcode solution'>Anchor Links in WordPress Posts &#8211; another shortcode solution</a> <small>I was recently asked by a client how they could...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/27/adding-a-block-of-html-to-a-wordpress-post/' rel='bookmark' title='Permanent Link: Adding a block of HTML to a WordPress post'>Adding a block of HTML to a WordPress post</a> <small>One problem with the WYSIWYG editor in WordPress is that...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2009/02/06/get_search_form-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Put comments on a separate page (in wordpress)</title>
		<link>http://www.scriptygoddess.com/archives/2008/11/08/put-comments-on-a-separate-page-in-wordpress/</link>
		<comments>http://www.scriptygoddess.com/archives/2008/11/08/put-comments-on-a-separate-page-in-wordpress/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 05:24:50 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress scripts]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1543</guid>
		<description><![CDATA[I&#039;ve had a few clients ask for this, and I saw some requests to do this on the forums, but no one ever that I found came up with a solution. Here&#039;s the scenario, you have your blog posts, and maybe they&#039;re long, and rather than make the page *even longer* by dumping the comments [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/' rel='bookmark' title='Permanent Link: Conditionally change path to HTTPS'>Conditionally change path to HTTPS</a> <small>One of my clients had set it up so that...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/27/striping-img-tags-from-the_content-in-wordpress-and-how-to-fudge-page-excerpts/' rel='bookmark' title='Permanent Link: Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)'>Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)</a> <small>Background: For a site I was working on, I was...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#039;ve had a few clients ask for this, and I saw some requests to do this on the forums, but no one ever that I found came up with a solution. Here&#039;s the scenario, you have your blog posts, and maybe they&#039;re long, and rather than make the page *even longer* by dumping the comments on the same page at the bottom, you want a special, separate page for the comments for each post.</p>
<p>Now the trick I&#039;ve done to accomplish this, I will warn you worked in the scenario it was designed in &#8211; (I had &#034;permalinks&#034; turned on. I&#039;m not sure how this would work, if at all, if they weren&#039;t turned on, or if the permalink configuration was different) I&#039;m sure there are probably other setups where this would not work. So, that&#039;s my disclaimer.</p>
<p>Basically what we&#039;re going to do is use the query string to determine whether or not to display comments or the post on the page. It&#039;s not terribly &#034;pretty&#034; &#8211; and maybe a htaccess expert can tell us how to accomplish the same task by adding a line or two in there to keep the URLs &#034;pretty&#034; &#8211; but in the meantime, I&#039;m just happy to have it work at all!</p>
<p>So first &#8211; surround anything you would want only on the POST version of the page with this:<br />
<strong>*UPDATED TO ADD:</strong> This problem/question has come up a number of times.  These changes will probably go on your single.php template file (because thats the page that normally dispalys the comments.) If for some reason you don&#039;t have a single.php file, then your &#034;single-post view&#034; is probably being derived from the default single.php template file (in the default theme directory) &#8211; so it&#039;s probably safe to grab a copy of that one and make your changes to it, and then upload it to your theme&#039;s directory)</p>
<p><code>&lt;?php if (!isset($_GET['show']))  { ?&gt;<br />
POST PAGE ONLY STUFF GOES HERE...<br />
&lt;?php } ?&gt;</code></p>
<p><strong>*ALSO UPDATED TO ADD</strong>:The code above should be WITHIN the <a href="http://codex.wordpress.org/The_Loop">&#034;WP LOOP&#034;</a>.</p>
<p>Inside there you will want to create a link that will bring the user to the &#034;comment page&#034; for the post. You do that like this:</p>
<p><code>&lt;a href="?show=comments"&gt;Click here to view/write comments&lt;/a&gt;</code></p>
<p>Then you wrap your call to the comments template like so:</p>
<p><code>&lt;?php if (isset($_GET['show']) &#038;&#038; $_GET['show'] == "comments")  { ?&gt;<br />
&lt;?php comments_template(); ?&gt;<br />
&lt;?php } ?&gt;</code></p>
<p><strong>*UPDATED TO ADD:</strong> Take a look at where the comments_template() line normally goes on the default theme, if you&#039;re using a custom theme. You want to make sure you really only put that around the comments_template() line&#8230; not large sections of your single.php template file&#8230;</p>
<p>Now, ON your comments template page (comments.php), you will need to modify the comments form so that after a comment gets submitted, you end up back on the comment version of the page. To do that you need to grab the current URL of the page you&#039;re looking at &#8211; and put it into a hidden field (named &#034;redirect_to&#034;) in the comment form. To get PHP to pull in the full URL, I grabbed this function from <a href="http://webcheatsheet.com">webcheatsheet.com</a>:</p>
<p><code>function curPageURL() {<br />
 $pageURL = 'http';<br />
 if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}<br />
 $pageURL .= "://";<br />
 if ($_SERVER["SERVER_PORT"] != "80") {<br />
  $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];<br />
 } else {<br />
  $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];<br />
 }<br />
 return $pageURL;<br />
}</code></p>
<p><strike>To make that available throughout, I created a &#034;plugin&#034; file, and just threw that function into it. (obviously have to activate the plugin before you can start using that function in your theme). (There&#039;s probably another way to &#034;add a function&#034; like that, but this worked for me)</strike> If you don&#039;t already have one, create a &#034;functions.php&#034; file for your theme and add that function in there (surrounded by &lt;?php and ?&gt; tags obviously)</p>
<p>So then before the &lt;/form&gt; of the comment form I added this:</p>
<p><code>&lt;?php if (function_exists('curPageURL')) { ?&gt;<br />
&lt;input type="hidden" name="redirect_to" value="&lt;?php echo curPageURL() ?&gt;" /&gt;<br />
&lt;?php } ?&gt;</code></p>
<p>That&#039;s it. Hope that helps someone else. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Updated:</strong><br />
<a href="/downloads/scriptygoddess_comments_sep_page.zip">Here are the modifications applied to the default wordpress theme</a>. I&#039;ve made comments to the changes I added in so you can see what I did and then apply it as appropriate to your own theme. In the zip are JUST the files I modified &#8211; not the whole wordpress default theme &#8211; so single.php, index.php, functions.php and comments.php.</p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/06/conditionally-change-path-to-https/' rel='bookmark' title='Permanent Link: Conditionally change path to HTTPS'>Conditionally change path to HTTPS</a> <small>One of my clients had set it up so that...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/27/striping-img-tags-from-the_content-in-wordpress-and-how-to-fudge-page-excerpts/' rel='bookmark' title='Permanent Link: Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)'>Striping IMG tags from the_content in WordPress (and how to fudge page excerpts)</a> <small>Background: For a site I was working on, I was...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2008/11/08/put-comments-on-a-separate-page-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Next Previous Posts in Same Category</title>
		<link>http://www.scriptygoddess.com/archives/2007/12/04/next-previous-posts-in-same-category/</link>
		<comments>http://www.scriptygoddess.com/archives/2007/12/04/next-previous-posts-in-same-category/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 20:34:02 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2007/12/04/next-previous-posts-in-same-category/</guid>
		<description><![CDATA[I&#039;ve gotten a few emails about my (old) Next/Previous Post in Same Category plugin and about the fact that&#039;s its broken &#8211; however, this functionality is now built into wordpress. (and I have it working on the site right now as a matter of fact). I&#039;m a bit behind on what has been included with [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/' rel='bookmark' title='Permanent Link: Multiple Featured Content Galleries'>Multiple Featured Content Galleries</a> <small>On a site I was working on recently, the client...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/10/anchor-links-in-wordpress-posts-another-shortcode-solution/' rel='bookmark' title='Permanent Link: Anchor Links in WordPress Posts &#8211; another shortcode solution'>Anchor Links in WordPress Posts &#8211; another shortcode solution</a> <small>I was recently asked by a client how they could...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#039;ve gotten a few emails about my <a href="http://www.scriptygoddess.com/archives/2004/07/24/nextprevious-posts-in-same-category/">(old) Next/Previous Post in Same Category plugin</a> and about the fact that&#039;s its broken &#8211; however, this functionality is now <a href="http://codex.wordpress.org/Template_Tags/next_post_link">built into wordpress</a>. (and I have it working on the site right now as a matter of fact). I&#039;m a bit behind on what has been included with each new version of WordPress, so I&#039;m not sure when this made it&#039;s way in there, but.. YAY! Now I don&#039;t have to update the plugin! LOL! So, in any case, if you want to include links to the next/previous post in the same category as the one being viewed, you just need to do this (on the &#034;single.php&#034; template page INSIDE the &#034;<a href="http://codex.wordpress.org/The_Loop">Loop</a>&#034;)</p>
<p><code>&lt;?php previous_post_link('&amp;laquo; %link', 'Previous post in category: %title', TRUE); ?&gt;<br />
&lt;?php next_post_link('%link &amp;raquo;', 'Next post in category: %title', TRUE); ?&gt;</code></p>
<p>Where the first argument (where I have &#034;&amp;laquo; %link&#034;) is the format of what is displayed&#8230; ie. if you want text before or a tag around the actual link (represented by &#034;%link&#034;) this is where you say how you want it to show. </p>
<p>And the second argument (where I have &#034;Previous post in category: %title&#034; is the text of the actual link. You don&#039;t have to have the &#034;%title&#034; in there &#8211; but I think it&#039;s useful) <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/' rel='bookmark' title='Permanent Link: Multiple Featured Content Galleries'>Multiple Featured Content Galleries</a> <small>On a site I was working on recently, the client...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/09/10/anchor-links-in-wordpress-posts-another-shortcode-solution/' rel='bookmark' title='Permanent Link: Anchor Links in WordPress Posts &#8211; another shortcode solution'>Anchor Links in WordPress Posts &#8211; another shortcode solution</a> <small>I was recently asked by a client how they could...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2007/12/04/next-previous-posts-in-same-category/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Decoder Button</title>
		<link>http://www.scriptygoddess.com/archives/2006/12/23/decoder-button/</link>
		<comments>http://www.scriptygoddess.com/archives/2006/12/23/decoder-button/#comments</comments>
		<pubDate>Sun, 24 Dec 2006 03:54:28 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2006/12/23/decoder-button/</guid>
		<description><![CDATA[Had to create a plugin. Guess this means I&#039;m getting back in the groove. ;P Referring back to these posts, this plugin will make a button on your edit post/page making it possible to paste some code you wanted to show, select the code, then click &#034;decode&#034; &#8211; which will convert your &#60; to &#38;lt; [...]


Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/' rel='bookmark' title='Permanent Link: Two Blocks of Content for Pages in WordPress'>Two Blocks of Content for Pages in WordPress</a> <small>I just saw this plugin show up on the WordPress...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/' rel='bookmark' title='Permanent Link: Multiple Featured Content Galleries'>Multiple Featured Content Galleries</a> <small>On a site I was working on recently, the client...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Had to create a plugin. Guess this means I&#039;m getting back in the groove. ;P Referring back to <a href="http://www.scriptygoddess.com/archives/2002/06/04/code-decoder/">these</a> <a href="http://www.scriptygoddess.com/archives/2004/06/08/mozilla-and-ie-decoder/">posts</a>, this plugin will make a button on your edit post/page making it possible to paste some code you wanted to show, select the code, then click &#034;decode&#034; &#8211; which will convert your &lt; to &amp;lt; and &gt; to &amp;gt; in the selection &#8211; so that it doesn&#039;t break your page.</p>
<p>Installation instructions:<br />
<a href="http://www.scriptygoddess.com/downloads/decoder_button.phps">Download the Decoder Button plugin</a>. (Save that page and just make sure the rename it to &#034;decoder_button.php&#034;) Upload it to your wp-content/plugins folder, and activate on the plugins page in your wordpress admin interface.</p>


<p>Related posts:<ol><li><a href='http://www.scriptygoddess.com/archives/2009/10/07/delink-pages-plugin/' rel='bookmark' title='Permanent Link: Delink Pages Plugin'>Delink Pages Plugin</a> <small>(Plugin and this post last updated: 10/20/2009 &#8211; Latest Plugin...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/19/two-block-of-content-for-pages/' rel='bookmark' title='Permanent Link: Two Blocks of Content for Pages in WordPress'>Two Blocks of Content for Pages in WordPress</a> <small>I just saw this plugin show up on the WordPress...</small></li>
<li><a href='http://www.scriptygoddess.com/archives/2009/10/30/multiple-featured-content-galleries/' rel='bookmark' title='Permanent Link: Multiple Featured Content Galleries'>Multiple Featured Content Galleries</a> <small>On a site I was working on recently, the client...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2006/12/23/decoder-button/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.316 seconds -->
