<?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>The Wordpress Warrior</title>
	<atom:link href="http://thewpwarrior.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thewpwarrior.com</link>
	<description>Hints and Tips For Wordpress - Free Plugins - Free Themes</description>
	<lastBuildDate>Wed, 18 Jan 2012 10:34:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>FREE INTERNET</title>
		<link>http://thewpwarrior.com/1055/free-internet/login</link>
		<comments>http://thewpwarrior.com/1055/free-internet/login#comments</comments>
		<pubDate>Wed, 18 Jan 2012 10:23:31 +0000</pubDate>
		<dc:creator>The WP Warrior</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/?p=1055/login</guid>
		<description><![CDATA[Do you want to see your favourite sites be removed from the net by the US government? If not do anything you can to prevent your member voting to pass SOPA and PIPA. If you live in the US you can sign the petitioning at http://americancensorship.org/ to send a message to your member, and everyone [...]<p><a href="http://thewpwarrior.com/1055/free-internet/login">FREE INTERNET</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://thewpwarrior.com/wordpress/wp-content/uploads/2012/01/500pxSOPAPIPAblock.png"><img class="aligncenter size-full wp-image-1056 colorbox-1055" title="500pxSOPAPIPAblock" src="http://thewpwarrior.com/wordpress/wp-content/uploads/2012/01/500pxSOPAPIPAblock.png" alt="" width="500" height="267" /></a>Do you want to see your favourite sites be removed from the net by the US government? If not do anything you can to prevent your member voting to pass SOPA and PIPA.</p>
<p>If you live in the US you can sign the petitioning at <a href="http://americancensorship.org/">http://americancensorship.org/</a> to send a message to your member, and everyone should sign the petition at avvaz <a href="http://www.avaaz.org/en/save_the_internet/?fpla">http://www.avaaz.org/en/save_the_internet/?fpla</a>. Every voice count.<a href="http://www.avaaz.org/en/save_the_internet/?fpla"><br />
</a></p>
<p><a href="http://thewpwarrior.com/1055/free-internet/login">FREE INTERNET</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/1055/free-internet/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Robert Planks&#8217; &#8220;Backup Creator&#8221;</title>
		<link>http://thewpwarrior.com/1042/using-robert-planks-backup-creator/login</link>
		<comments>http://thewpwarrior.com/1042/using-robert-planks-backup-creator/login#comments</comments>
		<pubDate>Mon, 05 Sep 2011 07:29:36 +0000</pubDate>
		<dc:creator>The WP Warrior</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/?p=1042/login</guid>
		<description><![CDATA[Here&#8217;s a new backup plugin for wordpress written by Robert Plank that works as an alternate solution to iThemes &#8220;Backup Buddy&#8220;. Here&#8217;s a video on how to use it. &#160; To buy backup creator please follow this link. Using Robert Planks&#8217; &#8220;Backup Creator&#8221; is a post from: The WordPress Warrior<p><a href="http://thewpwarrior.com/1042/using-robert-planks-backup-creator/login">Using Robert Planks&#8217; &#8220;Backup Creator&#8221;</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a new backup plugin for wordpress written by Robert Plank that works as an alternate solution to iThemes &#8220;<a href="/recommends/backupbuddy">Backup Buddy</a>&#8220;. Here&#8217;s a video on how to use it.</p>
<p>&nbsp;</p>
<p><br /><img class="colorbox-1042"  src="http://acl-training.s3.amazonaws.com/Free%20Videos/using_backup_creator.png" width="480" height="320" alt="media" /><br />
</p>
<p>To buy backup creator please follow this <a href="http://thewpwarrior.com/recommends/backupcreator">link</a>.</p>
<p><a href="http://thewpwarrior.com/1042/using-robert-planks-backup-creator/login">Using Robert Planks&#8217; &#8220;Backup Creator&#8221;</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/1042/using-robert-planks-backup-creator/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wishlist Member: Show Member Counts</title>
		<link>http://thewpwarrior.com/1036/wishlist-member-show-member-counts/login</link>
		<comments>http://thewpwarrior.com/1036/wishlist-member-show-member-counts/login#comments</comments>
		<pubDate>Fri, 02 Sep 2011 01:32:34 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Short Codes]]></category>
		<category><![CDATA[Wishlist Member]]></category>
		<category><![CDATA[shortcode to count the number of members]]></category>
		<category><![CDATA[wishlist insider]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/?p=1036/login</guid>
		<description><![CDATA[On the Wishlist Insider Forum, a question was asked about how to the number of members for each level to display on a page or post. As of today, there is no shortcode to do that but it is relatively simple to add your own shortcode using the Version 1.0 API of Wishlist Member. The [...]<p><a href="http://thewpwarrior.com/1036/wishlist-member-show-member-counts/login">Wishlist Member: Show Member Counts</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://askcharlyleetham.com/wlminsider" target="_parent">Wishlist Insider Forum</a>, a question was asked about how to the number of members for each level to display on a page or post.</p>
<p>As of today, there is no shortcode to do that but it is relatively simple to add your own shortcode using the Version 1.0 API of Wishlist Member.</p>
<p>The function call is:</p>
<p><em>WLMAPI::GetMemberCount</em></p>
<p>To use this API function call, you need to pass to the function the &#8216;level&#8217; that you want to return the number of members for.  This can be string  be “all”, “nonmembers”, “pending”, or a comma-delimited string of level SKUs or names.<span id="more-1036"></span></p>
<p>For example, the following code would display the total number of members on a site:</p>
<pre class="brush:php">&lt;?php echo WLMAPI::GetMemberCount(&#39;all&#39;); ?&gt;</pre>
<p>To display the number of members for a level called &#8220;Paid&#8221;, the following would be used:</p>
<pre class="brush:php">&lt;?php echo WLMAPI::GetmemberCount(&#39;Paid&#39;); ?&gt; </pre>
<p>This is all very good and well, but creating a shortcode so you don&#8217;t have to mess with php in the post / page, is a much better idea.</p>
<p>To create a shortcode, you could add something like the following in your themes functions.php file:</p>
<pre class="brush:php">&lt;?php function showmemcount($atts) {
return WLMAPI::GetMemberCount(&#39;.$atts['memname'].&#39;);
}
add_shortcode (&#39;showmemnums&#39;,'showmemcount&#39;);
?&gt;
</pre>
<p>You could then add the shortcode to your post or page:</p>
<p>Free: [ showmemnums memname="Free" ]</p>
<p>Paid: [ showmemnums memname="Paid" ]</p>
<p>To display the number of members for different levels, change the name between the double quotes – they need to exactly match the name of your membership level.</p>
<p>To display the Total Number of members, those pending and those who registered to WordPress but don&#8217;t have access to any Wishlist Member levels:</p>
<p>Total: [ showmemnums memname="all" ]</p>
<p>Pending: [ showmemnums memname="pending" ]</p>
<p>Non Members: [ showmemnums memname="nonmembers" ]</p>
<p><strong>Note:</strong> I&#8217;ve put spaces after &#8216;[' and before the ']&#8216;, these need to be removed.</p>
<p><a href="http://thewpwarrior.com/1036/wishlist-member-show-member-counts/login">Wishlist Member: Show Member Counts</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/1036/wishlist-member-show-member-counts/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Code To The Wishlist Member Registration Page</title>
		<link>http://thewpwarrior.com/996/adding-code-to-the-wishlist-member-registration-page/login</link>
		<comments>http://thewpwarrior.com/996/adding-code-to-the-wishlist-member-registration-page/login#comments</comments>
		<pubDate>Sun, 28 Aug 2011 06:14:05 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Custom Functions]]></category>
		<category><![CDATA[Wishlist Member]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wishlist member pages]]></category>
		<category><![CDATA[wlm registration pages]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/?p=996/login</guid>
		<description><![CDATA[I was asked a question on Ask Charly Leetham asking &#8216;how to&#8217; add Google Website Optimizer code on the appropriate Wishlist Member (WLM) Registration Page. The Registration Pages on WLM are generated dynamically, and can&#8217;t be edited but the ability to add the appropriate script(s) on the page to check the effectiveness of your marketing [...]<p><a href="http://thewpwarrior.com/996/adding-code-to-the-wishlist-member-registration-page/login">Adding Code To The Wishlist Member Registration Page</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I was asked a question on Ask Charly Leetham asking &#8216;how to&#8217; add Google Website Optimizer code on the appropriate Wishlist Member (WLM) Registration Page.</p>
<p>The Registration Pages on WLM are generated dynamically, and can&#8217;t be edited but the ability to add the appropriate script(s) on the page to check the effectiveness of your marketing efforts.</p>
<p>However, WLM have provided a number of actions and filters that we can snag.  The actions/filters are available at <a href="http://wishlistproducts.com/api/hooks/" target="_blank">http://wishlistproducts.com/api/hooks/</a></p>
<p>There is a filter:  <em>wishlistmember_registration_page</em> which allows a site owner to add &#8216;extras&#8217; to the page.  In this case, output the script required for Google Website Optimizer.</p>
<p>To utilise this filter, you would need to write a function and use the standard WordPress add_filter function to &#8216;call&#8217; it when the registration page is called.  The function you write would be added to the theme&#8217;s functions.php file.</p>
<p><span id="more-996"></span>To use the <em>wishlistmember_registration_page</em> filter to display a script, the function would look like:</p>
<pre class="brush:php">&lt;?php
function addgwo($content) {
$scripttoadd = &#39;&lt;script&gt;
script stuff here
&lt;/script&gt;&#39;;
return $content.$scripttoadd;
}
add_filter (&#39;wishlistmember_registration_page&#39;,'addgwo&#39;);
</pre>
<p>The script can be added conditionally as well&#8230;</p>
<p>Assuming you want to have a different script run on different registration pages (i.e Level 1 and Level 2) &#8211; the following can be done.</p>
<p><strong>Step 1: Get the individual SKU&#8217;s for the different membership levels.</strong></p>
<p>Through the WLM Dashboard / integration screen, locate the &#8216;SKU&#8217; for each level.  In the example below, the SKU for level 1 is 1276259610 and the SKU for level 2 is 1276259625.</p>
<p>The code is an example Google Website Optimizer code.</p>
<p><strong>Step 2: Create the function</strong></p>
<p>To display a different &#8216;code&#8217; for each level add:</p>
<pre class="brush:php">
function addgwo($content) {
if ($_GET['reg']==&#39;1276259610&#8242;) {
$ua = &#39;the UA provided by Google&#39;;
} elseif ($_GET['reg']==&#39;1276259625&#8242;) {
$ua = &#39;the UA provided by Google&#39;;
}
$scripttoadd = &#39;&lt;!&#8211; Google Website Optimizer Tracking Script &#8211;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var _gaq = _gaq || [];
_gaq.push([\'gwo._setAccount\', \'&lt;?php echo $ua; ?&gt;\']);
_gaq.push([\'gwo._trackPageview\', \'/1584985550/goal\']);
(function() {
var ga = document.createElement(\&#39;script\&#39;); ga.type = \&#39;text/javascript\&#39;; ga.async = true;
ga.src = (\&#39;https:\&#39; == document.location.protocol ? \&#39;https://ssl\&#39; : \&#39;http://www\&#39;) + \&#39;.google-analytics.com/ga.js\&#39;;
var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(ga, s);
})();
&lt;/script&gt;
&lt;!&#8211; End of Google Website Optimizer Tracking Script &#8211;&gt;&#39;;
return $content.$scripttoadd;
}
add_filter (&#39;wishlistmember_registration_page&#39;,'addgwo&#39;);
</pre>
<p>If you only want to display the code on one registration page, you could do the following:</p>
<pre class="brush:php">
function addgwo($content) {
if ($_GET['reg']==&#39;1276259610&#8242;) {  // test to see if the code should be displayed
$ua = &#39;the UA Provided by google&#39;;
$scripttoadd = &#39;&lt;!&#8211; Google Website Optimizer Tracking Script &#8211;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var _gaq = _gaq || [];
_gaq.push([\'gwo._setAccount\', \'&lt;?php echo $ua; ?&gt;\']);
_gaq.push([\'gwo._trackPageview\', \'/1584985550/goal\']);
(function() {
var ga = document.createElement(\&#39;script\&#39;); ga.type = \&#39;text/javascript\&#39;; ga.async = true;
ga.src = (\&#39;https:\&#39; == document.location.protocol ? \&#39;https://ssl\&#39; : \&#39;http://www\&#39;) + \&#39;.google-analytics.com/ga.js\&#39;;
var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(ga, s);
})();
&lt;/script&gt;
&lt;!&#8211; End of Google Website Optimizer Tracking Script &#8211;&gt;&#39;;
return $content.$scripttoadd;
} // End if statement
}
add_filter (&#39;wishlistmember_registration_page&#39;,'addgwo&#39;);
</pre>
<p><em><strong>Remember:</strong></em></p>
<p>1. If you are using the Google Website Optimizer function, you need to use the registration url provided in the Wishlist Member Dashboard -&gt; Membership Levels.</p>
<p><a href="http://thewpwarrior.com/996/adding-code-to-the-wishlist-member-registration-page/login">Adding Code To The Wishlist Member Registration Page</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/996/adding-code-to-the-wishlist-member-registration-page/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paypal: Letting subscribers update their Recurring Payments</title>
		<link>http://thewpwarrior.com/985/paypal-letting-subscribers-update-their-recurring-payments/login</link>
		<comments>http://thewpwarrior.com/985/paypal-letting-subscribers-update-their-recurring-payments/login#comments</comments>
		<pubDate>Sun, 07 Aug 2011 15:01:53 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Paypal buttons]]></category>
		<category><![CDATA[Wishlist Member]]></category>
		<category><![CDATA[paypal subscriptions]]></category>
		<category><![CDATA[wishlist member subscriptions]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/wordpress/?p=985/login</guid>
		<description><![CDATA[On Wishlist Insider (which is a great community!), there has been a lot of discussion about how to manage membership upgrades, when using Paypal as the payment processor. Until today, my position has been that the BEST way to handle this is to setup a new subscription payment and then manually cancel the &#8216;older&#8217; subscription [...]<p><a href="http://thewpwarrior.com/985/paypal-letting-subscribers-update-their-recurring-payments/login">Paypal: Letting subscribers update their Recurring Payments</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>On Wishlist Insider (which is a great community!), there has been a lot of discussion about how to manage membership upgrades, when using Paypal as the payment processor.</p>
<p>Until today, my position has been that the BEST way to handle this is to setup a new subscription payment and then manually cancel the &#8216;older&#8217; subscription through the paypal interface.</p>
<p>Today, that changed.  In the process of updating my Enhanced Paypal Shortcodes plugin, I came across the &#8220;update&#8221; parameter for Subscription buttons &#8211; and after a little testing, found that it <strong>should</strong> be perfect for allowing members to change their existing subscription payments with you.</p>
<p><strong>Introducing the Paypal Modify Subscription button</strong></p>
<p>The Paypal Modify Subscription button will let subscribers modify their active subscriptions through a paypal button on a website.<span id="more-985"></span></p>
<p>This is perfect if you offer different subscriptions levels &#8211; your subscribers can upgrade to a higher level without an interruption in service.</p>
<p><strong>Modify Paypal Subscription</strong> buttons let subscribers accept a new set of subscriptions terms and pricing for their current, active subscriptions.  Just perfect for our Wishlist Member websites.</p>
<p>A <strong>Modify Subscription button</strong> can allow subscribers to:</p>
<ul>
<li> Modify their active subscriptions, or sign up for new subscriptions</li>
<li> Modify their active subscriptions only</li>
</ul>
<p>The code required to add this button is reasonably straight forward (once you know what you need to do).</p>
<p>If you don&#8217;t mind pasting html into your webpage (I wouldn&#8217;t necessarily recommend this for WordPress because the Visual editor can mess with the paypal code), you can use the code in the next section otherwise you can use my <a href="http://thewpwarrior.com/wordpress/wordpress-plugins-by-the-wp-warrior/wordpress-plugin-enhanced-paypal-shortcodes/" target="_blank">Enhanced Paypal Shortcodes plugin </a>to do the work for you (I&#8217;ve added the necessary parameters into the code today)</p>
<p><em><strong>Modify Existing Subscription ONLY button</strong></em></p>
<p>the code to setup a paypal button that only lets purchasers modify existing subscriptions looks similar to this:</p>
<pre class="brush:php"> &lt;form action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot;&gt;
&lt;!&#8211; Identify your business so that you can collect the payments. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;business&quot; value=&quot;email@yourdomainname.com&quot;&gt;
&lt;!&#8211; Specify a Subscribe button. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;cmd&quot; value=&quot;_xclick-subscriptions&quot;&gt;
&lt;!&#8211; Identify the subscription. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;item_name&quot; value=&quot;The upgraded level name&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;item_number&quot; value=&quot;SKU for upgraded level&quot;&gt;
&lt;!&#8211; Set the revised subscription price and terms. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;currency_code&quot; value=&quot;USD&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;a3&quot; value=&quot;69.95&quot;&gt;
&lt;input type=&quot;hidden&quot; name= &quot;p3&quot; value=&quot;6&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;t3&quot; value=&quot;M&quot;&gt;
&lt;!&#8211; Let current subscribers modify only. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;modify&quot; value=&quot;2&quot;&gt;
&lt;!&#8211; Display the payment button. &#8211;&gt;
&lt;input type=&quot;image&quot; name=&quot;submit&quot; border=&quot;0&quot; src=&quot;https://www.paypal.com/en_US/i/btm/btn_subscribe_LG.gif&quot; alt=&quot;PayPal &#8211; The safer, easier way to pay online&quot;&gt;
&lt;img alt=&quot;" border=&quot;0&quot; width=&quot;1&quot; height=&quot;1&quot; src=&quot;https://www.paypal.com/en_US/i/scr/pixel.gif&quot; &gt;
&lt;!&#8211; close the paypal form &#8211;&gt;
&lt;/form&gt;
</pre>
<p>When subscribers click on the button created by this code, they will be prompted to login and then asked which Subscription with the merchant they want to modify to be $69.95 every 6 months.  Below is a screenshot similar to what your purchasers will see:</p>
<p><a href="http://thewpwarrior.com/wordpress/wp-content/uploads/2011/08/paypal-modify1.png"><img class="aligncenter size-medium wp-image-989 colorbox-985" title="paypal-modify1" src="http://thewpwarrior.com/wordpress/wp-content/uploads/2011/08/paypal-modify1-300x200.png" alt="" width="300" height="200" /></a></p>
<p>&nbsp;</p>
<p><em><strong>Modify Existing Subscription OR Create new subscription<br />
</strong></em></p>
<p>If you don&#8217;t mind pasting html into your webpage (I wouldn&#8217;t necessarily recommend this for WordPress because the Visual editor can mess with the paypal code), the code to setup a paypal button that only lets purchasers modify existing subscriptions looks similar to this:</p>
<pre class="brush:php"> &lt;form action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot;&gt;
&lt;!&#8211; Identify your business so that you can collect the payments. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;business&quot; value=&quot;email@yourdomainname.com&quot;&gt;
&lt;!&#8211; Specify a Subscribe button. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;cmd&quot; value=&quot;_xclick-subscriptions&quot;&gt;
&lt;!&#8211; Identify the subscription. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;item_name&quot; value=&quot;The upgraded level name&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;item_number&quot; value=&quot;SKU for upgraded level&quot;&gt;
&lt;!&#8211; Set the revised subscription price and terms. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;currency_code&quot; value=&quot;USD&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;a3&quot; value=&quot;69.95&quot;&gt;
&lt;input type=&quot;hidden&quot; name= &quot;p3&quot; value=&quot;6&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;t3&quot; value=&quot;M&quot;&gt;
&lt;!&#8211; Let current subscribers modify or create a new subscription. &#8211;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;modify&quot; value=&quot;1&quot;&gt;
&lt;!&#8211; Display the payment button. &#8211;&gt;
&lt;input type=&quot;image&quot; name=&quot;submit&quot; border=&quot;0&quot; src=&quot;https://www.paypal.com/en_US/i/btm/btn_subscribe_LG.gif&quot; alt=&quot;PayPal &#8211; The safer, easier way to pay online&quot;&gt;
&lt;img alt=&quot;" border=&quot;0&quot; width=&quot;1&quot; height=&quot;1&quot; src=&quot;https://www.paypal.com/en_US/i/scr/pixel.gif&quot; &gt;
&lt;!&#8211; close the paypal form &#8211;&gt;
&lt;/form&gt;
</pre>
<p>When subscribers click on the button created by this code, they will be prompted to login and then asked which Subscription with the merchant they want to modify to be $69.95 every 6 months, or given the option to sign up for a new subscription.</p>
<p><a href="http://thewpwarrior.com/wordpress/wp-content/uploads/2011/08/paypal-modify2.png"><img class="aligncenter size-medium wp-image-990 colorbox-985" title="paypal-modify2" src="http://thewpwarrior.com/wordpress/wp-content/uploads/2011/08/paypal-modify2-300x253.png" alt="" width="300" height="253" /></a>My thoughts are this isn&#8217;t quite as simple to navigate for purchasers as I would like &#8211; particularly the small &#8220;Sign Up For A New Subscription&#8221; at the bottom of the screen &#8211; I think most new purchasers will miss this.</p>
<p>However, using the first method above on an &#8220;upgrade&#8221; page within your membership site could be incredibly effective and certainly much easier to manage than trying to sign up for new subscriptions and cancel existing ones&#8230;.</p>
<p><strong>Paypal Enhanced Shortcodes plugin</strong></p>
<p>We&#8217;ve just released version 0.5a of the <a href="http://thewpwarrior.com/wordpress/wordpress-plugins-by-the-wp-warrior/wordpress-plugin-enhanced-paypal-shortcodes/" target="_blank">Paypal Enhanced Shortcodes </a>plugin and implemented the &#8216;modify&#8217; parameter.</p>
<p>If you don&#8217;t want to mess around with cutting and pasting HTML code into your WordPress editor &#8211; try the plugin instead.</p>
<p><a href="http://thewpwarrior.com/985/paypal-letting-subscribers-update-their-recurring-payments/login">Paypal: Letting subscribers update their Recurring Payments</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/985/paypal-letting-subscribers-update-their-recurring-payments/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wishlist WL Post Login, Themes &amp; RSS</title>
		<link>http://thewpwarrior.com/911/wishlist-wl-post-login-themes-rss/login</link>
		<comments>http://thewpwarrior.com/911/wishlist-wl-post-login-themes-rss/login#comments</comments>
		<pubDate>Sun, 26 Jun 2011 11:55:58 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[Wishlist Member]]></category>
		<category><![CDATA[wl post login]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/wordpress/?p=911/login</guid>
		<description><![CDATA[As a Wishlist Insider, I am really fortunate to get access to the plugins the Wishlist Products team create to help us manage our membership sites better. The June 2011 Bonus Plugin is called WL Post Login &#8211; and can be used to direct a member to a specific Page or Post after they have [...]<p><a href="http://thewpwarrior.com/911/wishlist-wl-post-login-themes-rss/login">Wishlist WL Post Login, Themes &#038; RSS</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>As a Wishlist Insider, I am really fortunate to get access to the plugins the Wishlist Products team create to help us manage our membership sites better.</p>
<p>The June 2011 <strong>Bonus Plugin is called WL Post Login</strong> &#8211; and can be used to direct a member to a specific  Page or Post after they have logged in using a specifically created  login URL.  A suffix is created that when added to any URL of a site,  it will display a login form that when filled in and submitted will  reveal the protected content immediately.</p>
<p><a href="http://askcharlyleetham.com/wlminsider" target="_blank">You can grab this plugin for a short while, if you are a Wishlist Insider&#8230;</a></p>
<p>With the current implementation of the plugin, a site owner needs to append the &#8216;suffix&#8217; to the link they wish to share when emailing members, if they want their members to view the content as soon as they  login.</p>
<p>It doesn&#8217;t add the link to the RSS feed &#8211; which was causing me a bit of grief as I use AWeber&#8217;s Blog Broadcast feature to share my &#8216;members only&#8217; content via Email.</p>
<p>After a few hours research, I found a way that the new suffix can be appended to the permalink and then fed through to your RSS feed.  I even addressed an issue I had with FeedBurner.  The three videos below demonstrate how to do this.</p>
<h3>Introduction</h3>
<p><br /><img class="colorbox-911"  src="http://acl-training.s3.amazonaws.com/Free%20Videos/Part1-using-wl-post-login.png" width="480" height="320" alt="media" /><br />
</p>
<p>Special Thanks goes to <a href="http://wpcandy.com/teaches/change-a-posts-rss-permalink-using-custom-fields" target="_blank">WP Candy</a> for the code to achieve the functionality I was after.<br />
<span id="more-911"></span></p>
<h3>Code To Add To Theme</h3>
<p><br /><img class="colorbox-911"  src="http://acl-training.s3.amazonaws.com/Free%20Videos/Part2-using-wl-post-login.png" width="480" height="320" alt="media" /><br />
</p>
<p><a href="http://s3.amazonaws.com/acl-codesnippets/wl-post-login-rss.zip?AWSAccessKeyId=AKIAI2H5TEHANKJWASGA&Expires=1328529112&Signature=A1nbphcSGxYaBIii1bViXVHfEyY%3D">Click Here To Download the code used in the above video and add it to your Themes&#8217; functions.php file</a></p>
<h3>Issues With Feedburner and WL Post Login?</h3>
<p><br /><img class="colorbox-911"  src="http://acl-training.s3.amazonaws.com/Free%20Videos/Part3-using-wl-post-login.png" width="480" height="320" alt="media" /><br />
</p>
<p>&nbsp;</p>
<p><a href="http://thewpwarrior.com/911/wishlist-wl-post-login-themes-rss/login">Wishlist WL Post Login, Themes &#038; RSS</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/911/wishlist-wl-post-login-themes-rss/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax and WordPress: Cool Resource&#8230;</title>
		<link>http://thewpwarrior.com/907/ajax-and-wordpress-cool-resource/login</link>
		<comments>http://thewpwarrior.com/907/ajax-and-wordpress-cool-resource/login#comments</comments>
		<pubDate>Fri, 17 Jun 2011 15:40:05 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Wordpress Hints And Tips]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[wordpress and ajax]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/wordpress/?p=907</guid>
		<description><![CDATA[My latest read&#8230;. I guess this makes me a true Girl Geek&#8230;. WordPress and Ajax. You know how you can be on a webpage and submit a form, click a link or simply interact and the content will update without the page having to reload?  Well, that&#8217;s most likely due to Ajax&#8230;. and I want [...]<p><a href="http://thewpwarrior.com/907/ajax-and-wordpress-cool-resource/login">Ajax and WordPress: Cool Resource&#8230;</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>My latest read&#8230;. I guess this makes me a true Girl Geek&#8230;. WordPress and Ajax.</p>
<p>You know how you can be on a webpage and submit a form, click a link or simply interact and the content will update without the page having to reload?  Well, that&#8217;s most likely due to Ajax&#8230;. and I want to know more.</p>
<p>I&#8217;m not a &#8216;big&#8217; reader of tech manuals- I prefer to &#8216;do&#8217; and &#8216;try&#8217;, rather than &#8216;read&#8217; about it. However, this book is pretty cool.</p>
<p>The WordPress and Ajax  e-book is a comprehensive view on using Ajax with WordPress.  The book  lays the foundation for you, and then walks you through three real-world  examples of how to use Ajax within WordPress.</p>
<p>I picked up the book as a free download &#8211; in fact I&#8217;m reading it on my iPod from <a href="http://www.wpajax.com/">www.wpajax.com</a> but you can also purchase a <a href="http://www.amazon.com/gp/product/1451598653/ref=as_li_tf_tl?ie=UTF8&amp;tag=askcharly-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399373&amp;creativeASIN=1451598653" target="_blank">&#8216;hard copy&#8217; of WordPress and Ajax from Amazon</a>.</p>
<p>If you&#8217;re serious about creating top notch WordPress Plugins and functions, this is a great reference point.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://thewpwarrior.com/907/ajax-and-wordpress-cool-resource/login">Ajax and WordPress: Cool Resource&#8230;</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/907/ajax-and-wordpress-cool-resource/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can WordPress Run Javascript</title>
		<link>http://thewpwarrior.com/892/can-wordpress-run-javascript/login</link>
		<comments>http://thewpwarrior.com/892/can-wordpress-run-javascript/login#comments</comments>
		<pubDate>Wed, 04 May 2011 01:20:40 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Wordpress Hints And Tips]]></category>
		<category><![CDATA[wordpress javascript]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/wordpress/?p=892</guid>
		<description><![CDATA[A really interesting question &#8211; but it does get asked&#8230;. Being really pedantic in my response, I would say that Javascript is actually executed on your computer, not the webhost. When a webpage loads, it &#8216;calls&#8217; a javascript that is downloaded to your computer and then executes locally through your browser. The reason I&#8217;m being [...]<p><a href="http://thewpwarrior.com/892/can-wordpress-run-javascript/login">Can WordPress Run Javascript</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A really interesting question &#8211; but it does get asked&#8230;.</p>
<p>Being really pedantic in my response, I would say that Javascript is actually executed on your computer, not the webhost.<br />
When a webpage loads, it &#8216;calls&#8217; a javascript that is downloaded to your computer and then executes locally through your browser.</p>
<p>The reason I&#8217;m being particular with this response is if the browser viewing your site does not support Javascript, or has javascript support turned off, the javascript called on a webpage will not execute.<span id="more-892"></span></p>
<p>WordPress can be configured to call javascripts.</p>
<p>Javascript is used for a number of things including:</p>
<ul>
<li>Displaying Navigation menus</li>
<li>Creating dropdown functions on nav menus</li>
<li>Shadow box / light box functions for images and videos</li>
<li>Sliders</li>
<li>Displaying opt in forms on pages</li>
<li>Interacting on a page like:
<ul>
<li>accordian menus</li>
<li>dynamic responses via forms</li>
<li>changing the styling elements on a page based on user preference</li>
<li>change the elements (images, videos, text etc) based on user preference</li>
</ul>
</li>
<li>Live Search functionality</li>
</ul>
<p>Really, what can be achieved with javascript is never ending&#8230;.</p>
<p>Many wordpress plugins use Javascript.  WordPress, itself, calls a number of javascript functions.  However, playing with javascript is not for the faint hearted &#8211; and if your javascript uses jQuery (a javascript coding framework) there are additional considerations, like using the WordPress No Conflict method to reference your code.</p>
<p>So the ultimate answer to the question is Yes, WordPress can CALL javascript.</p>
<p>&nbsp;</p>
<p><a href="http://thewpwarrior.com/892/can-wordpress-run-javascript/login">Can WordPress Run Javascript</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/892/can-wordpress-run-javascript/login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Thumbnails: Using A Woo Themes Custom Image or WordPress Post Thumbnail</title>
		<link>http://thewpwarrior.com/899/facebook-thumbnails-using-a-woo-themes-custom-image-or-wordpress-post-thumbnail/login</link>
		<comments>http://thewpwarrior.com/899/facebook-thumbnails-using-a-woo-themes-custom-image-or-wordpress-post-thumbnail/login#comments</comments>
		<pubDate>Mon, 02 May 2011 23:54:43 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Custom Menus]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Wordpress Hints And Tips]]></category>
		<category><![CDATA[facebook thumbnails]]></category>
		<category><![CDATA[setting the facebook thumbnail]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/wordpress/?p=899</guid>
		<description><![CDATA[When I wrote my last article, Facebook Send: Adding A Button To Your Theme, I noticed that the thumbnail wasn&#8217;t being set.  On AskCharlyLeetham.com, I noticed the thumbnail was being set to a random image from my page!  This has been a big issue for many wordpress website owners, as the image displayed often appeals [...]<p><a href="http://thewpwarrior.com/899/facebook-thumbnails-using-a-woo-themes-custom-image-or-wordpress-post-thumbnail/login">Facebook Thumbnails: Using A Woo Themes Custom Image or WordPress Post Thumbnail</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>When I wrote my last article, <a href="http://thewpwarrior.com/wordpress/895/facebook-send-adding-a-button-to-your-theme" target="_blank">Facebook Send: Adding A Button To Your Theme</a>, I noticed that the thumbnail wasn&#8217;t being set.  On AskCharlyLeetham.com, I noticed the thumbnail was being set to a random image from my page!  This has been a big issue for many wordpress website owners, as the image displayed often appeals to the reader or attracts as much attention as the headline or the words&#8230;</p>
<p>The question was, how to fix it!  My next dilemma was how to use the custom image that was applied to the post, as I use Woo Themes which has a custom image per post&#8230;<span id="more-899"></span></p>
<p>Thanks to the people over at <a href="http://www.theitechblog.com/1403/solution-to-facebook-like-button-thumbnail-problem">iTechBlog</a> (who found the solution at <a href="http://blog.ashfame.com/2011/02/wordpress-plugin-fix-facebook-like-thumbnail/" target="_blank">Ashframe</a>) I found a very simple solution to the problem &#8211; although I did have to make some mods to the suggested code to get it to work with the WooThemes custom image setting.</p>
<p>That also led me to consider how I would modify the code to take advantage of the <a href="http://codex.wordpress.org/Post_Thumbnails" target="_blank">WordPress Post Thumbnail </a>functionality&#8230;..</p>
<p>The suggestion was to add the following code to the themes &#8220;functions.php&#8221; file:</p>
<pre class="brush:php">
/**
* Function which sets the first image of the post as the thumbnail which shows up on FB like and share &#8211; http://blog.ashfame.com/?p=888
*/
add_action( &#39;wp_head&#39;, &#39;fb_like_thumbnails&#39; );
function fb_like_thumbnails()
{
global $posts;
$default = &#39;http://blog.ashfame.com/wp-content/themes/ashfameblog/images/ashfame-logo.png&#39;;
$content = $posts[0]-&gt;post_content; // $posts is an array, fetch the first element
$output = preg_match_all( &#39;/&lt;img.+src=[\'"]([^\'"]+)[\'"].*&gt;/i&#39;, $content, $matches);
if ( $output &gt; 0 )
$thumb = $matches[1][0];
else
$thumb = $default;
echo &quot;\n\n&lt;!&#8211; Facebook Like Thumbnail &#8211;&gt;\n&lt;link rel=\&quot;image_src\&quot; href=\&quot;$thumb\&quot; /&gt;\n&lt;!&#8211; End Facebook Like Thumbnail &#8211;&gt;\n\n&quot;;
}
</pre>
<p>In the above code, change the line:</p>
<pre class="brush:php">
$default = &#39;http://blog.ashfame.com/wp-content/themes/ashfameblog/images/ashfame-logo.png&#39;;
</pre>
<p>To point to the full location of the default image you want to use.<br />
The code will display the first image in a post or a page.</p>
<p><strong>Customising for Woo Themes</strong></p>
<p>However, I wanted to use the Woo Themes custom image as standard&#8230;. so some mods were required.</p>
<p>To do this, I had to find the custom name applied to the image field in the posts.  In Woo Themes, this is done in the &#8220;theme-options.php&#8221; file&#8230; in wp-admin -&gt; Appearance -&gt; Editor, locate theme-options.php in the right hand column and click on it.</p>
<p>Scroll through the file and locate the section (near the bottom) that starts with</p>
<pre class="brush:php">
// Woo Metabox Options
</pre>
<p>It will look a bit like this:</p>
<p><a href="http://thewpwarrior.com/wordpress/wp-content/uploads/2011/05/woo-meta-boxes.png"><img class="aligncenter size-full wp-image-900 colorbox-899" title="woo-meta-boxes" src="http://thewpwarrior.com/wordpress/wp-content/uploads/2011/05/woo-meta-boxes.png" alt="" width="460" height="244" /></a></p>
<p>From this section, I now know the name of the custom field that I need is called image (all lower case).</p>
<p>I modified the above code as follows:</p>
<pre class="brush:php">
add_action( &#39;wp_head&#39;, &#39;fb_like_thumbnails&#39; );
function fb_like_thumbnails()
{
global $post;
$default = &#39;link to my logo&#39;;
// get the post image
if ( get_post_meta($post-&gt;ID, &#39;image&#39;, true) ) {
$imgsrc = get_post_meta($post-&gt;ID, &#39;image&#39;, true);
} else {
$imgsrc = $default;
}
echo &#39;&lt;!&#8211; Facebook Like Thumbnail &#8211;&gt;&lt;link rel=&quot;image_src&quot; href=&quot;&#39;.$imgsrc.&#39;&quot; /&gt;&lt;!&#8211; End Facebook Like Thumbnail &#8211;&gt;&#39;;
}
</pre><br />
<strong>Note:</strong> change $default=&#8217;link to my logo&#8217; to a full web link to the image you want to use if a post image doesn&#8217;t exist!</p>
<p>The &#8216;get_post_meta&#8217; function retrieves the link to the custom image.  If the functions returns &#8216;something&#8217;, the post image is used and if it doesn&#8217;t, the default image is used.</p>
<p><strong>Using the WordPress Post Thumbnail</strong></p>
<p>Using the WordPress Post Thumbnail requires a few more lines of code and big thanks to <a href="http://www.leewillis.co.uk/getting-url-post-thumbnails-wordpress/" target="_blank">Lee Willis for the code to retrieve the Post Thumbnail url</a>.</p>
<p>The Post Thumbnail has several &#8216;sizes&#8217; associated with it, I recommend you choose something other than the &#8216;thumbnail&#8217; setting, as WordPress will generally crop the thumbnail to 150px by 150px (but that depends on your wordpress settings).</p>
<p>In this example, we&#8217;re going to use the &#8216;large&#8217; size.</p>
<p><pre class="brush:php">
add_action( &#39;wp_head&#39;, &#39;fb_like_thumbnails&#39; );
function fb_like_thumbnails()
{
global $post;
$default = &#39;link to my logo&#39;;
// get the post image
if ( get_post_thumbnail_id($post-&gt;ID)) {
$image_id = get_post_thumbnail_id($post-&gt;ID);
$image_url = wp_get_attachment_image_src($image_id,&#39;large&#39;);
$imgsrc = $image_url[0];
} else {
$imgsrc = $default;
}
echo &#39;&lt;!&#8211; Facebook Like Thumbnail &#8211;&gt;&lt;link rel=&quot;image_src&quot;  href=&quot;&#39;.$imgsrc.&#39;&quot; /&gt;&lt;!&#8211; End Facebook Like Thumbnail &#8211;&gt;&#39;;
}
</pre>
<p><strong>Taking Effect</strong></p>
<p>Once you&#8217;ve added this code to your themes functions.php, the code is effective immediately BUT Facebook will &#8216;scrape&#8217; a page once every 24 hours so your new image may not show immediately.  You can try the <a href="http://developers.facebook.com/tools/lint/" target="_blank">Facebook url linter</a> to have your page &#8216;re-scraped&#8217; immediately.</p>
<p><a href="http://thewpwarrior.com/899/facebook-thumbnails-using-a-woo-themes-custom-image-or-wordpress-post-thumbnail/login">Facebook Thumbnails: Using A Woo Themes Custom Image or WordPress Post Thumbnail</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/899/facebook-thumbnails-using-a-woo-themes-custom-image-or-wordpress-post-thumbnail/login/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Facebook Send: Adding A Button To Your Theme</title>
		<link>http://thewpwarrior.com/895/facebook-send-adding-a-button-to-your-theme/login</link>
		<comments>http://thewpwarrior.com/895/facebook-send-adding-a-button-to-your-theme/login#comments</comments>
		<pubDate>Sun, 01 May 2011 22:58:45 +0000</pubDate>
		<dc:creator>Charly Leetham</dc:creator>
				<category><![CDATA[Theme Mods]]></category>
		<category><![CDATA[Wordpress Hints And Tips]]></category>
		<category><![CDATA[facebook like]]></category>
		<category><![CDATA[facebook send]]></category>
		<category><![CDATA[modifying wordpress theme to add Facebook send button]]></category>

		<guid isPermaLink="false">http://thewpwarrior.com/wordpress/?p=895</guid>
		<description><![CDATA[Whilst there are dozens of plugins available to add a Facebook Like / Send button to your wordpress website, you may want to code the button into your theme. There are two reasons you may want to code the button into your theme: To place the button EXACTLY where you want it to appear&#8230; not [...]<p><a href="http://thewpwarrior.com/895/facebook-send-adding-a-button-to-your-theme/login">Facebook Send: Adding A Button To Your Theme</a> is a post from: <a href="http://thewpwarrior.com">The Wordpress Warrior</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Whilst there are dozens of plugins available to add a <strong>Facebook Like / Send button</strong> to your wordpress website, you may want to code the button into your theme.</p>
<p>There are two reasons you may want to code the button into your theme:</p>
<ol>
<li>To place the button EXACTLY where you want it to appear&#8230; not all plugins give you that flexibility</li>
<li>To reduce the number of plugins being loaded on your website and improve load time.</li>
</ol>
<p>Adding the button is a matter of a couple of edits to your theme.<span id="more-895"></span></p>
<p><strong>Adding the Facebook Like / Send button&#8230;</strong></p>
<p>The important thing is to decide where you want to place the Facebook Like / Send button! Generally, the button is placed at the end of posts, but it can be placed just about anywhere in the post and if you have some CSS Skills, you&#8217;ll be able to format the placement more effectively than I&#8217;m sharing here.</p>
<p>Let&#8217;s assume that we&#8217;re going to place the button just under our Post Headline.</p>
<p>For this example, I&#8217;m going to add the Facebook SEND button to the  individual post pages on my site &#8211; however, the instructions can be  adapted for any page template in your theme.</p>
<p>Go to wp-admin -&gt; Appearance -&gt; Editor</p>
<p>In the list of files, shown on the right hand side of the editing box, locate the file called single.php (if single.php is missing, then it&#8217;s likely that index.php will be required) and click on it.</p>
<p>Locate the &#8216;loop&#8217; section within that file &#8211; the start of the loop will look something like:</p>
<pre class="brush:php">
&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
</pre>
<p>This is the part of the post that actually gets the information for the post from the database and displays the &#8216;elements&#8217; on the screen.</p>
<p>&#8216;the loop&#8217; ends with the part:</p>
<pre class="brush:php">
&lt;?php endwhile; endif; ?&gt;
</pre>
<p>Next, within that loop, locate the part that displays the headline (because we want to display our SEND button under that area).</p>
<p>In most themes, that will be the part that looks something like:</p>
<pre class="brush:php">
&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
[gcode]
(each theme will have a variation on this, but essentially you&#39;re trying to find the bit that shows the_title())
On the next line in the code is where we&#39;ll work out magic to insert the Facebook Send button.  Copy and paste the code below:
[gcode]
&lt;!&#8211; facebook like button &#8211;&gt;
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script src=&quot;http://connect.facebook.net/en_US/all.js#xfbml=1&quot;&gt;&lt;/script&gt;
&lt;fb:like href=&quot;&lt;?php echo get_permalink(); ?&gt;&quot; show_faces=&quot;true&quot; colorscheme=&quot;light&quot; width=&quot;450&quot; send=&quot;true&quot;&gt;
&lt;/fb:like&gt;
</pre>
<p>Save your update by clicking on the update file button, and you&#8217;re finished.</p>
<p>Test the button by viewing a single post and watching the Like and Send button appear.</p>
<p>For more customisation on the Like and Send button, checkout the <a href="https://developers.facebook.com/docs/reference/plugins/like/" target="_blank">Facebook Social Plugins &#8211; Like Button</a> page.</p>
<p>Have you implemented the new SEND button on your wordpress website? How did you implement it, and if you used a plugin &#8211; which one did you use?</p>
<p><a href="http://thewpwarrior.com/895/facebook-send-adding-a-button-to-your-theme/login">Facebook Send: Adding A Button To Your Theme</a> is a post from: <a href="http://thewpwarrior.com">The WordPress Warrior</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thewpwarrior.com/895/facebook-send-adding-a-button-to-your-theme/login/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

