<?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>Weblog Tools Collection &#187; WordPress Hack</title>
	<atom:link href="http://weblogtoolscollection.com/archives/category/wordpress-hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblogtoolscollection.com</link>
	<description>Weblog Tools Blogging Tools Blog</description>
	<lastBuildDate>Fri, 17 May 2013 22:36:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>WordPress, IIS and Plesk &#8220;Unable to find wp-content&#8221; Woes and Solution</title>
		<link>http://weblogtoolscollection.com/archives/2011/11/23/wordpress-iis-and-plesk-unable-to-find-wp-content-woes-and-solution/</link>
		<comments>http://weblogtoolscollection.com/archives/2011/11/23/wordpress-iis-and-plesk-unable-to-find-wp-content-woes-and-solution/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 23:15:15 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[HOW-TO]]></category>
		<category><![CDATA[WordPress FAQs]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[wordpress upgrade]]></category>
		<category><![CDATA[wp-content]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=10743</guid>
		<description><![CDATA[I tried to help a co-worker with a professional blog for a TV channel yesterday and ran into some weird issues. We host the blog on a Windows 2008 server with IIS and Plesk. The WordPress install from within the Plesk worked fine but ours did not. The &#8220;white screen of death&#8221; on the install screen was perplexing (more on that at the bottom of this article), but every time he tried to either upgrade WordPress or install or upgrade a plugin or theme, he would receive warnings or failures stating that WordPress was unable to find the wp-content directory. This warning can take various forms but circle around the fact that WordPress did not find the right directory in the expected place. The obvious and painless solution is to upload the files directly to the server using FTP and then control the blog from within wp-admin. In this case, [...]]]></description>
				<content:encoded><![CDATA[<p>I tried to help a co-worker with a professional blog for a TV channel yesterday and ran into some weird issues. We host the blog on a Windows 2008 server with IIS and Plesk. The WordPress install from within the Plesk worked fine but ours did not. The &#8220;white screen of death&#8221; on the install screen was perplexing (more on that at the bottom of this article), but every time he tried to either upgrade WordPress or install or upgrade a plugin or theme, he would receive warnings or failures stating that WordPress was unable to find the wp-content directory. This warning can take various forms but circle around the fact that WordPress did not find the right directory in the expected place.</p>
<p>The obvious and painless solution is to upload the files directly to the server using FTP and then control the blog from within wp-admin. In this case, though I knew the simple solution, I wanted to get to the root of the problem. It turns out that weird permission issues with IIS and WordPress and in some extreme cases such as mine, can be solved with simple but somewhat hidden features to get the desired results.</p>
<p>A Google search revealed that adding a few lines of code to the end of your wp-config.php can solve most issues. As from <a href="http://www.firdouss.com/2009/10/guide-solving-wordpress-update-issue-unable-to-locate-wordpress-plugin-directory/">Firdouss.com guide</a>, try this solution first. Open up your production wp-config.php, find the end of the file and add the following lines at the end. Then save the file, upload to your server and try the process again.</p>
<blockquote>
<pre>if(is_admin()) {
	add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
	define( 'FS_CHMOD_DIR', 0751 );
}</pre>
</blockquote>
<p>If that does not solve your problem, you can use WordPress constants to solve your problem. It turns out (<a href="http://www.firdouss.com/2009/10/guide-solving-wordpress-update-issue-unable-to-locate-wordpress-plugin-directory/#comment-3374">thanks to a comment on the Firdouss.com guide</a>) that there are a <a href="http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants">host of constants</a> that can be added to wp-config that can fix broken upload and install/upgrade problems among other things. That link to the Codex contains a detailed explanation of the constants and what they should be set to. Please refer to that link since it will continue to be updated. In my case, I had to add the following to the end of my wp-config.php file. I could also have modified the above code to return ftpext instead.</p>
<blockquote>
<pre>define('FS_METHOD', 'ftpext');</pre>
</blockquote>
<p>Now in my case, there were other permission issues that had to be resolved. Our Plesk install had a borked permission system and in order for uploads to be deleted after they are unzipped and copied (WP need to switch to a move), I had to also CHMOD the files. So I ended up with the following code at the end of wp-config.</p>
<blockquote>
<pre>if(is_admin()) {
	add_filter('filesystem_method', create_function('$a', 'return "ftpext";' ));
	define( 'FS_CHMOD_DIR', 0755 );
}</pre>
</blockquote>
<p>Now the uploads/upgrades/installs work fine. YMMV.</p>
<p>As for the weird installation issue, it turns out that when I uploaded the WordPress install files on the server and visited the URI, I got redirected to the following along with a white screen of death with no errors.</p>
<p>http://example.com/index.php/wp-admin/install.php</p>
<p>I needed to change that URI manually to the following for the install to continue. That was all.</p>
<p>http://example.com/wp-admin/install.php</p>
<p>Do you have any other suggestions? Are there any tricks that have helped you get similar issues resolved?</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2011/11/23/wordpress-iis-and-plesk-unable-to-find-wp-content-woes-and-solution/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Multisite Domain Mapping Tutorial from Otto</title>
		<link>http://weblogtoolscollection.com/archives/2010/06/21/wordpress-3-0-multisite-domain-mapping-tutorial-from-otto/</link>
		<comments>http://weblogtoolscollection.com/archives/2010/06/21/wordpress-3-0-multisite-domain-mapping-tutorial-from-otto/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 19:10:25 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[domain mapping]]></category>
		<category><![CDATA[wordpress multisite]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=8191</guid>
		<description><![CDATA[WordPress 3.0: Multisite Domain Mapping Tutorial. As an extension of the excellent walk through of the multisite functionality of WordPress 3.0 by our very own Klint Finley, Otto has put together a domain mapping tutorial that is receiving rave reviews. Follow the steps to map multiple domain blogs from within the same WordPress 3.0 install.]]></description>
				<content:encoded><![CDATA[<p><a href="http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/">WordPress 3.0: Multisite Domain Mapping Tutorial</a>. As an extension of the excellent <a href="http://weblogtoolscollection.com/archives/2010/06/02/wordpress-3-multisite/">walk through of the multisite functionality of WordPress 3.0</a> by our very own Klint Finley, Otto has put together a domain mapping tutorial that is receiving rave reviews. Follow the steps to map multiple domain blogs from within the same WordPress 3.0 install.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2010/06/21/wordpress-3-0-multisite-domain-mapping-tutorial-from-otto/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Preventing WordPress Plugins From Loading</title>
		<link>http://weblogtoolscollection.com/archives/2010/01/10/preventing-wordpress-plugins-from-loading/</link>
		<comments>http://weblogtoolscollection.com/archives/2010/01/10/preventing-wordpress-plugins-from-loading/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 01:26:16 +0000</pubDate>
		<dc:creator>Ronald Huereca</dc:creator>
				<category><![CDATA[WordPress FAQs]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=7505</guid>
		<description><![CDATA[There may be times in WordPress where you would like to load the WordPress environment manually, and prevent plugins from loading. Two instances where this is ideal are: When loading an inline frame with Thickbox or Colorbox. When parsing AJAX requests in an external PHP file. To further give justification for this technique, I had a major plugin conflict with another plugin. My Ajax Edit Comments plugin had failed to work for one of my clients. After doing some troubleshooting, I determined it was a plugin conflict with &#8220;xyz&#8221; plugin. When I looked at the conflicting plugin&#8217;s code, I was able to pinpoint the problem to one patch of code, but failed to determine a fix. The conflicting plugin was causing my nonces to fail, as well as my AJAX processor to fail (since that uses nonces as well). Since my plugin&#8217;s editing options are all in a Colorbox inline [...]]]></description>
				<content:encoded><![CDATA[<p>There may be times in WordPress where you would like to load the WordPress environment manually, and prevent plugins from loading.</p>
<p>Two instances where this is ideal are:</p>
<ul>
<li>When loading an inline frame with <a href="http://jquery.com/demo/thickbox/">Thickbox</a> or <a href="http://colorpowered.com/colorbox/">Colorbox</a>.</li>
<li>When parsing AJAX requests in an external PHP file.</li>
</ul>
<p>To further give justification for this technique, I had a major plugin conflict with another plugin.  My <a href="http://www.ajaxeditcomments.com">Ajax Edit Comments</a> plugin had failed to work for one of my clients.</p>
<p>After doing some troubleshooting, I determined it was a plugin conflict with &#8220;xyz&#8221; plugin.  When I looked at the conflicting plugin&#8217;s code, I was able to pinpoint the problem to one patch of code, but failed to determine a fix.</p>
<p>The conflicting plugin was causing my nonces to fail, as well as my AJAX processor to fail (since that uses nonces as well).</p>
<p>Since my plugin&#8217;s editing options are all in a <a href="http://colorpowered.com/colorbox/">Colorbox</a> inline frame (where I manually load the WordPress environment), I figured I would only load the plugins I needed (mine in this case).</p>
<p>Okay, enough chat!  Let&#8217;s get started.</p>
<p>To call this technique a &#8220;hack&#8221; is a huge compliment.  I wouldn&#8217;t recommend this for widespread use.</p>
<h3>The Technique</h3>
<p>If you look at your <strong>wp-settings.php</strong> file, there is a conditional right before it loads your active plugins.</p>
<p>It checks to see if the constant <strong>WP_INSTALLING</strong> is defined.  If it is, WordPress doesn&#8217;t load any plugins.</p>
<p>So the trick to &#8220;trick&#8221; WordPress is to define the constant, and then manually load the WordPress environment.<br />
After that, we can load any plugins desired.</p>
<p>Here&#8217;s some code:</p>
<blockquote><pre><code>
&lt;?php
header(&#39;Content-Type: text/html&#39;);
define(&#39;WP_INSTALLING&#39;, true);
//Adjust the dirnames to match the path to your wp-load file.
$root = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
if (file_exists($root.&#39;/wp-load.php&#39;)) {
		// WP 2.6
		require_once($root.&#39;/wp-load.php&#39;);
} else {
		// Before 2.6
		require_once($root.&#39;/wp-config.php&#39;);
}
$plugin = &#39;your-plugin-directory/your-plugin-file.php&#39;;
// Validate plugin filename
if ( !validate_file($plugin) &amp;&amp; &#39;.php&#39; == substr($plugin, -4) &amp;&amp; file_exists(WP_PLUGIN_DIR . &#39;/&#39; . $plugin)) {
	include_once(WP_PLUGIN_DIR . &#39;/&#39; . $plugin);
}
unset($plugin);
?&gt;
</code></pre>
</blockquote>
<p>You&#8217;ll see from the snippet above that we define the constant <strong>WP_INSTALLING</strong>, and then load the WordPress environment.</p>
<p>After WordPress has loaded, we load the plugin file we need.</p>
<p>If you need more than one plugin loaded, you can use a simple <strong>foreach</strong> statement.</p>
<blockquote><pre><code>
$current_plugins = get_option( &#39;active_plugins&#39; );
if ( is_array($current_plugins)) {
	foreach ( $current_plugins as $plugin ) {
        // $plugin looks like: your-plugin-dir/your-plugin-file.php
        switch($plugin) {
        	case: &#39;yourplugin&#39;:
            case: &#39;anotherplugin&#39;:
            	break;
             default:
             	continue;
        }
		if ( !validate_file($plugin) &amp;&amp; &#39;.php&#39; == substr($plugin, -4) &amp;&amp; file_exists(WP_PLUGIN_DIR . &#39;/&#39; . $plugin)) {
			include_once(WP_PLUGIN_DIR . &#39;/&#39; . $plugin);
		}
	}
	unset($plugin);
}
unset($current_plugins);
</code></pre>
</blockquote>
<p>I would advise that you use this technique only in standalone files where needed, as I&#8217;m not sure of the long-term side-effects that might occur if the <strong>WP_INSTALLING</strong> constant is always defined.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2010/01/10/preventing-wordpress-plugins-from-loading/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Publish The Feed Later</title>
		<link>http://weblogtoolscollection.com/archives/2009/12/05/publish-the-feed-later/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/12/05/publish-the-feed-later/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 14:08:12 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[feed pauser]]></category>
		<category><![CDATA[rss feed]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=7288</guid>
		<description><![CDATA[Publish The Feed Later: WP Engineer provides a nice tutorial on how to publish your post to your feed a few minutes (configurable) after you publish your post. These few minutes can help you find errors or bugs in your post and fix them before they get sent out via your feed to all your readers. The &#8220;hack&#8221; requires you to change your theme&#8217;s functions.php file and add the code snippet provided. Alternatively you could also use a plugin written by our very own Keith, called Feed Pauser. I see no compatibility information on this plugin (maybe Keith could chime in and let us know) but it does offer further functionality such as the ability to prevent individual posts from appearing in your feed. A useful hack/plugin for those like me who have an itchy post finger.]]></description>
				<content:encoded><![CDATA[<p><a href="http://wpengineer.com/publish-the-feed-later/">Publish The Feed Later</a>: WP Engineer provides a nice tutorial on how to publish your post to your feed a few minutes (configurable) after you publish your post. These few minutes can help you find errors or bugs in your post and fix them before they get sent out via your feed to all your readers. The &#8220;hack&#8221; requires you to change your theme&#8217;s functions.php file and add the code snippet provided. Alternatively you could also use a plugin written by our very own Keith, called <a href="http://wordpress.org/extend/plugins/feed-pauser/">Feed Pauser</a>. I see no compatibility information on this plugin (maybe Keith could chime in and let us know) but it does offer further functionality such as the ability to prevent individual posts from appearing in your feed. A useful hack/plugin for those like me who have an itchy post finger.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/12/05/publish-the-feed-later/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>¿Habla HTML?</title>
		<link>http://weblogtoolscollection.com/archives/2009/09/01/habla-html/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/09/01/habla-html/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 12:06:17 +0000</pubDate>
		<dc:creator>James Dimick</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[htmlify]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=6572</guid>
		<description><![CDATA[DISCLAIMER: This post is in no way intended to promote HTML over XHTML or vice-versa. This is simply a solution to a problem for those who may find it useful. Anyone who has used WordPress for any decent length of time probably knows that everything it outputs is in XHTML format. For those who prefer this, that&#8217;s just fine. However, for those of us out there that prefer to use HTML instead, we&#8217;re pretty much out of luck when it comes to WordPress. As it stands now, there is no easy way to make WordPress output in HTML format. But today I hope to help those people with this simple function I found around the web. First, the code: function HTMLify($buffer) { $xhtml = array('/XHTML 1.0 Transitional&#124;XHTML 1.0 Strict&#124;XHTML 1.0 Frameset&#124;XHTML 1.1&#124;XHTML Basic 1.0&#124;XHTML Basic 1.1/', '/xhtml1\/DTD\/xhtml1-transitional.dtd&#124;xhtml1\/DTD\/xhtml1-strict.dtd&#124;xhtml11\/DTD\/xhtml11.dtd&#124;xhtml-basic\/xhtml-basic10.dtd&#124;xhtml-basic\/xhtml-basic11.dtd/', '/\/&#62;/', '/\/\s+&#62;/', '/xmlns="http:\/\/www.w3.org\/1999\/xhtml"/', '/\s+xmlns="http:\/\/www.w3.org\/1999\/xhtml"/', '/\s+xml:lang="(.*)"\s+lang="(.*)"/', '/\s+&#62;/'); $html = array('HTML 4.01', 'html4/strict.dtd', '&#62;', '&#62;', [...]]]></description>
				<content:encoded><![CDATA[<p style="background-color:#fae8d3;padding:5px 10px;margin-bottom:20px"><strong>DISCLAIMER:</strong> This post is in no way intended to promote HTML over XHTML or vice-versa. This is simply a solution to a problem for those who may find it useful.</p>
<p>Anyone who has used WordPress for any decent length of time probably knows that everything it outputs is in <abbr title="Extensible HyperText Markup Language">XHTML</abbr> format. For those who prefer this, that&#8217;s just fine. However, for those of us out there that prefer to use <abbr title="Hypertext Markup Language">HTML</abbr> instead, we&#8217;re pretty much out of luck when it comes to WordPress. As it stands now, there is no easy way to make WordPress output in HTML format. But today I hope to help those people with this simple function I found around the web.</p>
<h4>First, the code:</h4>
<pre style="white-space:pre!important;word-wrap:normal!important;overflow:auto!important"><code>function HTMLify($buffer) {
    $xhtml = array('/XHTML 1.0 Transitional|XHTML 1.0 Strict|XHTML 1.0 Frameset|XHTML 1.1|XHTML Basic 1.0|XHTML Basic 1.1/', '/xhtml1\/DTD\/xhtml1-transitional.dtd|xhtml1\/DTD\/xhtml1-strict.dtd|xhtml11\/DTD\/xhtml11.dtd|xhtml-basic\/xhtml-basic10.dtd|xhtml-basic\/xhtml-basic11.dtd/', '/\/&gt;/', '/\/\s+&gt;/', '/xmlns="http:\/\/www.w3.org\/1999\/xhtml"/', '/\s+xmlns="http:\/\/www.w3.org\/1999\/xhtml"/', '/\s+xml:lang="(.*)"\s+lang="(.*)"/', '/\s+&gt;/');
    $html = array('HTML 4.01', 'html4/strict.dtd', '&gt;', '&gt;', '', '', '', '&gt;');
    return(preg_replace($xhtml, $html, $buffer));
}</code></pre>
<h4>Usage</h4>
<ol>
<li>Paste the code above in a file called <code>functions.php</code> inside the theme folder of your currently active theme.</li>
<li>Go into the theme folder of the currently active theme, open the <code>header.php</code> file, and paste this before any other code that outputs to the browser:<br />
<code>&lt;?php ob_start('HTMLify') ?&gt;</code><br />
<small>To use the default WordPress theme as an example, paste this code before the DOCTYPE declaration.</small></li>
<li>Save everything! <strong>That&#8217;s it!</strong> If you now look at the source code for your site you&#8217;ll notice that everything is HTML instead of XHTML.</li>
</ol>
<h4>Explanation</h4>
<p>Basically, what the code does is, it takes the entire output of the page currently being requested and runs it through our function called <code>HTMLify</code>. The function looks for various XHTML-type code and replaces it with HTML-type code. Pretty simple.</p>
<p>The true beauty of it is the function happens after everything is output by WordPress. So, all of WordPress&#8217;s code AND any of your custom code is converted. So you could even continue to code in XHTML but have it output as HTML. Cool huh?</p>
<h4>An Alternative</h4>
<p>While looking around the web I also came upon <a href="http://www.kilroyjames.co.uk/2008/07/xhtml-to-html-wordpress-plugin/">this website</a> which has a plugin for WordPress that does the same job. Those of you who prefer to use plugins may be more interested in this approach.</p>
<p>Anyway, that&#8217;s all there is to it. A little bit of code to solve a big problem. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/09/01/habla-html/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Actions and Filters and Classes, Oh My!</title>
		<link>http://weblogtoolscollection.com/archives/2009/08/26/actions-and-filters-and-classes-oh-my/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/08/26/actions-and-filters-and-classes-oh-my/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 21:37:22 +0000</pubDate>
		<dc:creator>James Dimick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[Action]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Filter]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=6550</guid>
		<description><![CDATA[Ever wondered how you can manipulate WordPress filters and actions that are defined inside a PHP class? I did! I was working on a project recently that needed a plugin. The only problem was that the plugin was inserting some unnecessary cruft into the header of my theme. So, I figured I&#8217;d just use the remove_filter function WordPress provides&#8230; right? Hold on a second! It&#8217;s not working!? But I put in the function name just how the codex explains it: remove_filter('wp_head', 'the_crufty_function'); Why would it not work? Time to do some troubleshooting&#8230; So, I opened up the main plugin PHP file in my code editor and began to look around. What&#8217;s this? It&#8217;s a class! Hmm&#8230; But why should that make a difference? It seems that WordPress requires a special reference to the function if it is defined inside a class. If you, the reader, are at all familiar with [...]]]></description>
				<content:encoded><![CDATA[<p>Ever wondered how you can manipulate WordPress filters and actions that are defined inside a PHP class?</p>
<p>I did! I was working on a project recently that needed a plugin. The only problem was that the plugin was inserting some unnecessary cruft into the header of my theme. So, I figured I&#8217;d just use the <code><a href="http://codex.wordpress.org/Function_Reference/remove_filter">remove_filter</a></code> function WordPress provides&#8230; right?</p>
<p>Hold on a second! It&#8217;s not working!? But I put in the function name just how the codex explains it:</p>
<p><code>remove_filter('wp_head', 'the_crufty_function');</code></p>
<p>Why would it not work? Time to do some troubleshooting&#8230; So, I opened up the main plugin PHP file in my code editor and began to look around. What&#8217;s this? It&#8217;s a class! Hmm&#8230; But why should that make a difference?</p>
<p>It seems that WordPress requires a special reference to the function if it is defined inside a class. If you, the reader, are at all familiar with PHP classes then you probably know that you can usually access a class&#8217;s functions like this:</p>
<p><code>$the_class_initiator_variable-&gt;some_function();</code></p>
<p>So, lets give that a try:</p>
<p><code>remove_filter('wp_head', $the_crufty_class-&gt;the_crufty_function);</code></p>
<p>Still nothing&#8230; Oh boy&#8230; What do I do now? I guess we&#8217;ll try some Googling&#8230;</p>
<p><em>&#8230;Hmm&#8230;</em></p>
<p><em>&#8230;Not finding much&#8230;</em></p>
<p>Well&#8230; after much searching and trying different things I finally came upon this:</p>
<p><code>remove_filter('wp_head', array(&amp;$the_crufty_class, 'the_crufty_function'));</code></p>
<p>It works! <strong>Wonderful!</strong></p>
<p>You take the class initiator variable and the name of the function and put it in an array. Simple as that!</p>
<p><strong>Note:</strong> No, that ampersand is not a typo! It sets up a reference to the original variable instead of copying it’s value. You&#8217;d be surprised how many people don&#8217;t know what the ampersand does in PHP. I didn&#8217;t know for the longest time.</p>
<p>Also, because the <code>remove_filter</code> and <code>remove_action</code> functions are so similar this method applies to both.</p>
<p>There you have it! Just a quick little tip regarding an issue that doesn&#8217;t seem to be very well documented. I&#8217;m sure some of the experts out there already know of this but, I didn&#8217;t. I&#8217;m willing to assume there are some people out there like me who are racking their brains over this very issue.</p>
<p>Hope it helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/08/26/actions-and-filters-and-classes-oh-my/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>10 Useful WordPress Hook Hacks</title>
		<link>http://weblogtoolscollection.com/archives/2009/08/18/10-useful-wordpress-hook-hacks/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/08/18/10-useful-wordpress-hook-hacks/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 22:50:55 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[brainstorming]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress hooks]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=6518</guid>
		<description><![CDATA[If you are a WordPress developer or designer or have been messing around in the world of WordPress for any period of time, you have by no doubt heard of WordPress hooks. Hooks are a set of custom written functions that can be added to existing functions in the WordPress core to increase, improve or remove functionality. WordPress plugins make extensive use of hooks to latch onto various portions of the WordPress themes or to the admin interface in order to provide the additional functionality or to perform certain actions in certain parts of the code. If you are looking to understand hooks, learn about all the action and filter hooks and all the deprecated hooks, find the latest changes and understand how hooks can be used in customizing WordPress, I suggest you look at Adam&#8217;s WordPress hooks database. Smashing Magazine has listed 10 Useful WordPress Hook Hacks in which they [...]]]></description>
				<content:encoded><![CDATA[<p>If you are a WordPress developer or designer or have been messing around in the world of WordPress for any period of time, you have by no doubt heard of WordPress hooks. Hooks are a set of custom written functions that can be added to existing functions in the WordPress core to increase, improve or remove functionality. WordPress plugins make extensive use of hooks to latch onto various portions of the WordPress themes or to the admin interface in order to provide the additional functionality or to perform certain actions in certain parts of the code. If you are looking to understand hooks, learn about all the action and filter hooks and all the deprecated hooks, find the latest changes and understand how hooks can be used in customizing WordPress, I suggest you look at Adam&#8217;s <a href="http://adambrown.info/p/wp_hooks">WordPress hooks database</a>.</p>
<p>Smashing Magazine has listed <a href="http://www.smashingmagazine.com/2009/08/18/10-useful-wordpress-hook-hacks/">10 Useful WordPress Hook Hacks</a> in which they do some useful things by using the hook functionality. Many of these are already being performed by various plugins and by itself serves no new purpose. However, as a learning tool or as a catalyst for plugin authors to try new things, this list can be very useful. For example, the &#8220;Get entire post or page in a PHP variable&#8221; is similar to the technique used by <a href="http://www.google.com/search?hl=en&amp;q=matt+asides&amp;aq=f&amp;oq=&amp;aqi=">Matt&#8217;s asides</a> and later replicated in various Asides plugins written for WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/08/18/10-useful-wordpress-hook-hacks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Configuration Tricks</title>
		<link>http://weblogtoolscollection.com/archives/2009/06/29/wordpress-configuration-tricks/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/06/29/wordpress-configuration-tricks/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 23:13:25 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[Blogging News]]></category>
		<category><![CDATA[brainstorming]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[wp-config]]></category>
		<category><![CDATA[wp_http]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=6156</guid>
		<description><![CDATA[WordPress Configuration Tricks : If you have ever installed WordPress and wanted to know what else you could do with your wp-config.php file, this is the blog post to read. As Ozh points out in the comments, a couple of tricks were left out but nothing that could not be remedied with a simple Google search (e.g. WP_HTTP) as long as you know what you are looking for. Tips from that page that got me thinking (things that make you go hmmmmm?) include moving your wp-content directory, increasing your memory limit, changing the autosave interval, turning on debugging and finally the ability to specify a log file for errors. All of this through the wondrous wp-config.php file. The list is quite exhaustive. While you are there, make sure you subscribe to the blog. Chris and Jeff are putting out some good stuff!]]></description>
				<content:encoded><![CDATA[<p><a href="http://diggingintowordpress.com/2009/06/wordpress-configuration-tricks/"> WordPress Configuration Tricks </a>: If you have ever installed WordPress and wanted to know what else you could do with your wp-config.php file, this is the blog post to read. As Ozh points out in the comments, a couple of tricks were left out but nothing that could not be remedied with a simple Google search (e.g. <a href="http://phpdoc.wordpress.org/trunk/WordPress/HTTP/WP_Http.html">WP_HTTP</a>) as long as you know what you are looking for.</p>
<p>Tips from that page that got me thinking (things that make you go hmmmmm?) include moving your wp-content directory, increasing your memory limit, changing the autosave interval, turning on debugging and finally the ability to specify a log file for errors. All of this through the wondrous wp-config.php file. The list is quite exhaustive.</p>
<p>While you are there, make sure you subscribe to the blog. Chris and Jeff are putting out some good stuff!</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/06/29/wordpress-configuration-tricks/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Blogging and WordPress Links for 4/23/09</title>
		<link>http://weblogtoolscollection.com/archives/2009/04/23/blogging-and-wordpress-links-for-42309/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/04/23/blogging-and-wordpress-links-for-42309/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 12:21:16 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[Blogging News]]></category>
		<category><![CDATA[brainstorming]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[blogging law]]></category>
		<category><![CDATA[content theft]]></category>
		<category><![CDATA[wordpress hacks]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=5622</guid>
		<description><![CDATA[How To Blog Anonymously And Maintain Control Of Your Personal Privacy.: Robin Good puts together a nice writeup on how and why to blog anonymously. If you do not have Robin on your reading list, he should be. I like his general writing style and his visual clues. 10 Exceptional WordPress hacks from Smashing Magazine.: Smashing Magazine has another list of nice hacks for WordPress including resizing images on the fly and automatically including the first image in your posts for your home page. These lists amaze me. Some of the more popular design sites and larger blog houses such as Smashing Magazine and Mashable have become very adept at using lists to link bait. These lists tend to get Dugg very heavily and bring in a lot of traffic for them. I still cannot look away from a good list about WordPress! 3 tools to track and defeat content [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.masternewmedia.org/how-to-blog-anonymously-and-maintain-control-of-your-personal-privacy-guide/">How To Blog Anonymously And Maintain Control Of Your Personal Privacy</a>.: Robin Good puts together a nice writeup on how and why to blog anonymously. If you do not have <a href="http://www.masternewmedia.org/index.html">Robin on your reading list</a>, he should be. I like his general writing style and his visual clues.</p>
<p><a href="http://www.smashingmagazine.com/2009/04/15/10-exceptional-wordpress-hacks/">10 Exceptional WordPress hacks from Smashing Magazine</a>.: Smashing Magazine has another list of nice hacks for WordPress including resizing images on the fly and automatically including the first image in your posts for your home page. These lists amaze me. Some of the more popular design sites and larger blog houses such as Smashing Magazine and Mashable have become very adept at using lists to link bait. These lists tend to get Dugg very heavily and bring in a lot of traffic for them. I still cannot look away from a good list about WordPress!</p>
<p><a href="http://www.killertechtips.com/2009/04/16/three-tools-to-track-and-defeat-content-theft/">3 tools to track and defeat content theft</a> lists three tools available to counteract content theft from your blog. This has become even more of an issue of late with the economy in the lurch, more people are jumping on the blogging bandwagon looking to make some extra money and might not be aware of copyright and Intellectual Property laws. The last tool listed is <a href="http://tynt.com/">Tynt Tracer</a> and I have been uysing it for a while. Tracer tracks and lists all the browser actions performed by visitors such as selecting and copying text and then uses Javascript to add a small link back to the original content if it is pasted onto another webpage somewhere. This method of tracking information copying is not really very effective, especially in this automated world of scrapers. While the information provided is interesting, it turns out to be a little useless if your content is <em>not</em> ruled by the lure of SEO but by your desire to just write and disseminate information. I still find myself checking back with the Tynt admin interface once in a while to see which topics seem to be more Search Engine popular this week.</p>
<p><a href="http://www.blogherald.com/2009/04/20/20-law-related-questions-every-blogger-should-know/">20 Law related questions every blogger should know</a>: <a href="http://www.plagiarismtoday.com/">Jonathan Bailey</a> puts together the answers to a list of 20 Law related questions for bloggers for the topics of Copyright, Defamation and Trademark. Again, this is for informational purposes only and is not to be considered as legal advice. This is also based on US Law.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/04/23/blogging-and-wordpress-links-for-42309/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress News for 3/31/09</title>
		<link>http://weblogtoolscollection.com/archives/2009/03/31/wordpress-news-for-33109/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/03/31/wordpress-news-for-33109/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 12:16:04 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[Blog Templates Blog Skins Blog Themes]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Templates WordPress Skins WordPress Themes]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[psd]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=5421</guid>
		<description><![CDATA[Learn how to create a sleek and stylish WordPress theme in Photoshop with this tutorial from PSDVibe. A little tweak with a little creativity could land you a personalized theme. Once you put together your new theme, don&#8217;t forget to offer it to others to download and enjoy! Learn some new tricks and discover new tools and plugins to speed up your WordPress blog. I have run into some scalability issues with this blog recently and have learned quite a bit. Jean-Baptiste tells us about 10 awesome .htaccess hacks for your WordPress blog including the ability to redirect visitors to a maintenance page while you can continue to see and work on your blog.]]></description>
				<content:encoded><![CDATA[<p>Learn how to <a href="http://psdvibe.com/2009/03/22/myblues-wordpress-style-layout/">create a sleek and stylish WordPress theme in Photoshop with this tutorial from PSDVibe</a>. A little tweak with a little creativity could land you a personalized theme. Once you put together your new theme, don&#8217;t forget to <a href="http://weblogtoolscollection.com/submit-news/">offer it to others to download and enjoy</a>!</p>
<p>Learn some <a href="http://www.noupe.com/wordpress/13-great-wordpress-speed-tips-tricks-for-max-performance.html">new tricks and discover new tools and plugins to speed up your WordPress blog</a>. I have run into some scalability issues with this blog recently and have learned quite a bit.</p>
<p><a href="http://www.catswhocode.com/blog/10-awesome-htaccess-hacks-for-wordpress">Jean-Baptiste tells us about 10 awesome .htaccess hacks</a> for your WordPress blog including the ability to redirect visitors to a maintenance page while you can continue to see and work on your blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/03/31/wordpress-news-for-33109/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress for iPhone Version 1.2 Available</title>
		<link>http://weblogtoolscollection.com/archives/2009/03/19/wordpress-for-iphone-version-12-available/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/03/19/wordpress-for-iphone-version-12-available/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 11:33:32 +0000</pubDate>
		<dc:creator>Thaya Kareeson</dc:creator>
				<category><![CDATA[Cool Scripts]]></category>
		<category><![CDATA[Weblog Add-Ons]]></category>
		<category><![CDATA[Weblog tools blog tools blogging tools]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[WordPress for iPhone]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=5358</guid>
		<description><![CDATA[The new version of WordPress for iPhone (and iPod touch) app is now live and available for download in the iTunes App store. This version has a lot of fixes/enhancements that many people (including me) have been waiting for. I&#8217;ve been playing around with version 1.2 for a little bit and here are some of my first impressions. New Features (and Some Comments) Landscape mode with extra wide keyboard This is probably the most desired feature for this application simply because it is physically painful to type a full length blog post in the iPhone portrait keyboard. I am glad that the portrait keyboard restriction is now a thing of the past! Link creation help I wasn&#8217;t sure where this feature was hiding at first, but I soon found the trick to invoking this feature. Basically anytime you are writing, you can type something that resembles a link (for example [...]]]></description>
				<content:encoded><![CDATA[<p>The new version of WordPress for iPhone (and iPod touch) app is now live and available for download in the iTunes App store.  This version has a lot of fixes/enhancements that many people (including me) have been waiting for.  I&#8217;ve been playing around with version 1.2 for a little bit and here are some of my first impressions.</p>
<h3>New Features (and Some Comments)</h3>
<ul>
<li><strong>Landscape mode with extra wide keyboard</strong><br />
<img class="alignnone size-full wp-image-5370" title="WordPress for iPhone Landscape Keyboard" src="http://i1.wp.com/weblogtoolscollection.com/b2-img/2009/03/wp_iphone_landscape_keyboard.jpg?resize=320%2C213" alt="WordPress for iPhone Landscape Keyboard" data-recalc-dims="1" /><br />
This is probably the most desired feature for this application simply because it is physically painful to type a full length blog post in the iPhone portrait keyboard.  I am glad that the portrait keyboard restriction is now a thing of the past!</li>
<li><strong>Link creation help</strong><br />
<img class="alignnone size-full wp-image-5371" title="WordPress for iPhone Link Create 1st Dialog" src="http://i0.wp.com/weblogtoolscollection.com/b2-img/2009/03/wp_iphone_link_create_1.jpg?resize=320%2C213" alt="wp_iphone_link_create_1" data-recalc-dims="1" /><br />
<img class="alignnone size-full wp-image-5372" title="WordPress for iPhone Link Create 2nd Dialog" src="http://i2.wp.com/weblogtoolscollection.com/b2-img/2009/03/wp_iphone_link_create_2.jpg?resize=320%2C213" alt="WordPress for iPhone Link Create 2nd Dialog" data-recalc-dims="1" /><br />
I wasn&#8217;t sure where this feature was hiding at first, but I soon found the trick to invoking this feature.  Basically anytime you are writing, you can type something that resembles a link (for example &#8220;www.&#8221; or &#8220;http&#8221;) to invoke a little prompt that asks you if you want to create a link.  Answering yes will bring up another prompt asking you to fill in the URL.  I think this is slick interface although some people might find it a bit annoying.  It would be nice to merge these two dialogs into one dialog and also have the option to turn this feature off.</li>
<li><strong>Support for editing and creating pages</strong><br />
<img class="alignnone size-full wp-image-5373" title="WordPress for iPhone Pages Support" src="http://i2.wp.com/weblogtoolscollection.com/b2-img/2009/03/wp_iphone_pages.jpg?resize=320%2C213" alt="WordPress for iPhone Pages Support" data-recalc-dims="1" /><br />
There&#8217;s not much to say here.  Previously you weren&#8217;t able to create/edit pages.  Now you can.  Note that this feature is only available for WordPress.org 2.7+ or WordPress.com blogs.</li>
<li><strong>Comment moderation</strong><br />
<img class="alignnone size-full wp-image-5387" title="WordPress for iPhone Comments Moderation" src="http://i1.wp.com/weblogtoolscollection.com/b2-img/2009/03/wp_iphone_comments1.jpg?resize=320%2C213" alt="WordPress for iPhone Comments Moderation" data-recalc-dims="1" /><br />
This is one of my other favorite enhancements because I usually spend more time moderating comments than writing blog posts.  To be able to do this on-the-go without having to continually login and deal with browser cookies is quite convenient.  Note that this feature is only available for WordPress.org 2.7+ or WordPress.com blogs.</li>
<li><strong>Asynchronous publishing</strong><br />
There weren&#8217;t any visible changes for this feature, but I assume asynchronous is better than what was in the earlier version.</li>
<li><strong>Photo resizing options</strong><br />
<img class="alignnone size-full wp-image-5375" title="WordPress for iPhone Photo Resize" src="http://i2.wp.com/weblogtoolscollection.com/b2-img/2009/03/wp_iphone_photo_resize.jpg?resize=320%2C213" alt="WordPress for iPhone Photo Resize" data-recalc-dims="1" /><br />
When this feature is enabled, all photos attached to the post will be resized to be no larger than 640&#215;480 to save space and publishing time.  It&#8217;s a nice feature to have, but I don&#8217;t think I will be using it personally.</li>
</ul>
<h3>Bug in Version 1.2</h3>
<p>I know that you are thinking, &#8220;already?&#8221; right?  Indeed, the WordPress for iPhone App team has confirmed the <a href="http://iphone.wordpress.org/2009/03/19/heads-up-photo-bug-in-version-12/">existence of a photo bug in this version</a>.   <span style="text-decoration: line-through;">They are assuring us that the fix will be pushed out as soon as possible.  It&#8217;s best for you to wait on the upgrade if you post photos with the WordPress for iPhone application.  If not, then you should definitely upgrade and enjoy these great new features!</span> Version 1.21 is out with this bug fixed.  Go grab it now!</p>
<h3>Go grab it!</h3>
<p>You can get the WordPress for iPhone (and iPod touch) app for free at the <a title="WordPress for iPhone iTunes App Store" href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=285073074&amp;mt=8">iTunes App store</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/03/19/wordpress-for-iphone-version-12-available/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>The manual Excerpt in WordPress. What, why, how, tips and plugins</title>
		<link>http://weblogtoolscollection.com/archives/2009/02/24/the-manual-excerpt-in-wordpress-what-why-how-tips-and-plugins/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/02/24/the-manual-excerpt-in-wordpress-what-why-how-tips-and-plugins/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 14:38:16 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[wordpress excerpt]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=5217</guid>
		<description><![CDATA[The manual Excerpt in WordPress. What, why, how, tips and plugins.: Demetris has a written a very nice, well illustrated and explained tutorial on the WordPress excerpt and how to manipulate it to take full advantage of it. WordPress excerpts, which are not excerpts, make a WordPress site easier to browse and its content easier to discover. In addition, when also used as META descriptions, good excerpts bring more and better traffic from search engines. Topics discussed include: What is the WordPress excerpt Why write excerpts in WordPress How to write excerpts WordPress Excerpt Editor Excerpts as META descriptions Notes, Miscellaneous Links In Demetris&#8217; style, the tutorial is very well written and well fleshed out.]]></description>
				<content:encoded><![CDATA[<p><a href="http://op111.net/67">The manual Excerpt in WordPress. What, why, how, tips and plugins</a>.: Demetris has a written a very nice, well illustrated and explained tutorial on the WordPress excerpt and how to manipulate it to take full advantage of it.</p>
<p><em>WordPress excerpts, which are not excerpts, make a WordPress site easier to browse and its content easier to discover. In addition, when also used as META descriptions, good excerpts bring more and better traffic from search engines.</em></p>
<p><!--CONTENTS-->Topics discussed include:</p>
<ol>
<li>What is the WordPress excerpt</li>
<li>Why write excerpts in WordPress</li>
<li>How to write excerpts</li>
<li>WordPress Excerpt Editor</li>
<li>Excerpts as META descriptions</li>
<li>Notes, Miscellaneous</li>
<li>Links</li>
</ol>
<p>In Demetris&#8217; style, the tutorial is very well written and well fleshed out.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/02/24/the-manual-excerpt-in-wordpress-what-why-how-tips-and-plugins/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mastering WordPress Shortcodes</title>
		<link>http://weblogtoolscollection.com/archives/2009/02/11/mastering-wordpress-shortcodes/</link>
		<comments>http://weblogtoolscollection.com/archives/2009/02/11/mastering-wordpress-shortcodes/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 16:30:04 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[Cool Scripts]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[smashing magazine]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=5123</guid>
		<description><![CDATA[Mastering WordPress Shortcodes.: Smashing Magazine had a nice instructional writeup on mastering WordPress shortcodes and creating new ones to make one&#8217;s blogging life easier. Shortcodes are small peices of pre-determined code (viewable in the HTML version of a post) that are later expanded by WordPress when a post is published and subsequently displayed. Shortcodes are already used by WordPress for many internal functions such as albums. This tutorial goes into details of the shortcode API in WordPress and into some detail of creating advanced shortcodes to accomplish tasks such as Send to Twitter (or consequently, send to Techmeme via Twitter) Create an RSS feed link Insert Adsense into a post Insert an RSS reader into a post Add shortcodes to sidebars Please let us know if you have used any of these or know of/have created others that might be useful.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/">Mastering WordPress Shortcodes</a>.: Smashing Magazine had a nice instructional writeup on mastering WordPress shortcodes and creating new ones to make one&#8217;s blogging life easier. Shortcodes are small peices of pre-determined code (viewable in the HTML version of a post) that are later expanded by WordPress when a post is published and subsequently displayed. <a href="http://weblogtoolscollection.com/search-beta.php?q=shortcode">Shortcodes are already used by WordPress</a> for many internal functions such as albums. This tutorial goes into details of the shortcode API in WordPress and into some detail of creating advanced shortcodes to accomplish tasks such as</p>
<ul>
<li>Send to Twitter (or consequently, <a href="http://weblogtoolscollection.com/archives/2009/02/03/twitter-tips-to-techmeme/">send to Techmeme via Twitter</a>)</li>
<li>Create an RSS feed link</li>
<li>Insert Adsense into a post</li>
<li>Insert an RSS reader into a post</li>
<li>Add shortcodes to sidebars</li>
</ul>
<p>Please let us know if you have used any of these or know of/have created others that might be useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2009/02/11/mastering-wordpress-shortcodes/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>WordPress Notifier for Mac OSX</title>
		<link>http://weblogtoolscollection.com/archives/2008/12/13/wordpress-notifier-for-mac-osx/</link>
		<comments>http://weblogtoolscollection.com/archives/2008/12/13/wordpress-notifier-for-mac-osx/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 15:20:10 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[Weblog Add-Ons]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hack]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[wordpress notifier]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=4752</guid>
		<description><![CDATA[WordPress Notifier for Mac OSX.: This is a freeware tool that sits in your Mac OS X status bar and displays the current unapproved comment count on your WordPress blog. WordPress notifier works with WordPress 2.7 and above and works for blogs on WordPress.com. The screenshots look pretty cool!]]></description>
				<content:encoded><![CDATA[<div id="attachment_4755" class="wp-caption aligncenter" style="width: 310px"><a href="http://i2.wp.com/weblogtoolscollection.com/b2-img/2008/12/sc2.png" rel="thumbnail"><img class="size-medium wp-image-4755" title="Mac OS X Status Bar integeration" src="http://i2.wp.com/weblogtoolscollection.com/b2-img/2008/12/sc2.png?resize=300%2C184" alt="" data-recalc-dims="1" /></a><p class="wp-caption-text">Mac OS X Status Bar integeration</p></div>
<p style="text-align: left;"><a href="http://www.wpnotifier.com/">WordPress Notifier for Mac OSX</a>.: This is a freeware tool <strong>that sits in your Mac OS X status bar and displays the current unapproved comment count</strong> on your WordPress blog. WordPress notifier works with WordPress 2.7 and above and works for blogs on WordPress.com. The screenshots look pretty cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2008/12/13/wordpress-notifier-for-mac-osx/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>10 Useful RSS Tricks and Hacks For WordPress</title>
		<link>http://weblogtoolscollection.com/archives/2008/12/09/10-useful-rss-tricks-and-hacks-for-wordpress/</link>
		<comments>http://weblogtoolscollection.com/archives/2008/12/09/10-useful-rss-tricks-and-hacks-for-wordpress/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 21:18:29 +0000</pubDate>
		<dc:creator>Mark Ghosh</dc:creator>
				<category><![CDATA[LinkyLoo]]></category>
		<category><![CDATA[WordPress Hack]]></category>

		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=4697</guid>
		<description><![CDATA[10 Useful RSS-Tricks and Hacks For WordPress: A quick link to a set of tools, tips and tricks aimed towards offering a more personalized RSS feed for your WordPress blog from Smashing Magazine. Some of these have been hashed in the past but a few caught my attention including the hack that makes it very easy to display a feed from another blog with next to nothing in code or the one to &#8220;cleanly&#8221; get rid of RSS feeds from a WordPress blog.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.smashingmagazine.com/2008/12/02/10-useful-rss-hacks-for-wordpress/">10 Useful RSS-Tricks and Hacks For WordPress</a>: A quick link to a set of tools, tips and tricks aimed towards offering a more personalized RSS feed for your WordPress blog from Smashing Magazine. Some of these have been hashed in the past but a few caught my attention including the hack that makes it very easy to display a feed from another blog with next to nothing in code or the one to &#8220;cleanly&#8221; get rid of RSS feeds from a WordPress blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblogtoolscollection.com/archives/2008/12/09/10-useful-rss-tricks-and-hacks-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  weblogtoolscollection.com/archives/category/wordpress-hack/feed/ ) in 1.15439 seconds, on May 22nd, 2013 at 7:14 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 22nd, 2013 at 8:14 am UTC -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  weblogtoolscollection.com/archives/category/wordpress-hack/feed/ ) in 0.00081 seconds, on May 22nd, 2013 at 7:19 am UTC. -->