<?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>computeraxe &#187; php</title>
	<atom:link href="http://computeraxe.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://computeraxe.com</link>
	<description>wordpress, php, mysql, jquery, css</description>
	<lastBuildDate>Tue, 15 May 2012 10:55:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Putting Readable Code in a WordPress Post</title>
		<link>http://computeraxe.com/putting-readable-code-in-a-wordpress-post/</link>
		<comments>http://computeraxe.com/putting-readable-code-in-a-wordpress-post/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 07:05:47 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=1139</guid>
		<description><![CDATA[Writing about PHP or HTML code in WordPress posts or pages often requires that some actual code is shown on the screen for explanation. If special steps aren&#8217;t taken to illustrate the code as text, the result is often not &#8230; <a href="http://computeraxe.com/putting-readable-code-in-a-wordpress-post/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Writing about PHP or HTML code in WordPress posts or pages often requires that some actual code is shown on the screen for explanation. If special steps aren&#8217;t taken to illustrate the code as text, the result is often not what was intended to be seen because the WordPress engine will interpret the code as actual code, not text about code.</p>
<p>If all you want to do is highlight some text that includes code-related words like filenames, function names or plugin names, use <code>&lt;code&gt;&lt;/code&gt;</code> around those phrases in your text. Using <code>&lt;code&gt;&lt;/code&gt;</code> turns text into a <code>monospaced font </code>so that it appears differently in your posts than &#8220;normal&#8221; text. However, using <code>&lt;code&gt;&lt;/code&gt;</code> around an HTML tag doesn&#8217;t do anything except change the presentation of the tag, so the opening and closing angle brackets are interpreted to enclose an <em>actual HTML tag</em>. The result will be a mess and definitely not what you were hoping to see.</p>
<p>To make WordPress show code in a post without interpreting it, you have to do ONE of three things:</p>
<ol>
<li>Use special character codes to replace angle brackets of tags.</li>
<li>Use the HTML tag <code>&lt;pre&gt;&lt;/pre&gt;</code> around the code.</li>
<li>Use a plugin to highlight the code syntax.</li>
</ol>
<h3>1. Special Character Codes</h3>
<p>Angle brackets, &lt; or &gt;, are what WordPress uses to identify code, whether it&#8217;s HTML, inline styles of CSS, or PHP. Content inside angle brackets is interpreted as code by virtue of placement inside the brackets. Instead of interpreting this code we want WordPress to show the code to the site visitors and we can use special character codes to do that. </p>
<p>Character codes are special sequences of letters or digits that are used to represent textual characters. Every character that we see on the screen, including uppercase letters, lowercase letters, numbers, and symbols like &lt;, &gt;, #, $, %, ^, &#038; or *, can be represented by character codes, sometimes called character entities.</p>
<p>Using character codes in posts looks a little strange in the editing panel, but when a browser comes across these codes they are interpreted and their textual equivalent is shown on the screen.</p>
<p>ASCII (American Standard Code for Information Interchange) <a href="http://www.ascii.cl/htmlcodes.htm" title="ascii character entities"> character codes</a> were developed to represent text in electronic devices  and they follow a specific format. The format is that each character entity starts with an ampersand and ends with a semi-colon. The codes are a couple to a few letters or numbers. Numbered character codes always have a hash symbol right after the opening ampersand. Some entities can be represented by either numbered or named codes.</p>
<p><strong>Examples of special character codes:</strong></p>
<table>
<tr>
<th>Character name</th>
<th>Character symbol</th>
<th>Character ASCII Code</th>
<tr>
<tr>
<td>left angle bracket</td>
<td>&lt;</td>
<td>&amp;lt;</td>
</tr>
<tr>
<td>right angle bracket</td>
<td>&gt;</td>
<td>&amp;gt;</td>
</tr>
<tr>
<td>ampersand</td>
<td>&amp;</td>
<td>&amp;amp;</td>
</tr>
<tr>
<td>dollar sign</td>
<td>&#36;</td>
<td>&amp;#36;</td>
</tr>
<tr>
<td>long dash</td>
<td>&mdash;</td>
<td>&amp;mdash;</td>
</tr>
<tr>
<td>short dash</td>
<td>&ndash;</td>
<td>&amp;ndash;</td>
</tr>
<tr>
<td>double quotes</td>
<td>&quot;</td>
<td>&amp;quot;</td>
</tr>
<tr>
<td>at sign</td>
<td>&#64;</td>
<td>&amp;#64;</td>
</tr>
</table>
<p>If you need to find a code for language sets other than English, try the unicode site for all the <a href="http://www.unicode.org/charts/" title="unicode character code charts">code charts</a> you&#8217;ll ever need. There, you can find numeric codes for fun game pieces, like chess, mahjong or checkers, horoscope symbols, smiley faces, weather symbols, music notes, and much more.</p>
<p><strong>Take caution:</strong> Just because you can enter a special code to represent a symbol, that doesn&#8217;t mean your computer will let you see it. Many operating systems will not have the proper fonts installed to make use of all of these codes, especially if they represent symbols that aren&#8217;t on your keyboard. Stick to the ASCII codes as many of the unicodes won&#8217;t be seen by your site visitors.</p>
<h3>2. HTML tag: &lt;pre&gt;</h3>
<p>Perhaps you&#8217;d like to show a block of HTML code on your post and have it shown as text. To make sure that your block of code is not interpreted as actual code, wrap it with <code>&lt;pre&gt;&lt;/pre&gt;</code> tags. The <code>&lt;pre&gt;</code> tag will change the appearance of the code into a <code>monospace font</code>, just like <code>&lt;code&gt;</code> does, but the difference is that <code>&lt;pre&gt;</code> also illustrates the code exactly as it was typed. All text, characters, spaces and line feeds will be reproduced exactly how they were entered. No code will be run when it&#8217;s protected inside the opening <code>&lt;pre&gt;</code> and closing <code>&lt;/pre&gt;</code> tags.</p>
<h3>3. Syntax Highlighter Plugins</h3>
<p>A final way to illustrate code in a WordPress post or page is to use a plugin to highlight the code. Several plugins are available for syntax highlighting purposes. </p>
<p>One that I have been using lately is called <a href="http://wordpress.org/extend/plugins/crayon-syntax-highlighter/" title="crayon syntax highlighter plugin">Crayon Syntax Highlighter</a>. It&#8217;s a great plugin that will colorize or highlight code that you wrap with shortcodes. There are lots of options if you want fine control over the color scheme. Themes come with the plugin so you have several choices for making your code look good.</p>
<p>There are two modes where you can highlight code differently using shortcodes, <code>&#91;crayon&#93;&#91;/crayon&#93;</code> and <code>&#91;plain&#93;&#91;/plain&#93;</code>. Use <code>&#91;plain&#93;</code> shortcodes when the colorized crayon is overkill or when you just want to show a small section of code. Crayon Syntax Highlighter supports a wide range of languages, including HTML, CSS, PHP and JavaScript, for starters.</p>
<p>The colorful <code>&#91;crayon&#93;</code> shortcode is controlled by options where you can pick the colors that you want for representing different sections or purposes in your code. Inline crayons are supported so you could put a line of code within a line of text and the code would be colorized.</p>
<p>Some other popular code-highlighting plugins include <a href="http://wordpress.org/extend/plugins/syntaxhighlighter/" title="SyntaxHighlighter Evolved plugin">SyntaxHighlighter Evolved</a>, <a href="http://wordpress.org/extend/plugins/wp-syntax/" title="WP Syntax plugin">WP-Syntax</a>, and <a href="http://wordpress.org/extend/plugins/codecolorer/" title="Code Colorer plugin">CodeColorer</a>. I don&#8217;t have any personal experience with these plugins, but they are listed high in popularity at the <a href="http://wordpress.org/extend/plugins/" title="WordPress Plugin Directory">WordPress Plugin Directory</a>.</p>
<h3>Need to Execute Code in a Post?</h3>
<p>If what you&#8217;re really after is to put executable code in a post or WordPress Page, check out this post on <a href="http://computeraxe.com/using-php-inside-content-wordpress-blogs/" title="run PHP inside a blog post">executing PHP in WordPress</a> blogs.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/putting-readable-code-in-a-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading WordPress with One jQuery</title>
		<link>http://computeraxe.com/loading-wordpress-with-one-jquery/</link>
		<comments>http://computeraxe.com/loading-wordpress-with-one-jquery/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 07:05:22 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=1090</guid>
		<description><![CDATA[If there are several plugins on your WordPress sites there may be more than one copy of jQuery, or other script, that&#8217;s loaded, especially if you&#8217;re relying on the same scripts for control of the site theme as well. Only &#8230; <a href="http://computeraxe.com/loading-wordpress-with-one-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If there are several plugins on your WordPress sites there may be more than one copy of jQuery, or other script, that&#8217;s loaded, especially if you&#8217;re relying on the same scripts for control of the site theme as well. Only one copy of each script should be loading up. More than that represents wasted bandwidth for you and wasted time for your site visitors.</p>
<p>To control what scripts are used on your site it may be wise to learn how to disable scripts from loading in the first place. Similar methods can be applied to streamline the number of scripts or stylesheets loaded onto your site.</p>
<p>Check out this great <a href="http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles" title="disable styles and scripts">tutorial on disabling scripts</a> and styles. Thanks for sharing, Justin!</p>
<p>You&#8217;ll need to modify the <code>functions.php</code> file of your theme to remove styles or scripts. The technique is similar in each case.</p>
<ol>
<li>Find the &#8216;handle&#8217; of the script that you&#8217;d like to remove.</li>
<li>Pass the script handle to <code>wp_deregister_script()</code>.</li>
<li>Wrap one or more &#8216;deregistrations&#8217; in a new function, like <code>my_deregister_javascript()</code> in this example.</li>
<li>Use <code>add_action()</code> with <code>wp_print_scripts</code> method and add your new function to the <code>functions.php</code> file of your theme.</li>
</ol>
<pre class="crayon-plain-tag">function my_deregister_javascript() {
  wp_deregister_script('jquery-form');
}
add_action('wp_print_scripts', 'my_deregister_javascript');</pre>
<p>From the reference on <code>add_action</code> in the WordPress codex we can see that two arguments are required, namely the <code>$tag</code> or handle of the script and the <code>$function_to_add</code> or the function to which the script is hooked. Two optional parameters can be added to the <code>add_action</code> function to specify the <code>$priority</code> or the order in which the functions are executed, and <code>$accepted_args</code> or the number of arguments that the function accepts. Generically,</p>
<pre class="crayon-plain-tag">add_action( $tag, $function_to_add, $priority, $accepted_args );</pre>
<p>In the example above we&#8217;ve used &#8216;wp_print_scripts&#8217; for <code>$tag</code> and &#8216;my_deregister_javascript&#8217; for <code>$function_to_add</code> while the optional <code>$priority</code> and <code>$accepted_args</code> were not used. This will hook the new function &#8216;my_deregister_javascript&#8217; to the action called &#8216;wp_print_scripts&#8217;.</p>
<p>Alternatively, a WordPress plugin could be used to manage the scripts and actions called for on your site. <a href="http://wordpress.org/extend/plugins/use-google-libraries/" title="how to get google to load jQuery on your sites">Use Google Libraries</a> is a plugin built to detect the scripts needed for a site to run properly, including all the scripts called for by plugins and the active theme. Scripts are loaded in the proper order taking into account dependencies, whether previously known to WordPress or whether provided by the plugin and theme authors. This plugin uses the content delivery network (CDN) of google to supply the most popular javascript libraries, including jQuery and jQuery UI, among others.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/loading-wordpress-with-one-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Include jQuery or JavaScripts in WordPress</title>
		<link>http://computeraxe.com/include-jquery-or-javascripts-in-wordpress/</link>
		<comments>http://computeraxe.com/include-jquery-or-javascripts-in-wordpress/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 07:05:56 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=1006</guid>
		<description><![CDATA[Plugin and theme authors use jQuery for their special effects, but there seems to be some confusion about the proper way to include JavaScript files in WordPress. If you&#8217;d like to use jQuery effects on your pages or in your &#8230; <a href="http://computeraxe.com/include-jquery-or-javascripts-in-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Plugin and theme authors use jQuery for their special effects, but there seems to be some confusion about the proper way to include JavaScript files in WordPress. If you&#8217;d like to use jQuery effects on your pages or in your theme, or if you want to include any javascript plugin or personal script, read on to see how to do it properly with WordPress sites.</p>
<h2>Queue Up Your Scripts with Actions</h2>
<p>Since jQuery itself is already included in the core of WordPress, how should we include a javascript file that we&#8217;ve created or even one of the <a href="http://computeraxe.com/most-popular-jquery-plugins/" title="popular jQuery plugins">popular jQuery plugins</a> that rely on jQuery? WordPress helps us in this endeavor with a function called &#8216;<em>wp_enqueue_script()</em>&#8216; and two actions that are used to call this special function.</p>
<p>The actions are used for either the user side or the admin side, depending on the purpose of your javascript. Use the &#8216;<em>wp_enqueue_scripts</em>&#8216; action to call <code>wp_enqueue_script()</code> for use in your themes. If the script functionality is needed on the admin side, use &#8216;<em>admin_enqueue_scripts</em>&#8216; action instead.</p>
<p>The format of the <code>wp_enqueue_script()</code> function call is as follows:</p>
<pre class="crayon-plain-tag">wp_enqueue_script('$handle', '$src', '$deps', '$ver', '$in_footer');</pre>
<p>where <em>$handle</em> is the name of the script as a lowercase string, <em>$src</em> is the URL to the script<note - don't hard code_>, <em>$deps</em> is an array of scripts that the script you&#8217;re calling depends on or the scripts that must be loaded first for your script to work, <em>$ver</em> is the script&#8217;s version number in string format, and <em>$in_footer</em> is a boolean value to indicate whether the script should be loaded in the &lt;head&gt; or at the end of the &lt;body&gt; in the footer. </p>
<p>The <em>$handle</em> string is the only required parameter, so the other four parameters are optional. The <em>$src</em>, <em>$ver</em>, and <em>$in_footer</em> parameters default values are &#8216;false&#8217;, and <em>$deps</em> defaults to an empty array.</p>
<p>It seems that <em>$src</em> would need to be a required option, but WordPress already knows about several scripts and where to find them. Consult the list of <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Default_scripts_included_with_WordPress" title="Where to find the default scripts included with WordPress">default scripts included with WordPress</a> to pick up their handles.</p>
<p>For example, to queue the jQuery Color plugin, we&#8217;d simply use this:</p>
<pre class="crayon-plain-tag">wp_enqueue_script('jquery-color');</pre>
<p>To include a script and specify the source, try this for including the jQuery Cycle plugin in the &lt;head&gt;:</p>
<pre class="crayon-plain-tag">wp_enqueue_script('jquery-cycle', 'URL', array('jquery'), '1.3.2');</pre>
<p>The URL should not be a hard-coded value for local scripts. Refer to the Function Reference pages in the codex for proper <a href="http://codex.wordpress.org/Function_Reference/plugins_url" title="plugins reference">URL formats for plugins</a> and <a href="http://codex.wordpress.org/Function_Reference/get_template_directory_uri" title="themes reference">themes</a>.</p>
<h2>Register Your Scripts First</h2>
<p>Make sure that your scripts are registered first before calling them. Registering a script basically tells WordPress where to find the code for your script. Use the function <code>wp_register_script()</code> to specify the location and handle of your script. The format is similar to the <code>wp_enqueue_script()</code> function:</p>
<pre class="crayon-plain-tag">wp_register_script('$handle', '$src', '$deps', '$ver', '$in_footer');</pre>
<p>The parameters have the same meanings and default values as used with <code>wp_enqueue_script()</code>. When in doubt, see what the WordPress Codex has to say about <code><a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script" title="enqueue scripts">wp_enqueue_script()</a></code> and <code><a href="http://codex.wordpress.org/Function_Reference/wp_register_script" title="register scripts">wp_register_script()</a></code>.</p>
<h2>Create a Function for the Header</h2>
<p>Put it all together using <code>wp_register_script()</code>, <code>wp_enqueue_script()</code>, and the appropriate action to call the functions. Create a simple function, like <code>id_scripts()</code> below, and use the <code>add_action()</code> hook to queue up the scripts. </p>
<p></p><pre class="crayon-plain-tag">function id_scripts() {
   wp_register_script('script_alpha', 'URL', array('jquery'), '1.0');
   wp_enqueue_script('script_alpha');
}
add_action('wp_enqueue_scripts', 'id_scripts');</pre><p></p>
<p>As a side note jQuery itself doesn&#8217;t have to be queued via a statement like <code>wp_enqueue_script('jquery');</code>, because it is listed as a dependency of &#8216;<em>script-alpha</em>&#8216; in this case.</p>
<p>When enqueuing a custom script that depends on a jQuery plugin, specify jQuery and its plugin in the <em>$deps</em> parameter of the <code>wp_register_script()</code> action for the custom script. For example, if your custom script depends on the jQuery Cycle plugin, which itself depends on jQuery, use<code> array('jquery', 'jquery-cycle')</code> for the <em>$deps</em> parameter. This specifies that both jQuery and its plugin Cycle should be loaded (in that order) before the custom script.</p>
<p>Place this code in the <code>header.php</code> of your theme. Remember, first register the javascript file, then enqueue it and make sure this is done before the <code>wp_head();</code> statement. Your custom script can then be placed in <code>header.php</code> after the <code>wp_head()</code> call.</p>
<h2>Use Theme functions.php to Safely Reference Your Script</h2>
<p>When using a child theme take note that the <code>header.php</code> in a child theme will override the default <code>header.php</code> in the parent theme. Instead of placing the script-queuing code in the header, one could more safely put this code in <code>functions.php</code>. The advantage to that way is that the <code>functions.php</code> of a child theme is processed <em>before</em> the <code>functions.php</code> of the parent theme. Both the parent and child theme <code>functions.php</code> are processed, unlike <code>header.php</code> files.</p>
<p>If you&#8217;re the least bit unsure about messing with <code>header.php</code>, then just use <code>functions.php</code> to queue up your javascript files. Don&#8217;t forget the opening and closing PHP tags in <code>functions.php</code>, else it won&#8217;t work. Put the javascript that would come after the <code>wp_head()</code> call in a separate <code>.js</code> file in the child theme and you&#8217;re good to go.</p>
<p>Verify that everything is working correctly by viewing the source of the HTML document for a WordPress post that should have the script included. The &lt;script&gt; tags should be visible in the header or in the footer depending on how the scripts were called.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/include-jquery-or-javascripts-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enable Caching in Firefox for Faster Web Sites</title>
		<link>http://computeraxe.com/enable-caching-in-firefox-for-faster-web-sites/</link>
		<comments>http://computeraxe.com/enable-caching-in-firefox-for-faster-web-sites/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 08:27:57 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=704</guid>
		<description><![CDATA[Using an .htaccess file to specify that images should be cached is one way to speed up the time it takes for your web pages to appear. Those of us still using older browsers will thank you for using an &#8230; <a href="http://computeraxe.com/enable-caching-in-firefox-for-faster-web-sites/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using an <code>.htaccess</code> file to specify that images should be cached is one way to speed up the time it takes for your web pages to appear. Those of us still using older browsers will thank you for using an <a href="http://computeraxe.com/how-to-download-a-header-image-just-once/" title="htaccess with expire header">Expires Header in <code>.htaccess</code></a> to manage caching.</p>
<p>Yet another good reason to upgrade your browser is to take advantage of newer features. Caching of images and other often-used files can be controlled by your browser.</p>
<p>IE 9 apparently has caching defaulted to ON. Firefox 5 does not. </p>
<p>Here&#8217;s how to enable caching in Firefox.</p>
<ul>
<li>Type &#8220;about:config&#8221; in the address bar and hit enter.</li>
<li>Accept the warning by clicking on the &#8220;I&#8217;ll be careful, I promise!&#8221; button.</li>
<li>Scroll down to &#8216;browser.cache.disk.enable&#8217; and double click. You will see the value in the fourth column toggle from false to true, if caching was not enabled already.</li>
<li>Scroll down to &#8216;browser.cache.memory.enable&#8217; and double click to enable by setting it to true.</li>
</ul>
<p>That&#8217;s it! The performance of your Firefox browser will speed up, noticeably so. After enabling caching, the time to download pages from a client&#8217;s site went from 6-10 seconds to 2-3 seconds!</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/enable-caching-in-firefox-for-faster-web-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Download A Header Image Just Once</title>
		<link>http://computeraxe.com/how-to-download-a-header-image-just-once/</link>
		<comments>http://computeraxe.com/how-to-download-a-header-image-just-once/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 19:27:30 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=699</guid>
		<description><![CDATA[While checking links on a client&#8217;s re-vamped web site, I noticed that the header image would be re-loaded for each page visited on the site. I&#8217;d forgotten to set the .htaccess file with an Expires Header to ensure that the &#8230; <a href="http://computeraxe.com/how-to-download-a-header-image-just-once/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While checking links on a client&#8217;s re-vamped web site, I noticed that the header image would be re-loaded for each page visited on the site. I&#8217;d forgotten to set the <code>.htaccess</code> file with an Expires Header to ensure that the images would be downloaded just one time by a site visitor.</p>
<p>Making the content appear quickly in front of site visitors should be a goal for all site developers. And besides, reducing the load on your server is always a good idea, don&#8217;t you think? </p>
<p>To cache a header image, or other images for that matter, or to make sure that files aren&#8217;t downloaded too often, use an Expires Header in your <code>.htaccess</code> file.</p>
<blockquote><p><code>#Expire Header<br />
&lt;FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf)$"&gt;<br />
ExpiresDefault "access plus 2 months"<br />
&lt;/FilesMatch&gt;</code></p></blockquote>
<p>Note that all types of image files, as well as stylesheets, javascript, flash and other file types, can be cached with this Expire Header. </p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/how-to-download-a-header-image-just-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paths For Building WordPress Themes or Plugins</title>
		<link>http://computeraxe.com/paths-building-wordpress-themes-plugins/</link>
		<comments>http://computeraxe.com/paths-building-wordpress-themes-plugins/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 15:21:30 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[paths]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=672</guid>
		<description><![CDATA[When tinkering with the code that runs WordPress it&#8217;s very important to get the correct path to a file. Of course it is or else the files can&#8217;t be found and your new functionality won&#8217;t work. According to the Codex &#8230; <a href="http://computeraxe.com/paths-building-wordpress-themes-plugins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When tinkering with the code that runs WordPress it&#8217;s very important to get the correct path to a file. Of course it is or else the files can&#8217;t be found and your new functionality won&#8217;t work.</p>
<p>According to the Codex -</p>
<blockquote><p>In Version 2.6, users were given the ability to move their /wp-content/ directory to anywhere they want, and many users already keep all WordPress files (like /wp-admin/ and /wp-includes/) in an unusual place.</p></blockquote>
<p>In case you&#8217;ve moved the files for your WP installation, you probably have a good handle on paths and how to traverse them. For those who don&#8217;t, it can be a hair-pulling experience to find the right path. Once the right path is found, work can continue.</p>
<h2>WordPress Paths</h2>
<p>To help avoid those <em>DUH! </em>moments, here are some functions and constants that WordPress has defined regarding paths. Once you&#8217;re familiar with these functions, writing useful and working code should become easier. Optional parameters may be of use in modifying the output for several of the following templates, including $path, $file or $scheme.</p>
<dl>
<dt>plugin_basename()</dt>
<dd>Usage: plugin_basename(__FILE__); Returns: the name of the plugin and file, such as &#8220;myPlugin/myPlugin.php&#8221; </dd>
<dt>get_theme_root()</dt>
<dd>Usage: get_theme_root(); Returns: path to themes directory. <strong>No</strong> trailing slash. </dd>
<dt>get_theme_root_uri()</dt>
<dd>Usage: get_theme_root_uri(); Returns: URI for themes directory. <strong>No</strong> trailing slash. </dd>
<dt>get_theme_roots()</dt>
<dd>Usage: get_theme_roots(); Returns: Themes directory with a <em>leading</em> slash, like &#8220;/themes&#8221;. </dd>
<dt>site_url()</dt>
<dd>Usage: site_url(); Returns: Site directory with <strong>no</strong> trailing slash.<br />
http://www.site.com OR http://www.site.com/wordpress</dd>
<dt>admin_url()</dt>
<dd>Usage: admin_url(); Returns: Admin directory with trailing slash.<br />
http://www.site.com/wp-admin/</dd>
<dt>content_url()</dt>
<dd>Usage: content_url(); Returns: Content directory with trailing slash.<br />
http://www.site.com/wp-content/ </dd>
<dt>plugins_url()</dt>
<dd>Usage: plugins_url(); Returns: Plugins directory with trailing slash.<br />
http://www.site.com/wp-content/plugins/</dd>
<dt>includes_url()</dt>
<dd>Usage: includes_url(); Returns: Includes directory with trailing slash.<br />
http://www.site.com/wp-includes/ </dd>
<dt>home_url()</dt>
<dd>Usage: home_url(); Returns: Home directory with <strong>no</strong> trailing slash.<br />
http://www.site.com</dd>
<dt>ABSPATH (constant)</dt>
<dd>Usage: ABSPATH. Returns: Home directory with <strong>no</strong> trailing slash.</dd>
<dt>TEMPLATEPATH (constant)</dt>
<dd>Usage: TEMPLATEPATH. Returns: Path to current theme with <strong>no</strong> trailing slash.</dd>
</dl>
<p>There are a few more functions for multisite installations and <a title="Directories for older versions of WP" href="http://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Backwards-compatibility_Code">backwards capability</a> specified in the Codex.</p>
<h2>PHP Paths</h2>
<p>Some PHP functions worth noting -</p>
<ul>
<li>__FILE__ returns the filename of the script that is currently being run</li>
<li>dirname() returns parent directory&#8217;s path for a given filename with <strong>no</strong> trailing slash</li>
<li>basename() returns the filename component of path without any parent directories</li>
<li>getcwd() returns current working directory</li>
</ul>
<p>Use the functions or constants indicated to build your paths instead of hard-coding them. You&#8217;ll save yourself a LOT of trouble when it comes time to move your WordPress installation to a new server or directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/paths-building-wordpress-themes-plugins/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using PHP Inside Content of WordPress Blogs</title>
		<link>http://computeraxe.com/using-php-inside-content-wordpress-blogs/</link>
		<comments>http://computeraxe.com/using-php-inside-content-wordpress-blogs/#comments</comments>
		<pubDate>Fri, 06 May 2011 14:38:03 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=648</guid>
		<description><![CDATA[Using PHP inside of content on WordPress sites may not produce the expected results. As WordPress is built in PHP, you might think you could just start typing PHP code inside a post to pull some information from a database. &#8230; <a href="http://computeraxe.com/using-php-inside-content-wordpress-blogs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using PHP inside of content on WordPress sites may not produce the expected results. As WordPress is built in PHP, you might think you could just start typing PHP code inside a post to pull some information from a database. Sorry to say, but it doesn&#8217;t work that way.</p>
<p>WordPress takes your blog content and runs it through some backend shenanigans to create the output that you see on the screen. WP expects to find other content in posts, like text and images, not code.</p>
<p>To run PHP code inside a blog post or Page, you&#8217;ll have to work a little differently than simply filling up the space in the text editor.</p>
<p>There are two ways (at least) of using PHP inside WP blogs to produce the desired output. The first way is to set up a WP template page that points to a pre-written PHP page that is identified in a Page. The second way is to use a plugin that facilitates PHP code execution inside content areas in WordPress. Both ways have their advantages and disadvantages.</p>
<h2>Using WP Template Pages to Execute PHP Code</h2>
<p>A template page is used to identify a pre-written PHP page. By saying &#8220;a pre-written PHP page&#8221; I mean a .php file that you&#8217;ve already written and which has been executed successfully by a server. A template file has at the top of it a PHP comment which identifies the template name followed by an include statement that identifies the .php file. WP template files must follow this format to be properly identified by the WordPress engine as a template file.</p>
<blockquote><p>&lt;?php<br />
/*<br />
Template Name: soccer-roster<br />
*/<br />
include (TEMPLATEPATH . &#8216;/soccer-roster.php&#8217;);<br />
?&gt;</p></blockquote>
<p>The above snippet  is a complete template file which indicates the name of the template as &#8220;soccer-roster&#8221; and the path to the associated PHP file, soccer-roster.php. The template file is best saved with &#8220;template&#8221; in the file name. It must be located in the site&#8217;s theme folder.</p>
<p>After creating the template file and .php file, upload both to the theme folder. Create a blank Page. Do not put anything where you would normally write the content, but go ahead and give it a meaningful title. On the Add New Page page, look for the &#8220;Page Attributes&#8221; widget. Click the down-arrow to expand the list of templates and select your template. Using the example above, you would select the &#8220;soccer-roster&#8221; template. If the template is not stored in the theme folder, it will not appear in this drop-down list. Save the page and preview it. The PHP code, from soccer-roster.php, should be executed just as you would expect.</p>
<p>PROs</p>
<ul>
<li> No interference from WP, code interpreted as stand-alone PHP.</li>
<li>Page renders as expected.</li>
</ul>
<p>CONs</p>
<ul>
<li>Can only be used with Pages, not posts or text widgets.</li>
<li>May have to wrestle with adapting PHP output into style of site.</li>
<li><em><strong>CAUTION:</strong></em> Use a <a title="use a child theme for template safe keeping" href="http://computeraxe.com/twenty-ten-child-theme-mods/">child-theme</a> to safely save site-specific template files.</li>
</ul>
<p>If your site relies heavily on plugins, using template pages may be the best method, see below. If it&#8217;s not a big deal to style the PHP output pages like the rest of your site, creating WP Pages that use templates is a breeze. If you need to put code in a post or text widget, keep reading.</p>
<h2>Using WP Plugins to Execute PHP Code</h2>
<p>Modifying WordPress themes is not for everyone, so using a plugin to execute PHP code may be the easier option. There are more than a handful of plugins available for the task. I chose to use <a title="Exec-PHP Plugin to execute PHP code in posts" href="http://bluesome.net/post/2005/08/18/50/">Exec-PHP plugin for WordPress</a>. It is a very well documented plugin. Thank you, Sören.</p>
<p>Download, unpack, upload and activate the plugin in the usual fashion. Verify these settings to make the plugin do its magic:</p>
<ul>
<li>Disable tag balancing by unchecking ‘WordPress should correct invalidly nested XHTML automatically’ in the Settings/Write menu.</li>
<li>Disable the WYSIWYG editor (visual editor) in the user’s settings through the Users/Your Profile menu.</li>
<li>Assign the ‘unfiltered_html’ capability to the user, if user is not the administrator. Can use role manager plugin to assign this capability to other users.</li>
<li>Assign the ‘exec_php’ capability to the user, if user is not the administrator. Can use role manager plugin to assign this capability to other users.</li>
</ul>
<p>Once I disabled the visual editor, my site was ready to go.</p>
<p>PROs</p>
<ul>
<li> Easy, just change a couple of settings in blog admin. Plugin gives  highly visible warning on Add New Post or Add New Page pages if the settings are not correct.</li>
<li>PHP code can be written in the normal fashion using the &lt;?php ?&gt; tags. It does not need to be marked up in any special way as it might with other plugins.</li>
<li>PHP can be used in text widgets and posts, as well as Pages.</li>
</ul>
<p>CONs</p>
<ul>
<li> Can&#8217;t use plugins that embellish or rely on the WYSIWYG editor.</li>
</ul>
<p>Didn&#8217;t try any other PHP-execution plugins because Exec-PHP worked as soon as the visual editor was disabled.</p>
<p>As mentioned either method will get you there, it&#8217;s just a matter of style. If you need the visual editor to create your posts, use the template method. If you want to put PHP code in posts and text widgets, use the plugin method. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/using-php-inside-content-wordpress-blogs/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Which Versions of PHP and MySql Run Your WordPress Blog?</title>
		<link>http://computeraxe.com/which-versions-of-php-and-mysql-run-your-wordpress-blog/</link>
		<comments>http://computeraxe.com/which-versions-of-php-and-mysql-run-your-wordpress-blog/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 19:12:35 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=644</guid>
		<description><![CDATA[How Healthy is Your WordPress Blog? Do you know what version of PHP or MySQL your server is running? The improvements in WordPress continue. Check the state of your blog&#8217;s health by running the new Health Check plugin. Currently, it &#8230; <a href="http://computeraxe.com/which-versions-of-php-and-mysql-run-your-wordpress-blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>How Healthy is Your WordPress Blog? Do you know what version of PHP or MySQL your server is running?</p>
<p>The improvements in WordPress continue. Check the state of your blog&#8217;s health by running the new <a title="health check plugin" href="http://wordpress.org/extend/plugins/health-check/">Health Check plugin</a>. Currently, it will check for the versions of PHP and MySQL that are running your blog. In order to work with WP 3.2, your server will need to be up-to-date and running —</p>
<ul>
<li> PHP version 5.2 or greater</li>
<li> MySQL version 5.0.15 or greater</li>
</ul>
<p>In an attempt to help others into the 21st century, WordPress will no longer work using PHP 4 or MySQL 4.</p>
<p>WordPress will also drop support for Internet Explorer 6. Yay! There are other improvements coming, so stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/which-versions-of-php-and-mysql-run-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twenty Ten Child Theme Mods</title>
		<link>http://computeraxe.com/twenty-ten-child-theme-mods/</link>
		<comments>http://computeraxe.com/twenty-ten-child-theme-mods/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 13:55:37 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Style Sheets]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[Twenty Ten]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=615</guid>
		<description><![CDATA[Creating WordPress child themes is a slick way to make your own theme. All it takes are a few easy steps. Here&#8217;s an example using the standard Twenty Ten theme as the parent theme: modify the child-stylesheet to make things &#8230; <a href="http://computeraxe.com/twenty-ten-child-theme-mods/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Creating WordPress child themes is a slick way to make your own theme. All it takes are a few easy steps. Here&#8217;s an example using the standard Twenty Ten theme as the parent theme:</p>
<ul>
<li>modify the child-stylesheet to make things look how you want</li>
<li>create child-directory for new child theme</li>
<li>add template files to child-directory, if you wish</li>
<li>upload child-directory to /wp-content/themes/</li>
<li>activate new child theme</li>
</ul>
<p>The child-stylesheet must be saved with the name &#8220;style.css&#8221; in the child-directory. The child-stylesheet header (which has to be at the top of the sheet) must contain a few lines that identify its parent theme, like so:</p><pre class="crayon-plain-tag">/*
Theme Name:     Twenty Ten Child
Description:    Child theme for the Twenty Ten theme
Author:         Your name here
Template:       twentyten
Version:        0.1.0
*/

@import url(&quot;../twentyten/style.css&quot;);

{put new style rules here}</pre><p>You can add a line for the Theme URI: and Author URI:, if you like. Only the Theme Name: and Template: lines are required, the others are optional.</p>
<p>The @import rule indicates the directory of the parent theme and the location of the stylesheet. All you have to do is put in the new css rules below the import line.</p>
<p>That&#8217;s it!</p>
<p>If modifying the stylesheet doesn&#8217;t quite get all the changes you want, realize that you can add any template file to the child-directory and that will <strong>over-ride the parent file with the same name</strong>. For example, say you want to stick in a block for an advertisement right under the header image. Copy header.php and add a new &lt;div&gt; at the bottom of the page just below &lt;div id=&#8221;main&#8221;&gt; and stick the ad code in this division. Upload this new header.php into the child-directory and it will replace the one from the parent template.</p>
<p>Activate your new <a title="wordpress child themes" href="http://codex.wordpress.org/Child_Themes">child theme</a> and see how it looks!</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=508a17ac-d8a3-4edf-a5a8-6527e1596f1d" alt="" /><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/twenty-ten-child-theme-mods/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Mass Delete Spam Comments in WordPress</title>
		<link>http://computeraxe.com/mass-delete-spam-comments-wordpress/</link>
		<comments>http://computeraxe.com/mass-delete-spam-comments-wordpress/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 12:57:04 +0000</pubDate>
		<dc:creator>LizzyFin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Akismet]]></category>
		<category><![CDATA[Comment Spam]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=330</guid>
		<description><![CDATA[So, the spam is getting out of control on your WordPress blog? Even if you have activated the Akismet plugin &#8211; and you should &#8211; SPAM may keep filing up the comments. You can just let it ride and those &#8230; <a href="http://computeraxe.com/mass-delete-spam-comments-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, the spam is getting out of control on your WordPress blog? Even if you have activated the Akismet plugin &#8211; <em>and you should</em> &#8211; SPAM may keep filing up the comments.</p>
<p>You can just let it ride and those comments identified by Akismet as spam will silently disappear in a month&#8217;s time. In the meantime your database will be getting bigger and bloated with thousands of lines of useless information. Will this bog down your blog? Perhaps it will.</p>
<p>I found another reason to manually delete all the spam comments on one of my WP blogs. From the WP Dashboard I saw 1000+ spam comments and went to edit the comments. When I clicked on &#8216;spam&#8217;, the anti-virus software on this computer, AVG, detected a threat on the spam comments page and blocked my access to it. Even after shutting down the browser and returning to the edit spam comments page another day, the AVG software wouldn&#8217;t let me in. <em>How could I delete the spam if I can&#8217;t get to the page to do it?</em> Even if I could get to that page it would take a long time to delete so many comments. There must be a better solution to getting rid of spam comments in WordPress.</p>
<p>So, how do you mass delete spam comments in WordPress? Check out this excellent video that provides a solution using phpmyadmin and your WordPress blog database.</p>
<p><object height="385" width="480"><param name="movie" value="http://www.youtube.com/v/QCA4loQi7yM&amp;hl=en_US&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/QCA4loQi7yM&amp;hl=en_US&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="385" width="480"></embed></object></p>
<p>Steps to follow:</p>
<ol>
<li>sign in to CPanel</li>
<li>open up phpmyadmin and select the WP database</li>
<li>click on &#8220;wp_comments&#8221; table and browse to see the comments</li>
<li>backup database by clicking on database name in left column, click on export tab, select all tables under Export, select SQL, check &#8220;save as file&#8221;, click Go to download database backup to your computer</li>
<li>select comments table, by clicking on the table name wp_comments, then click on the SQL tab</li>
<li>use an sql query to mass delete spam comments in WordPress by typing the following in the Run SQL Query box:
<p>DELETE FROM wp_comments WHERE comment_approved = 0</p>
<p>Click Go, click OK.</li>
<li>Comments deleted!</li>
</ol>
<p>If you are using a spam catcher, like Akismet, the value for comment_approved may be set to &#8220;spam&#8221;, so you&#8217;ll need to alter the query as follows:</p>
<p><strong>DELETE FROM wp_comments WHERE comment_approved = &#8216;spam&#8217;</strong></p>
<p>Don&#8217;t forget to use the single quote marks to enclose the word spam.</p>
<p>Verify that the number of records in the comments table has been reduced to the number of approved comments. Hooray!</p>
<p>Optimize the WordPress database by going to the Structure tab, or clicking on the database name in the left column, and at the bottom of the table listing click on &#8220;Check tables having overhead&#8221;. Choose &#8220;optimize table&#8221; from the spin box on the right and all the extra space that those nasty spam comments took up will be released and the database optimized.</p>
<p>Go back to database view and verify that the overhead space has been removed. The size column now represents the space that is actually used by the database.</p>
<p>Refresh your WP blog and the spam comments will be gone. Isn&#8217;t is great to see ZERO spam comments?!</p>
<p>Alternatively, you can catch spam before it lands in your WP blog by modifying the function.php file in your theme using these excellent <a href="http://www.clickonf5.org/wordpress/function-to-avoid-apam-comments-wordpress/6407">directions from Tejaswini</a>.</p>
<p>Also, try <a href="http://maketecheasier.com/5-ways-to-reduce-comment-spam-on-wordpress-blogs/2010/03/17">Soumen Halder&#8217;s list</a> of ways to reduce comment spam on WP blogs.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/8c433a50-800a-49d3-9f4d-07c5e1fbf4ec/" title="Reblog this post [with Zemanta]"><img style="border: medium none; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=8c433a50-800a-49d3-9f4d-07c5e1fbf4ec" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/mass-delete-spam-comments-wordpress/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

