<?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; Plugins</title>
	<atom:link href="http://computeraxe.com/category/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://computeraxe.com</link>
	<description>wordpress tips and tricks</description>
	<lastBuildDate>Tue, 31 Jan 2012 07:05:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Centering Slideshows with jQuery Cycle Plugin</title>
		<link>http://computeraxe.com/centering-slideshows-with-jquery-cycle-plugin/</link>
		<comments>http://computeraxe.com/centering-slideshows-with-jquery-cycle-plugin/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 07:05:30 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=851</guid>
		<description><![CDATA[The jQuery Cycle plugin is a JavaScript plugin that will help you make beautiful slideshows. There are a ton of options for the Cycle plugin to help you make really nice-looking and functional slideshows. This example will show the steps &#8230; <a href="http://computeraxe.com/centering-slideshows-with-jquery-cycle-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The jQuery Cycle plugin is a JavaScript plugin that will help you make beautiful slideshows. There are a ton of <a href="http://www.malsup.com/jquery/cycle/options.html" title="Options for Cycle plugin">options for the Cycle plugin</a> to help you make really nice-looking and functional slideshows. </p>
<p>This example will show the steps to take for centering slides in a slideshow using the Cycle plugin. HTML markup in this case is a group of images inside a &lt;div> container. CSS is used to give some style to our slideshow and for centering everything. JavaScript is used to control the transitions of the slides and the animation of the slideshow.</p>
<p>HTML Markup:</p>
<pre class="crayon-plain-tag"><code>&lt;div id=&quot;showy&quot;&gt;
&lt;img src=&quot;/images/runaway-artist.jpg&quot; alt=&quot;runaway artist&quot; class=&quot;first&quot; /&gt;
&lt;img src=&quot;/images/darling-kittens.jpg&quot; alt=&quot;darling kittens&quot; /&gt;
&lt;img src=&quot;/images/dog-in-sun.jpg&quot; alt=&quot;dog in sun&quot; /&gt;
&lt;img src=&quot;/images/cat-in-tree.jpg&quot; alt=&quot;cat in tree&quot; /&gt;
&lt;/div&gt;</code></pre>
<p>A basic slideshow might have a few images that are cycled through in sequential fashion with random special effects that bring each photo into view. The JavaScript code that could be used with the jQuery Cycle plugin for such a slideshow could be as follows:</p>
<p>JavaScript:</p>
<pre class="crayon-plain-tag"><code>jQuery(document).ready(function($) {
 $('#showy').cycle({
  fx: 'all',
  speed: 800,
  pause: 2000,
  slideExpr: 'img'
 });
});</code></pre>
<p>So far, we&#8217;d get a mess if no CSS rules targeted the slideshow. </p>
<div id="showy">
<img src="/images/runaway-artist.jpg" alt="runaway artist" class="first" /><br />
<img src="/images/darling-kittens.jpg" alt="darling kittens" /><br />
<img src="/images/dog-in-sun.jpg" alt="dog in sun" /><br />
<img src="/images/cat-in-tree.jpg" alt="cat in tree" />
</div>
<div class="clear"> </div>
<p>Without <em>at least</em> giving dimensions to the slideshow, via width and height properties, the Cycle plugin will be helpless to show the images correctly. Make sure to add width and height values to the slideshow container in the CSS rules.</p>
<p>Also, you&#8217;ll need to specify the position property. In this case we&#8217;re giving a value of &#8216;relative&#8217;  instead of &#8216;absolute&#8217; for the position property as we want to center the slideshow instead of placing it at some exact location. Without specifying the position of the slideshow container, some of the transition effects won&#8217;t be seen as intended.</p>
<p>The trick to centering the slideshow is to set the margins. Give the right and left margins a string value of &#8216;auto&#8217; to center things horizontally. The top and bottom margins are given a numerical value, 10 px in this case.</p>
<p>CSS:</p>
<pre class="crayon-plain-tag"><code>#showy {
position:relative;
height:300px;
width: 300px;
margin: 10px auto;
}</code></pre>
<p>Using these simple CSS styling rules, we get a more pleasing slideshow experience.</p>
<div id="showy2">
<img src="/images/1.jpg" alt="one" class="first" /><br />
<img src="/images/2.jpg" alt="two" /><br />
<img src="/images/3.jpg" alt="three" /><br />
<img src="/images/4.jpg" alt="four" />
</div>
<div class="clear"> </div>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/centering-slideshows-with-jquery-cycle-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Plugin: jQuery Cycle for Slideshows</title>
		<link>http://computeraxe.com/javascript-plugin-jquery-cycle-for-slideshows/</link>
		<comments>http://computeraxe.com/javascript-plugin-jquery-cycle-for-slideshows/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 07:05:27 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=848</guid>
		<description><![CDATA[JavaScript plugins can definitely speed up development of a website, but unless you take the time to explore the plugins you&#8217;re using, you may not be using them to full advantage. Read on to learn more about using the jQuery &#8230; <a href="http://computeraxe.com/javascript-plugin-jquery-cycle-for-slideshows/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>JavaScript plugins can definitely speed up development of a website, but unless you take the time to explore the plugins you&#8217;re using, you may not be using them to full advantage. Read on to learn more about using the <a href="http://www.malsup.com/jquery/cycle/" title="jQuery Cycle plugin for slideshows">jQuery Cycle plugin</a> for slideshows. It works with jQuery v1.3.2 and later.</p>
<div id="show3">
<img src="/images/cat-in-snow.jpg" alt="cat in snow" class="first" /><br />
<img src="/images/cat-in-tree.jpg" alt="cat in tree" /><br />
<img src="/images/darling-kittens.jpg" alt="darling kittens" /><br />
<img src="/images/baby-sixtoes.jpg" alt="baby sixtoes" />
</div>
<div class="clear">&nbsp;</div>
<p>The jQuery Cycle Plugin offers an amazing number of transitions for your next slideshow. If any of the two dozen transitions don&#8217;t give the effect you&#8217;re looking for, the plugin can always be modified to suit. If you&#8217;re looking to make some unique transitions, check out the advanced demos on the plugin site.</p>
<p>Over 50 options can be implemented to show your slides in the best light. Options are available for controlling the speed of the transitions, the length of time between slides, as well as running the slideshow backwards or stopping after a certain number of slides have been shown. </p>
<p>Slides can be forced to fit a container and made to be manually paused and resumed. Easing transitions can be specified as can random showing of slides. <a href="http://www.malsup.com/jquery/cycle/options.html" title="Options for Cycle plugin">Options in Cycle</a> are plentiful and definitely worth investigating.</p>
<p>Command strings can be used to pause or resume the slideshow or advance to the next or previous slides. Tie these commands to a click event to let your visitors see the show as they wish.</p>
<p>The Cycle plugin works with two assumptions in creating slideshows. First, it assumes that a container object has been identified, usually via a class or id identifier, that will contain the slides for the slideshow. All children of the containing parent will become a slide.</p>
<p>Second, the slides must all be children of the container. Any object can be a child here, so textual content, images, anchors and divs can all be manipulated and viewed as slides in your slideshow. Don&#8217;t put anything else in the slideshow container unless you want it to become part of the slideshow.</p>
<p>Here&#8217;s the HTML markup that could be used for a simple slideshow of images:</p>
<pre class="crayon-plain-tag"><code>&lt;div id=&quot;show&quot;&gt;
&lt;img src=&quot;../images/pic1.jpg&quot; alt=&quot;one&quot; /&gt;
&lt;img src=&quot;../images/pic2.jpg&quot; alt=&quot;two&quot; /&gt;
&lt;img src=&quot;../images/pic3.jpg&quot; alt=&quot;three&quot; /&gt;
&lt;img src=&quot;../images/pic4.jpg&quot; alt=&quot;four&quot; /&gt;
&lt;img src=&quot;../images/pic5.jpg&quot; alt=&quot;five&quot; /&gt;
&lt;/div&gt;</code></pre>
<p>The images are contained in a specific container, div#show, which can be styled with CSS. Giving the container and the slides fixed dimensions works best, so make sure to specify the widths and heights.</p>
<p>The default behavior is to fade slides in and out of the container in a continuous and sequential manner, in a cyclical way. So, we&#8217;re going to &#8216;cycle&#8217; through the slides in this slideshow. The javascript for a slideshow using default behavior is simple:</p>
<pre class="crayon-plain-tag"><code>$('#show').cycle();</code></pre>
<p>With Cycle plugin default settings the slideshow starts with the first image or slide and each slide takes one second, or 1000 milliseconds, to be faded in. Each slide is then paused for 4 seconds and then faded out in one second. The slideshow wraps around so that the first slide will be shown after the last one. The fading in and out action occurs continuously and indefinitely with the default settings, as below:</p>
<div id="show">
<img src="/images/cat-in-snow.jpg" alt="cat in snow" class="first" /><br />
<img src="/images/cat-in-tree.jpg" alt="cat in tree" /><br />
<img src="/images/darling-kittens.jpg" alt="darling kittens" /><br />
<img src="/images/baby-sixtoes.jpg" alt="baby sixtoes" />
</div>
<div class="clear">&nbsp;</div>
<p>To alter the slideshow behavior pass an effect, other than fade, as a string to the cycle method, like so:</p>
<pre class="crayon-plain-tag"><code>$('#show2').cycle('shuffle');</code></pre>
<p>Check out all the effects that can be used to transition slides: blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, scrollUp, scrollDown, scrollLeft, scrollRight, scrollHorz, scrollVert, shuffle, slideX, slideY, toss, turnUp, turnDown, turnLeft, turnRight, uncover, wipe, and zoom.</p>
<p>Several transitions can be combined in a comma-separated list if you can&#8217;t choose just one. Or, use the string &#8216;all&#8217; to see all the slide transition effects in a random manner.</p>
<p>Alternatively, you can use an options object to set the <em>fx</em> option among others. The code below specifies fade, zoom and curtainY effects to bring the slides in and out of the container. Each slide will be brought in slowly (800 ms) and taken out quickly (400 ms) taking a total of 3 seconds for each complete transition. This is the code for the slideshow (#show3) at the top of this post.</p>
<pre class="crayon-plain-tag"><code>$('#show3').cycle({
  fx: 'fade,zoom,curtainY',
    speedIn: 800,
    speedOut: 400,
    slideExpr: 'img'
    timeout: 3000,
    nowrap: true
});</code></pre>
<p>The parameter <em>slideExpr</em> is given a string value of &#8216;img&#8217; in order to produce a slideshow without <a href="http://jquery.malsup.com/cycle/slideExpr.html" title="Blank pauses between slides in WordPress">long blank pauses in between slides</a> when using WordPress. WordPress and other content management systems may introduce extraneous markup when preparing webpages. The markup may be incorrectly interpreted by different browsers used to view slideshows created with Cycle, so it&#8217;s become important to specify the elements that are supposed to be cycled in the slideshow. Thus, the addition of <em>slideExpr: &#8216;img&#8217;</em> as an optional parameter is necessary for image slideshows in WordPress.</p>
<p>The slideshow just above will be shown only one time and end with the last slide because the nowrap option is set to true. This might be a good thing to remember for leaving a textual message on the screen with your last slide instead of having the slideshow run indefinitely.</p>
<p>If you get stuck or need a little help with figuring out how to work the Cycle plugin, visit the <a href="http://forum.jquery.com/" title="jQuery forum">jQuery Forum</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/javascript-plugin-jquery-cycle-for-slideshows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery Stop Action Improves InnerFade Plugin</title>
		<link>http://computeraxe.com/jquery-stop-action-improves-innerfade-plugin/</link>
		<comments>http://computeraxe.com/jquery-stop-action-improves-innerfade-plugin/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 07:05:11 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=844</guid>
		<description><![CDATA[When animations go wrong it&#8217;s usually in the timing. Perhaps the browser can&#8217;t keep up with all that it&#8217;s asked to do or the operating system is bogged down by other tasks. In any case the lack of enough working &#8230; <a href="http://computeraxe.com/jquery-stop-action-improves-innerfade-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When animations go wrong it&#8217;s usually in the timing. Perhaps the browser can&#8217;t keep up with all that it&#8217;s asked to do or the operating system is bogged down by other tasks. In any case the lack of enough working memory or CPU cycles will have animations stacking up until there are enough resources to do all those fancy moves.</p>
<p>Some animations run continuously and others may be controlled by setting timers or stopping the animations at predetermined times. Other animations happen after some event has occurred, like when a user mouses over an element on the page or clicks a button.</p>
<p>Animations created with the jQuery <a href="http://medienfreunde.com/lab/innerfade/" title="InnerFade jQuery Plugin">InnerFade plugin</a> run continuously, which may create a problem if the users&#8217; computer resources aren&#8217;t up to the job.</p>
<p>It was noted that an <a href="http://computeraxe.com/javascript-plugin-innerfade-with-jquery/" title="Using jQuery InnerFade plugin for news tickers.">InnerFade news ticker</a> animation of links worked fine and as expected when the browser tab was left open and running. Working with another tab open and going back to the news ticker site, the news items got stacked onto one another so that the text was unreadable and the timing was double time.</p>
<p>Reloading the page or waiting for a couple of seconds to pass brought the expected behavior back. The animations caught up to where they should have been and the behavior continued as expected.</p>
<p>I&#8217;m not exactly sure why the animations stacked up in my page and not in the demo page by the plugin author, but I found a solution to this stacking problem.</p>
<p>jQuery lets us use a <strong>stop()</strong> action to clear the previously requested animations that haven&#8217;t finished yet. Optional parameters for the stop() action are <em>clearQueue</em> and <em>gotoEnd</em>, which are false by default.</p>
<p>To use the stop() action in this case, set both parameters to true. This will clear all animations in the queue and jump to the place where the action should be at now.</p>
<p>If it were important to catch up to the latest animation, use true for the optional <em>gotoEnd</em> parameter. When set to true, the <em>gotoEnd</em> parameter figures out what the screen should look like at the end of the present set of animations in the queue and goes there.</p>
<p>In the section of the code that responds to the slide or fade settings, I used the stop() action to clear the queue and catch up. The InnerFade plugin was altered on lines 93 and 96 (of the original script) by inserting <strong>.stop(true,true)</strong> just before the fadeOut() or slideUp() methods.</p>
<pre class="crayon-plain-tag"><code>line 93...$(elements[last]).stop(true,true).slideUp(settings.speed);
line 96...$(elements[last]).stop(true,true).fadeOut(settings.speed);</code></pre>
<p>Below is the portion of the original script that has been modified (on lines 3 and 6 here):</p>
<pre class="crayon-plain-tag"><code>$.innerfade.next = function(elements, settings, current, last) {
        if (settings.animationtype == 'slide') {
            $(elements[last]).stop(true,true).slideUp(settings.speed);
            $(elements[current]).slideDown(settings.speed);
        } else if (settings.animationtype == 'fade') {
            $(elements[last]).stop(true,true).fadeOut(settings.speed);
            $(elements[current]).fadeIn(settings.speed, function() {
							removeFilter($(this)[0]);
						});</code></pre>
<p>The script now works even better!</p>
<p>When two separate link lists were animated with the InnerFade plugin on the same page, the first one stacked up and the second list went blank when the stop() action was used with only the first parameter set to true, so it was important to set both the <em>clearQueue</em> and <em>gotoEnd</em> parameters to true.</p>
<p>The stop() action also comes in handy to clear the queue when event-driven animations get backed up from too much user input, like mousing over and out too fast.</p>
<p>An oddity in all this is that I couldn&#8217;t replicate the bad behavior (of the original plugin) inside of WordPress. The stacking up of animations was noticed in a static page outside of WordPress. To see the original and improved InnerFade plugins in action, go to the <a href="http://www.computeraxe.com/good_ideas.php" title="Good Ideas for a Healthy Universe!">Good Ideas</a> static page.</p>
<p>Is there some way that WordPress manages the scripts differently? I dunno, but the take away message here is to make sure and test your scripts to see how they act in various circumstances.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/jquery-stop-action-improves-innerfade-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Plugin: InnerFade with jQuery</title>
		<link>http://computeraxe.com/javascript-plugin-innerfade-with-jquery/</link>
		<comments>http://computeraxe.com/javascript-plugin-innerfade-with-jquery/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 07:05:03 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[newsticker]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=828</guid>
		<description><![CDATA[Fade elements in and out with the InnerFade javascript plugin. Its purpose is to fade &#8220;any element inside a container in and out&#8221; and it relies on jQuery to do its magic. InnerFade is a lightweight plugin of only 8 &#8230; <a href="http://computeraxe.com/javascript-plugin-innerfade-with-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Fade elements in and out with the <a href="http://medienfreunde.com/lab/innerfade" title="InnerFade jQuery Plugin">InnerFade javascript plugin</a>. Its purpose is to fade &#8220;any element inside a container in and out&#8221; and it relies on jQuery to do its magic. InnerFade is a lightweight plugin of only 8 kb, so it won&#8217;t bog down your pages.</p>
<p>Any group of elements can be faded in and out with the InnerFade plugin as long as they are inside a container that is targeted by the first line of the script. Example elements that can be faded in and out are links in an unordered or ordered list, textual list items, or paragraphs in a div.</p>
<ul id="good_ideas">
<li>A. Eat Right &#8211; It&#8217;s the easiest medicine to take.</li>
<li>B. Buy Less Stuff &#8211; You don&#8217;t really need it, do you?</li>
<li>C. Recycle Everything &#8211; Save the Earth from humans.</li>
<li>D. Laugh Every Day &#8211; It helps to keep things in perspective.</li>
<li>E. Help One Another &#8211; Some day you&#8217;ll need a little help, so spread good karma.</li>
<li>F. Keep Smiling &#8211; It releases happy endorphins and makes you look great, too!</li>
</ul>
<div class="clear">&nbsp;</div>
<p>Target specific classes or ids for the right effect. Using the InnerFade plugin with jQuery is a simple way to show a countdown clock where one number fades out and the next one in the sequence fades in.</p>
<p>A news ticker, like the one above, can be created by fading in and out headlines for each news item. Each headline could be a link to the complete story. The headlines could be marked up as list items, like this list of good ideas:</p>
<pre class="crayon-plain-tag"><code>&lt;ul id=&quot;good_ideas&quot;&gt;
&lt;li&gt;A. Eat Right - It's the easiest medicine to take.&lt;/li&gt;
&lt;li&gt;B. Buy Less Stuff - You don't really need it, do you?&lt;/li&gt;
&lt;li&gt;C. Recycle Everything - Save the Earth from humans.&lt;/li&gt;
&lt;li&gt;D. Laugh Every Day - It helps to keep things in perspective.&lt;/li&gt;
&lt;li&gt;E. Help One Another - Some day you'll need a little help, so spread good karma.&lt;/li&gt;
&lt;li&gt;F. Keep Smiling - It releases happy endorphins and makes you look great, too!&lt;/li&gt;
&lt;/ul&gt;</code></pre>
<p>The easiest way to use the InnerFade plug is to accept the default settings, as we did above, and call it with a minimum of effort like so:</p>
<pre class="crayon-plain-tag"><code>jQuery(document).ready(function($) {
    $('#good_ideas').innerfade();
  });</code></pre>
<p>There are only a handful of options and changing them is fairly simple. The type of animation can be set to &#8216;fade&#8217; or &#8216;slide&#8217;. The speed of the fading or sliding effects is set in milliseconds or with the strings &#8216;slow&#8217;, &#8216;normal&#8217;, or &#8216;fast&#8217;. Timeout is the time between animations in milliseconds. The type of slideshow is set using the strings &#8216;sequence&#8217;, &#8216;random&#8217;, or &#8216;random_start&#8217;. The height of the container element can be set in px, em, %.</p>
<p>Default Settings:</p>
<pre class="crayon-plain-tag"><code>animationtype: fade
speed: normal
timeout: 2000
type: sequence
containerheight: auto
runningclass: innerfade</code></pre>
<p>Now that you know you can call the javascript plugin and use it with the default settings, try changing the settings for different effects. For example, try sliding the elements slowly in and out of the 45px tall container in random order with a 3 second pause.</p>
<pre class="crayon-plain-tag"><code>$(document).ready(
  function() {
    $('.group2fade').innerfade({
      animationtype: slide,
      speed: 'slow',
      timeout: 3000,
      type: 'random',
      containerheight: '45px'
    });
  }
);</code></pre>
<p>The InnerFade plugin handles all the hiding of elements until viewed, so without javascript enabled, the visitor will see everything on the page. Use a &lt;noscript&gt; method to offer alternative content to browsers with javascript turned off and put it in the html document just before the closing body tag.</p>
<p>InnerFade plugin can be used for simple slideshows too. The only caveat is to make sure images are of the same size or the bottom edges of larger pics will be seen behind the stack of images.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/javascript-plugin-innerfade-with-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Generate Animated Loading&#8230; Images</title>
		<link>http://computeraxe.com/generate-animated-loading-images/</link>
		<comments>http://computeraxe.com/generate-animated-loading-images/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 07:04:15 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=792</guid>
		<description><![CDATA[We&#8217;ve all seen animated images on the screen as a video or slideshow is being downloaded and set up for us to view. Sometimes the word &#8220;loading&#8230;&#8221; is the animation itself. Sometimes there&#8217;s a horizontal bar or spinning world that &#8230; <a href="http://computeraxe.com/generate-animated-loading-images/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve all seen animated images on the screen as a video or slideshow is being downloaded and set up for us to view. Sometimes the word &#8220;loading&#8230;&#8221; is the animation itself. Sometimes there&#8217;s a horizontal bar or spinning world that alerts us to wait for the media to be loaded.</p>
<p>A few websites provide a way to generate your own animated loading image. They&#8217;re online and they&#8217;re free. If you&#8217;re tired of the same old circular or horizontal animated images, give the following sites a try.</p>
<h3><a href="http://preloaders.net/" title="Best animated image generator.">Preloaders.net</a></h3>
<p>It&#8217;s easy to generate a multitude of preloader images at preloaders.net, which is by far the most complete animated image generator available. All you do is choose the category of preloaders that you like and then select one preloader image from the spin box. From there you can alter several parameters of the image. </p>
<p>Several categories of preloaders differentiate preloaders.net from its competition, including three-dimensional, astronomy, people, religion signs, rectangular, smileys, social bookmarks, and zodiac signs.</p>
<p>You can choose between a GIF and an APNG image. Specify any color for the foreground and background colors or select a transparent background. Here&#8217;s an example animated clock made at preloaders.net: <a href="http://computeraxe.com/wp-content/uploads/2011/12/32.png"><img src="http://computeraxe.com/wp-content/uploads/2011/12/32.png" alt="animated 3d clock" title="3D Clock Animated" width="24" height="24" class="size-full wp-image-794" /></a></p>
<p>A slider lets you change the animation speed from slow to very fast. The slowest speed wasn&#8217;t quite slow enough and the fastest speed was way too fast, at least for my liking. </p>
<p>The dimensions of the preloader image can be specified as width and height values. A tick can be removed from the &#8220;constrain proportions&#8221; box to introduce some interesting effects to the animation. Advanced options include means to flip the image, reverse the animation, and inverse the colors.</p>
<h3><a href="http://www.loadinfo.net/" title="Create animated images.">LoadInfo.net</a></h3>
<p>Loadinfo.net offers a variety of circular, clock-like and spinning images. The foreground and background colors can be any color you choose and the background could be transparent, too. Select one of the three thumbnail sizes (16&#215;16, 24&#215;24, 48&#215;48) for your image and click on &#8216;generate&#8217; to create it. <a href="http://computeraxe.com/wp-content/uploads/2011/12/loadinfo.net_.gif"><img src="http://computeraxe.com/wp-content/uploads/2011/12/loadinfo.net_.gif" alt="animated ying-yang symbol" title="Ying Yang Animated" width="16" height="16" class="size-full wp-image-799" /></a> If you like the image as presented on the screen, download the free image. GIFs created there did not have transparent backgrounds when I tried it, even though the &#8216;transparent&#8217; feature was selected. The spinning ying-yang symbol seen here was given a white background for a little fake transparency.</p>
<h3><a href="http://www.ajaxload.info/" title="Simple animated spinners.">ajaxload.info</a></h3>
<p>Ajaxload.info provides a standard set of clocks, bars and flowers that can be modified with respect to foreground and background color. <a href="http://computeraxe.com/wp-content/uploads/2011/12/ajax-loader.gif"><img src="http://computeraxe.com/wp-content/uploads/2011/12/ajax-loader.gif" alt="animated blue flower" title="Blue Spinning Flower" width="28" height="28" class="size-full wp-image-800" /></a> You&#8217;re stuck with the speed of the animation and the size of the image, but the background can be transparent. That&#8217;s not too many options, but sometimes a simple loading image is all that&#8217;s needed.</p>
<h3><a href="http://loadingapng.com/" title="Make an animated PNG.">LoadingAPNG.com</a></h3>
<p>LoadingAPNG is a free online animation generator that offers a few dozen circular and horizontal bar type of animated PNG. The foreground and background colors, width, height and transparency can be modified to suit. <a href="http://computeraxe.com/wp-content/uploads/2012/01/134.png"><img src="http://computeraxe.com/wp-content/uploads/2012/01/134.png" alt="hearts horizontal bar animated" title="Animated Hearts Bar" width="160" height="20" class="size-full wp-image-814" /></a></p>
<h3><a href="http://www.chimply.com/Generator" title="Generate animated images.">Chimply.com</a></h3>
<p>Chimply offers several clocks or spinners and animated bars that you can modify with respect to colors, transparency and size. Unique to this free online image generator is that several images can be created and temporarily stored in a workspace on the website before wrapping them in a .zip file for easy download. <a href="http://computeraxe.com/wp-content/uploads/2012/01/image_173004.gif"><img src="http://computeraxe.com/wp-content/uploads/2012/01/image_173004.gif" alt="animated spinning clock" title="Spinning Clock" width="24" height="24" class="size-full wp-image-803" /></a> If you click on &#8220;Last generated images&#8221; near the bottom of the screen, you can see the images that other users have created. GIFs and SWFs can be downloaded.</p>
<h3><a href="http://cssload.net/" title="Animate images with CSS.">CSSload.net</a></h3>
<p>Timur Gafforov figured out how to present an animated image using pure CSS. Once HTML5 and CSS3 are more widely accepted and used by browsers everywhere, cssload.net is a source to remember. At the time of this writing CSS3 usage is in its infancy, so for now we&#8217;ll rely on small animated GIFs or APNG images to indicate that media is <strong>Loading&#8230;</strong>.</p>
<h3><a href="http://heartcode.robertpataki.com/canvasloader/" title="JavaScript CanvasLoader">CanvasLoader.js</a></h3>
<p>Another way to show animated images on your site is to use pure javascript via CanvasLoader. Use the CanvasLoader Creator to build a script that will create your animated image on the fly. It&#8217;s a clock-like oval, spiral, square, rectangle or rounded rectangle that spins around in this animated image. Set the image diameter, density, range, frames per second, speed, and colors. Then, copy the code snippet to create a new CanvasLoader object using javascript.</p>
<p>Make sure to download the CanvasLoader UI library. The minified .js file is less than 6 kb. The custom snippet to produce an animated image is only 8 lines long.</p>
<p>Well, there we have seven sites that can help us make our websites stand out from the crowd. Take caution though, some of these animated images bring back visions of the early Internet, when scrolling marquees were thought to be cool. It&#8217;s best to avoid wacky-looking spinning objects unless they suit the style of your site. If you have a game site, maybe a twirling hat or an animated string of cats is appropriate for a loading image. For a more professional look stick to the more common horizontal bars, clocks or circular moving images and modify the colors to match your site.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/generate-animated-loading-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Plugin Tips: ColorBox</title>
		<link>http://computeraxe.com/jquery-plugin-tips-colorbox/</link>
		<comments>http://computeraxe.com/jquery-plugin-tips-colorbox/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 07:02:17 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=771</guid>
		<description><![CDATA[ColorBox is described as &#8220;A lightweight customizable lightbox plugin for jQuery 1.3+&#8221;. As of this writing the ColorBox jQuery plugin is being actively supported as Version 1.3.19 was issued on 8 Dec 2011. It&#8217;s an open source work released with &#8230; <a href="http://computeraxe.com/jquery-plugin-tips-colorbox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>ColorBox is described as &#8220;A lightweight customizable lightbox plugin for jQuery 1.3+&#8221;. As of this writing the <a href="http://jacklmoore.com/colorbox/" title="jquery plugin colorbox">ColorBox jQuery plugin</a> is being actively supported as Version 1.3.19 was issued on 8 Dec 2011. It&#8217;s an open source work released with the MIT license and it&#8217;s one of the top ten jQuery plugins used around the world.</p>
<p>To use ColorBox first download the plugin, unpack the .zip file, and inspect the example directories. The index page in each example folder presents a series of links to slideshows with different features, such as elastic transitions, fade transitions, or using other content types. The colorbox directory contains a minified .js file and a non-minified JScript file.</p>
<p>ColorBox requires that its stylesheet be included in the &lt;head&gt; before its javascript source, which must be included after the javascript library. In the head of an HTML page call colorbox.css, jQuery library, and then any jQuery plugins — <em>in that order</em>. If you don&#8217;t call jquery.js before the plugin, nothing happens on the page where you&#8217;re wanting to view a lightbox or slideshow. You&#8217;ll see a &#8220;jQuery is not defined&#8221; error if you&#8217;re using  the <a href="http://getfirebug.com/" title="Firebug is a great development tool.">Firebug development tool</a>.</p>
<p>We want the webpage to be fully constructed before running any scripts, so put &lt;script&gt;s near the end of the HTML, just before the closing body tag, &lt;/body&gt;. That way, when elements are called for in the script, they will already be present.</p>
<p>You don&#8217;t want the scripts near the top of the document because of the way a web page is constructed. HTML is parsed by the browser until it comes across a script. When a script is encountered the parsing is paused and the script is then executed. If a script precedes the elements that it calls for, the script won&#8217;t work as intended.</p>
<p>Alternatively, the script could be wrapped in a ready() method like so:</p><pre class="crayon-plain-tag"><code>$(document).ready(function() {
  .
  .
  (script goes here)
  .
  .
});</code></pre>
<p>Using the ready() function assures that the DOM is completely constructed before modifying it with the script.</p>
<p>ColorBox works on any jQuery selectable object. It&#8217;s a simple matter to create a slideshow by grouping images with the &#8220;rel&#8221; attribute or with a common class name, like so:</p><pre class="crayon-plain-tag"><code>&lt;a class=&quot;group1&quot; href=&quot;../image1.jpg&quot; title=&quot;Caption 1 for image 1.&quot;&gt;Photo 1&lt;/a&gt;
&lt;a class=&quot;group1&quot; href=&quot;../image2.jpg&quot; title=&quot;Caption 2 for image 2.&quot;&gt;Photo 2&lt;/a&gt;
&lt;a class=&quot;group1&quot; href=&quot;../image3.jpg&quot; title=&quot;Caption 3 for image 3.&quot;&gt;Photo 3&lt;/a&gt;</code></pre>
<p>A simple, one-line script is all that&#8217;s needed to create a slideshow from the images grouped by their common class name, in this case .group1.</p><pre class="crayon-plain-tag"><code>&lt;script&gt;
    jQuery('a.group1').colorbox();
&lt;/script&gt;</code></pre><p>When the image link is clicked this script will center each image in a lightbox and shadow the rest of the page behind the image. Clicking on the page, or close button, will bring back the page as it was before clicking on the image.</p>
<p>To create a slideshow complete with previous, next and close buttons, add &#8216;rel=group1&#8242; as a css key:value pair inside curly braces in the parentheses for the colorbox function.</p><pre class="crayon-plain-tag"><code>&lt;script&gt;
    $(document).ready(function() {
      $('a.group1').colorbox({rel:'group1'});
    });
&lt;/script&gt;</code></pre><p>Any number of key:value pairs can be added here to make your slideshow really stand out.</p>
<p>Other content types can be used with ColorBox, like HTML, Flash, video, or external webpages. Of course, that means you can let your imagination run wild and use ColorBox to your advantage in creating beautifully modern websites.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/jquery-plugin-tips-colorbox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Most Popular jQuery Plugins</title>
		<link>http://computeraxe.com/most-popular-jquery-plugins/</link>
		<comments>http://computeraxe.com/most-popular-jquery-plugins/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 20:33:12 +0000</pubDate>
		<dc:creator>axe</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://computeraxe.com/?p=767</guid>
		<description><![CDATA[jQuery is one of the most popular JavaScript libraries in use on the Internet today. Over 50% of the top 10,000 websites rely on it, as do 30% of the top million sites, according to gary at BuiltWith. JavaScript functionality &#8230; <a href="http://computeraxe.com/most-popular-jquery-plugins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>jQuery is one of the most popular JavaScript libraries in use on the Internet today. Over 50% of the top 10,000 websites rely on it, as do 30% of the top million sites, according to <a href="http://blog.builtwith.com/2011/10/31/jquery-version-and-usage-report/" title="jQuery in use on the Net">gary at BuiltWith</a>.</p>
<p>JavaScript functionality is extended with the jQuery library which is in turn extended via plugins. There are thousands of plugins to choose from depending on the functionality that&#8217;s required. The most popular plugins are well written, ready for the masses, secure, and really useful with a minimum of work.</p>
<p>The top ten most popular jQuery plugins are listed below with the approximate percentage of the top sites using them.</p>
<ul>
<li>UI ~30%</li>
<li>Form ~20%</li>
<li>Cycle ~20%</li>
<li>Tools ~5%</li>
<li>Easing ~5%</li>
<li>Cookie ~5%</li>
<li>PrettyPhoto ~5%</li>
<li>ColorBox ~5%</li>
<li>Bgiframe ~5%</li>
<li>Validate ~5%</li>
</ul>
<p>Enhance your skills as a developer by becoming familiar with these jQuery plugins.</p>
]]></content:encoded>
			<wfw:commentRss>http://computeraxe.com/most-popular-jquery-plugins/feed/</wfw:commentRss>
		<slash:comments>1</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>4</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>
	</channel>
</rss>

