<?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>WordPress Web Hosting &#187; Form</title>
	<atom:link href="http://www.shrewdies.net/host/theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shrewdies.net</link>
	<description>Business Web Hosting For Shrewdies Not Dummies</description>
	<lastBuildDate>Fri, 13 Jan 2012 14:33:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Default WYSIWYG Editor</title>
		<link>http://www.shrewdies.net/1634/wordpress-default-wysiwyg-editor/</link>
		<comments>http://www.shrewdies.net/1634/wordpress-default-wysiwyg-editor/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 10:23:19 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Form]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[NicEdit]]></category>
		<category><![CDATA[Question2Answer]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=1634</guid>
		<description><![CDATA[My search for the perfect WordPress Default WYSIWYG editor is far from over, but at least I have a stable solution that works. I&#8217;ve switched between NicEdit and TinyMCE for a few months. I like the simplicity of NicEdit, and had it working nicely on WordPress sites. Then all sorts of weirdness started happening when [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">My search for the perfect WordPress Default WYSIWYG editor is far from over, but at least I have a stable solution that works.</div>
<p>I&#8217;ve switched between NicEdit and TinyMCE for a few months. I like the simplicity of NicEdit, and <a href="/822/wordpress-wysiwyg-made-easy/">had it working nicely on WordPress sites</a>. </p>
<p>Then all sorts of weirdness started happening when I tried the beta of Q2A on a development site. I&#8217;d taken what I thought were sensible precautions. The site in question was new and had no visitors. I prefer to experiment with this sort of site if possible, as running development sites under localhost on my PC is not always a good representation of the real world. I had an absolute nightmare with this, and suspected all the new stuff I was trying out (beta Q2A and beta WordPress 3.0!)</p>
<p>Turned out it was nothing to do with the beta software, and everything to do with lousy server configuration backed up by lousy tech support from Bl** Host.</p>
<p>In the process of trying to get back to something that worked, I tried different settings on this site. I didn&#8217;t realize that I&#8217;d left WYSIWYG turned off here until <a href="/822/wordpress-wysiwyg-made-easy/#comment-4274">vince told me</a>.</p>
<p>For now, I&#8217;ve left tinyMCE alone. It looked like a good solution, but there are a whole bunch of formatting issues, so I&#8217;ve decided to focus on NicEdit.</p>
<p>I use it to make WordPress commenting better, and for Q2A. Within those setups (either of Q2A, WP, or both) there are installation and configuration options, so I&#8217;ll try to cover all the permutations.</p>
<h2>Preparing Q2A</h2>
<p>Q2A strips out any html code from multi-line text, so we have to tweak it. If you are uncomfortable with tweaking code, raise the issue on the <a href="http://www.question2answer.org/">Q2A site</a>, and ask for an Admin option to disable it.</p>
<p>We have to edit the qa_html() function in qa-base.php, which sits in the qa-include folder. Find (Ctrl-F) qa_html, and you should see lines similar to those below. They change $html, but we want it to stay as entered. I simply comment out the string manipulation, and set the return value to the string that was passed in:<br />
<code>		if ($multiline) {<br />
//			$html=preg_replace('/\r\n?/', "\n", $html);<br />
//			$html=preg_replace('/(?<=\s) /', '&nbsp;', $html);<br />
//			$html=str_replace("\t", '&nbsp; &nbsp; ', $html);<br />
//			$html=nl2br($html);<br />
			$html=$string;<br />
		}<br />
</code></p>
<p>If you do not do this, NicEdit will still work, but the HTML tags will get stripped before your questions, answers, or comments get saved.</p>
<p>This change will need to be reapplied whenever you upgrade or reinstall Q2A.</p>
<h2>WYSIWYG Question2Answer</h2>
<p>The simplest implementation is to copy the from NicEdit front page:</p>
<pre>&lt;script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript">&lt;/script>
&lt;script type="text/javascript">bkLib.onDomLoaded(nicEditors.allTextAreas);&lt;/script>
</pre>
<p>Then paste it into the Question2Answer Admin area. All you do is go to the Layout settings, and paste the above code into the 'Custom HTML in &lt;HEAD> section of every page:' and save the settings.</p>
<p>You should see that all your multi-line text boxes have a WYSIWYG display with edit buttons across the top. The buttons are disabled until you click into the textarea.</p>
<p>Now check that NicEdit works OK on your question, answer and comment boxes. The easiest way is to edit existing items.</p>
<p>This has worked successfully every time I have tried it, but there may be some formatting issues on some browsers. I will cover these in my next article.</p>
<h2>WordPress Default WYSIWYG Editor</h2>
<p>For most of my sites, I want both WYSIWYG for Question2Answer and for WordPress. I always wrap my Q2A theme inside the WordPress theme, so it makes sense to apply NicEdit to the WordPress header. In this setup, you do not have to also apply it to NicEdit, unless you want different editor configurations in each area.</p>
<p>So to make NicEdit the WordPress Default WYSIWYG Editor and also apply it to Question2Answer, simply post the NicEdit code into header.php within the HEAD tags. This also applies if you just use WordPress without Question2Answer.</p>
<p>Test your comments both at the article level, and (if you use threaded comments) the reply to comment level. NicEdit should work nicely, but there may be issues in some browsers. You really need to try as many browsers as possible, but certainly common ones that your visitors use. See your server logs or analytics program - Google Analytics is very good - to get a list of browsers that your visitors use.</p>
<p>In my next article, I will look at some of the issues that WordPress themes can cause, especially with MSIE. I'll explain how to overcome these issues, and approaches to investigating problems. I will also explain how to avoid the pitfalls associated with simply <a href="http://nicedit.com/index.php">pasting the NicEdit code from their site</a>. You will see how to create the best WordPress WYSIWYG editor.</p>
<p>You might notice that I do not use the NicEdit/WordPress default WYSIWYG editor that I have described on this site. That is because I intend to move all the interactive features to a separate site, and add more discussion and feedback tools. When I've done that, I will produce a complete step-by-step guide for integrating NicEdit and Question2Answer under a WordPress theme.</p>
<p>Let me know if you want to see it in action before you commit to these changes, and I will show you sites where it works so that you can see the improved front end.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/1634/wordpress-default-wysiwyg-editor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Promotion Tool</title>
		<link>http://www.shrewdies.net/1558/promotion-tools-plugins-wordpress/</link>
		<comments>http://www.shrewdies.net/1558/promotion-tools-plugins-wordpress/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 13:34:21 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Form]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[Happiness Today]]></category>
		<category><![CDATA[WordPress blogging]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[WordPress Pods CMS]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=1558</guid>
		<description><![CDATA[Many of you looking for a WordPress plugin promotion tool have stumbled across my Happiness Today plugin. You seem disappointed that the next version is where the real promotion potential lies, but the good news is that you do not need to wait. If you have downloaded and activated Happiness Today, then you already have [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">Many of you looking for a WordPress plugin promotion tool have stumbled across my <a href="http://www.shrewdies.net/happiness_today" title="WordPress Plugin: Promotion Tool">Happiness Today</a> plugin.</p>
<p>You seem disappointed that the next version is where the real promotion potential lies, but the good news is that you do not need to wait.</p>
<p>If you have downloaded and activated Happiness Today, then you already have a tool for displaying random (or selected) promotion messages in your WordPress posts, pages or sidebar.</p></div>
<p>The main appeal of Pods is the way it makes extending the WordPress database so easy. But stored data is of little use if you cannot present it to your visitors. My first release of Happiness Today was just to prove that, like Hello Dolly does for standard WordPress, it is very easy to build a basic plugin. That basic plugin instantly demonstrates how Pods stores and displays data. In keeping with the Hello Dolly tradition, I displayed random lyrics in the Admin area &#8211; but the real life potential was always to be able to produce something simple yet useful, that can display random promotion messages to visitors.</p>
<p>Those promotional features are included in the current release, just not obvious. Here&#8217;s how to use Pods inbuilt features to get more from the Happiness Today plugin. Start your marketing campaign now.<span id="more-1558"></span></p>
<h2>WordPress Pods Presentation Features</h2>
<p>In the plugin, I present the messages via a Pods template that is called whenever an admin page loads. That template adds formatting to match the admin color scheme, and configurable link buttons. I also present the full set of lyrics on the happiness_today information page using a very simple template that adds nothing but a line break.</p>
<p>Pods output is not restricted to templates that can be as simple or as complex as you need them. Neither is it restricted to Pods pages such as the example mentioned, where you can build a page similar to a WordPress page, but with easy access to your data. You can also include Pods output in regular WordPress posts and pages with a simple shortcode call. Like this:<br />
<!-- This site is running development Happiness Today<br />
       Released version uses different name &#038; template --></p>
<blockquote>Think of happiness today
<br>
All is one in their own way
<br><br /></blockquote>
<p>That is a simple Pods shortcode wrapped in blockquote tags, but you are only limited by your imagination, and css talents. How about:</p>
<style type="text/css">
.podsdemo
{
	margin:1em 5em 1em 5em;
	padding: 1em;
	border: 1em outset red;
}
p.podsdemo:first-letter
{
	color:#ff0000;
	font-size:200%;
	float:left;
}
p.podsdemo:first-line {
	font-size:110%;
	text-transform: uppercase;
	font-weight:bold;
}</p>
</style>
<p><!-- This site is running development Happiness Today<br />
       Released version uses different name &#038; template --></p>
<div>
<p class="podsdemo">Think of the fruitless things we do
<br>
Now how about we try a new wave<br />Don't let our love go away
<br>
No one wants sadness to stay<br /></p>
</div>
<p>In this second example, I&#8217;ve set the limit to two records. Note that records are called randomly, but I have included the chorus several times, so that will appear more frequently &#8211; just refresh your browser to see the random effect.</p>
<p>All you need to do is add the following shortcode to your post, page or text widget:</p>
<pre>&#91;pods name="happiness_today_text" order="RAND()" limit="1" template="happiness_today_list"]</pre>
<h2>WordPress Plugin Promotion Tool: Next Steps</h2>
<p>All the data in the <a href="http://www.shrewdies.net/happiness_today" title="WordPress Plugin: Promotion Tool">Happiness Today</a> plugin is easily edited using the Pods data table editing features. In my example, I use couplets from the Think Of Happiness Today lyrics. Though I limit the example text to two lines so that it displays in the admin area properly, you can use any HTML text you like. The Pods WYSIWYG editor allows the usual formatting including hyperlinks, or direct entry of HTML code.</p>
<p>Using Happiness Today for longer visitor messages might make your admin area a little cluttered. No problem &#8211; simply deactivate Happiness Today &#8211; the data management and presentation features that I have discussed here are all part of standard Pods, and will work fine.</p>
<p>In future versions, I&#8217;ll add the ability to import and export different campaign text sets, with other options to make life even easier than it is with the basic release. But you do not need to wait &#8211; the current release can be used for any promotion campaign you can think of, including random advertising. In fact, it does not even need to be random, for instance specific records can be called on specific posts. The only limit is your imagination.</p>
<p><!--more--><div style="margin-left:-1em;"><table><tr><td><script type="text/javascript"><!--
google_ad_client = "pub-7512621270035949";
/* shrewdies 300x250, created 22/12/09 */
google_ad_slot = "4026195862";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td><td>
<script type="text/javascript"><!--
google_ad_client = "pub-7512621270035949";
/* shrewdies 300x250, created 22/12/09 */
google_ad_slot = "4026195862";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td></tr></table></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/1558/promotion-tools-plugins-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Pods: Food For Thought</title>
		<link>http://www.shrewdies.net/1445/wordpress-pods-food-for-thought/</link>
		<comments>http://www.shrewdies.net/1445/wordpress-pods-food-for-thought/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 11:41:25 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Form]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[WordPress Pods CMS]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=1445</guid>
		<description><![CDATA[The data-presentation link is vital. To get the best out of WordPress Pods, it pays to study the sample that is packaged with the Pods CMS plugin, and the more advanced examples in the Pods Packages directory. It is also vital to have a clear plan of the presentation outcomes that you need. When describing [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">The data-presentation link is vital. To get the best out of WordPress Pods, it pays to study the sample that is packaged with the Pods CMS plugin, and the more advanced examples in the Pods Packages directory.</p>
<p>It is also vital to have a clear plan of the presentation outcomes that you need.</p></div>
<p>When describing the <a href="http://www.shrewdies.net/1382/wordpress-database-with-pods-wings/">data aspect</a> of my first plugin, I wrote of the importance of thoroughly analyzing the relationship between the presentation of content required, and the structure of data needed to support it. Recently, I saw a question on the <a href="http://podscms.org/forums/installation/cafe-menu">Pods Support Forum</a> that seemed to relate to this area. I was particularly interested in it because the issues seemed to be similar to matters I had encountered with my <a href="http://www.shrewdies.net/shrewdbar/" title="shrewdBar WordPress Menu Bar Plugin">shrewdBar WordPress menu bar plugin</a>.</p>
<p>The difficulty with forum discussions is fully understanding what the issues are. If one is sat with a client, or even on a video link, it is easy to mock up a quick display and discuss what the presentation should actually look like. Difficulties are compounded with cultural and time-zone differences. But, &#8220;All is one in their own way,&#8221; and the power of the Internet allows the following attempt at understanding the problem and suggesting a solution.</p>
<p>I hope it solves the problem it tries to address, but even if it doesn&#8217;t, I&#8217;ve learned a neat CSS trick that I&#8217;ll be using again.</p>
<h2>Basic Pods Data Display</h2>
<p>First, create the Pod (Pods &#8211; Setup &#8211; Pods &#8211; Add new pod) using the data supplied.<img src="http://www.shrewdies.net/wp-content/uploads/wordpress-pods-table.png" alt="WordPress Pods Table" title="WordPress Pods Table" width="434" height="233" class="aligncenter size-full wp-image-1452" /><br />
Second, <span id="more-1445"></span>add some test data (Pods &#8211; Add {name_of_pod}). We could have used the Pod menu settings to make this title more meaningful, or even used a separate menu out of the Pods hierarchy.<br />
Third, create the Template (Pods &#8211; Setup &#8211; Templates &#8211; Add new template)<br />
<img src="http://www.shrewdies.net/wp-content/uploads/wordpress-pods-template.png" alt="WordPress Pods Template" title="WordPress Pods Template" width="548" height="156" class="aligncenter size-full wp-image-1454" />
<p align= "right"><sup><a href="#screenshot">Happiness Today screenshot note</a></sup></p>
<p>Fourth, test the output without any styling using
<pre>&lt;ul>&#91;pods name="shrewdies_cafe_menu"  template="shrewdies_cafe_menu"]&lt;/ul></pre>
<p><img src="http://www.shrewdies.net/wp-content/uploads/wordpress-pods-simple-output.png" alt="WordPress Pods Simple Output" title="WordPress Pods Simple Output" width="176" height="185" class="alignleft size-full wp-image-1458" />Fifth, go back to the template, change the list (li) tag to anchor (a &#8211; because we need to hover), and add the labels for the prices. Then apply some styling.</p>
<p>The span tags in the template seem redundant up to now, but they are there for a very good reason. The popup display in the &#8220;client brief&#8221; didn&#8217;t seem relevant for the small amount of information to display. Given it&#8217;s complexity, I searched for something simpler, and found <a href="http://meyerweb.com/eric/css/edge/popups/demo.html">Eric&#8217;s pure css popups</a>. So, adding some CSS styling, our list is transformed into:</p>
<style type="text/css">
<!--
div#links {width: 166px; height: 300px; font: 16px Verdana, sans-serif; z-index: 100;}
div#links a {display: block; text-align: center; font: bold 1em sans-serif; 
   padding: 5px 10px; margin: 0 0 1px; border-width: 0; 
   text-decoration: none; color: #FFC; background: #444;
   border-right: 5px solid #505050;}
div#links a:hover {color: #411; background: #AAA;
   border-right: 5px double white;}</p>
<p>div#links a span {display: none;}
div#links a > span {display: none;}
div#links a:hover span {display: block;
   position: relative; top: 0px; left: 100; width: 125px;
   padding: 5px; margin: 10px; z-index: 100;
   color: #AAA; background: black;
   font: 10px Verdana, sans-serif; text-align: center;}</p>
<p>-->
</style>
<div id="links"><a href="">Spicy Salver <span>Breakfast Price: $9.99<br />Lunch Price: $15.99<br />Dinner Price: $19.99</span></a><a href="">Golden Gutbuster <span>Breakfast Price: $19.99<br />Lunch Price: $25.99<br />Dinner Price: $29.99</span></a><a href="">Fish Fantasy <span>Breakfast Price: $12.97<br />Lunch Price: $15.97<br />Dinner Price: $19.97</span></a><a href="">Platinum Platter <span>Breakfast Price: $15.99<br />Lunch Price: $18.99<br />Dinner Price: $25.75</span></a><a href="">Bronze Buffet <span>Breakfast Price: $9.99<br />Lunch Price: $11.99<br />Dinner Price: $15.99</span></a></div>
<h3>WordPress Style Notes</h3>
<p>The transforming CSS is called by wrapping our Pods call in an appropriate div:</p>
<pre>&lt;div id="links">&#91;pods name="shrewdies_cafe_menu"  template="shrewdies_cafe_menu"]&lt;/div></pre>
<p>I&#8217;ve taken Eric&#8217;s CSS style and included it in this post, though in practice, you would probably paste it into your theme&#8217;s style sheet. Eric uses his for a menu positioned absolutely near the top left, so I have removed the container styling, and changed the span positioning to relative. I also added the bold line below &#8211; a duplicate of the preceding span line, with a greater than to signify anchor text that is a <a href="http://www.w3.org/TR/CSS21/selector.html#child-selectors">child selector</a> of a span. Without both versions, the span element refuses to hide &#8211; I assume this is a conflict with the styling from my theme.</p>
<pre>&lt;style type="text/css">
&lt;!--
div#links {width: 166px; height: 300px; font: 16px Verdana, sans-serif; z-index: 100;}
div#links a {display: block; text-align: center; font: bold 1em sans-serif;
   padding: 5px 10px; margin: 0 0 1px; border-width: 0;
   text-decoration: none; color: #FFC; background: #444;
   border-right: 5px solid #505050;}
div#links a:hover {color: #411; background: #AAA;
   border-right: 5px double white;}

div#links a span {display: none;}
<b>div#links a > span {display: none;}</b>
div#links a:hover span {display: block;
   position: relative; top: 0px; left: 100; width: 125px;
   padding: 5px; margin: 10px; z-index: 100;
   color: #AAA; background: black;
   font: 10px Verdana, sans-serif; text-align: center;}

-->
&lt;/style>
</pre>
<p><id = "screenshot" hr /></p>
<h4>Happiness Today Screenshot Note</h4>
<p>Though the two screenshots show the same lyrics from Think Of <a href="http://www.shrewdies.net/happiness_today">Happiness Today</a>, do not think that the program has stuck, or in some way does not work. Those lines are the chorus, and I have repeated them in line with the original lyrics. This means that this particular couplet will display more regularly in the display area. If you adapt the plugin for your own promotional purposes, repeat your most important messages, and they will display more frequently.</p>
<p><!--more--><div style="margin-left:-1em;"><table><tr><td><script type="text/javascript"><!--
google_ad_client = "pub-7512621270035949";
/* shrewdies 300x250, created 22/12/09 */
google_ad_slot = "4026195862";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td><td>
<script type="text/javascript"><!--
google_ad_client = "pub-7512621270035949";
/* shrewdies 300x250, created 22/12/09 */
google_ad_slot = "4026195862";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td></tr></table></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/1445/wordpress-pods-food-for-thought/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Theme Functions</title>
		<link>http://www.shrewdies.net/401/wordpress-theme-functions/</link>
		<comments>http://www.shrewdies.net/401/wordpress-theme-functions/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 12:10:02 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Form]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[footer.php]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[WordPress theme]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=401</guid>
		<description><![CDATA[Functions and options bring flexibility to WordPress themes, but can they also over-complicate? Flexibility is second only to speed in terms of theme importance. There are risks when theme functionality goes too far, so you need to know where to draw the line. Your WordPress theme is the face of your website &#8211; your front [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">Functions and options bring flexibility to WordPress themes, but can they also over-complicate?</p>
<p>Flexibility is second only to speed in terms of theme importance.</p>
<p>There are risks when theme functionality goes too far, so you need to know where to draw the line.</p></div>
<p>Your WordPress theme is the face of your website &#8211; your <em>front of house</em>, if you like. Just like the real world, front of house has to present your features and benefits in your best light, and it has to direct visitors efficiently by providing comprehensive, consistent, accessible navigation.</p>
<p>Recent trends are to added customization options, and increase functionality. Feature that used to rely on plugins, especially custom RSS feeds and header/footer code, are now options in many themes. </p>
<div style="float:right;border:2px solid #00009e;background-color:#9e9eff;margin:7px;padding:7px;width:200px;color:#00009e;"><big>Disappointed Digression</big><br />This Analytics problem highlights why my plea for keeping functionality out of themes is more than me being tetchy. A good Google Analytics plugin would recognize the need to track external links and include the necessary code. I believe at least one does this, but I will review them later. Managing the code is much more than just pasting the basic script into a box, and I believe it should be left out of themes. <br />If theme authors want to emphasize the importance of Google Analytics (or anything else) they can easily incorporate some Admin warnings without bloating the code for all users.</div>
<p>I was reminded of this today when I checked my Google Analytics, and realized the external tracking code<a href="#ref1">[1]</a> was missing. I always used to add this type of code manually to footer.php. It is very easy to do, but you must remember to change it whenever you change the theme.</p>
<p>To avoid disruption whenever I changed theme, I started using plugins to manage Google Analytics code, and other footer additions. Today, I realized that I can easily go to the theme options for this, and dispense with a plugin. That is tempting, as reducing plugins usually means a faster website. However, I&#8217;m not convinced that the theme option is the right place for this.</p>
<p>If I change my theme, I lose functionality. This cannot be right. If it was a WordPress standard, then I might accept that using an out-of-date theme could cause loss of functions. However, there is no standard here, so even if the new theme allows footer code to be added, I still have to remember to copy and paste it to the new theme.</p>
<p>I do wish theme authors would focus on polished presentation and nifty navigation. Give me CSS options and layout options, but please leave the functionality to the plugin authors. Better still, just move your functionality to your own plugin or integrate the features from a popular plugin that performs the same purpose.</p>
<h3>WordPress Theme Functions: Next Steps</h3>
<p>As we are all stuck with an undisciplined way of adding code to footers, unless WordPress produces a standard, we must ensure that we manage change properly. Footer code is easiest when managed with a plugin. If you want to save a little loading speed, use the theme options or theme editor, but be sure to have a proper change procedure for applying new themes. Such a change procedure covers preparing for and checking all theme dependent functionality, and I will write more on this later.</p>
<h3>WordPress Theme Functions: References</h3>
<ul>
<li>1. <a href="http://www.goodwebpractices.com/roi/track-downloads-in-google-analytics-automatically.html">How to track downloads in Google Analytics automatically</a> [Internet].  [cited 2010 Jan 8]. I have minified this as <a href="http://www.shrewdies.net/scripts/gatag-min.js">gatag-min.js</a> if you do not have minifying functionality on your site.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/401/wordpress-theme-functions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Best WP Theme Service</title>
		<link>http://www.shrewdies.net/381/best-wp-theme/</link>
		<comments>http://www.shrewdies.net/381/best-wp-theme/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 17:32:48 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Form]]></category>
		<category><![CDATA[best WP theme]]></category>
		<category><![CDATA[Swift theme]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=381</guid>
		<description><![CDATA[I&#8217;ve just seen the best WP theme service. I&#8217;m grateful and a little awestruck. For people to donate their time to the WordPress community by developing free themes is one thing. When the theme stands out amongst thousands as truly meeting it&#8217;s purpose, that is excellent. Awesome AsideDespite the spell checker setting (which is set [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">I&#8217;ve just seen the best WP theme service. I&#8217;m grateful and a little awestruck.</p>
<p>For people to donate their time to the WordPress community by developing free themes is one thing. When the theme stands out amongst thousands as truly meeting it&#8217;s purpose, that is excellent.</p>
<div style="float:right;border:2px solid #9e009e;background-color:#ff61ff;margin:7px;padding:7px;width:200px;color:#9e009e;"><big>Awesome Aside</big><br />Despite the spell checker setting (which is set to American in recognition of the majority of my visitors), I&#8217;m a Brit based in the UK. I do not say awesome every other sentence as a habit. When I say awesome, I mean I am awed, overwhelmed and grateful. This is out of the ordinary &#8211; and a very pleasing experience.</div>
<p>When the author offers first class customer service &#8211; a million miles away from the common &#8220;what do you expect when it is free&#8221; attitude &#8211; that is awesome.
</p></div>
<p>You might wonder why service and support matter &#8211; surely, it is the theme performance that is most important? True, a theme must work properly and deliver superb presentation. However, even exceptional themes, if not well supported, soon fall by the wayside. A well supported theme is different &#8211; it just gets better and better &#8211; as you will soon see.</p>
<p>I&#8217;m testing out the Swift theme on this blog. As I mentioned last week, <a href="http://www.shrewdies.net/297/wordpress-hosting-theme-2/">the best WordPress themes are usually the fastest</a>. Swift by name, Swift by nature.</p>
<p>The first impression was good. It is fast, but I have not tested it fully yet. It is flexible, but I have not explored all the options yet &#8211; just enough to realize that there are sufficient options to make it possible to avoid the samey look that many themes bring.</p>
<p>&#8220;So why are you writing a review when you haven&#8217;t finished testing it yet?&#8221; I hear you ask.</p>
<p>This is not a review &#8211; that will come soon &#8211; but the level of customer service that the author offers deserves immediate recognition. So often we see bad support for WP themes (and plugins), and the excuse invariably is that customer support is not justified because the software is free. That is wrong &#8211; there is nothing more frustrating than seeing something useful fail because it&#8217;s author failed to explain properly how it works.</p>
<p>Contrast that &#8216;take it or leave it&#8217; attitude with Satish Gandham from SwiftThemes.</p>
<p>First off, I could see from the site that the theme is well supported. These days, if there is no obvious author support, I tend to ignore themes. With WordPress advancing as quickly as it does, it is not worth getting locked into outmoded software. Swift was obviously supported, which is good, but not exceptional.</p>
<p>The exceptional customer support came to my attention this way&#8230;</p>
<p>I keep a &#8216;work-in-progress&#8217; blog to record half-developed ideas (some say they all are <img src='http://www.shrewdies.net/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' /> ) and progress notes. It saves cluttering up the blog, and sometimes what could be <em>Draft</em> or <em>Private</em> deserves to be seen. I made a note about Swift as part of another topic, mainly as a reminder to do the Swift review once I had finished the current project.</p>
<p>I linked to the Swift site, and Satish soon dropped by to tell me he had a <a href="http://swiftthemes.com/2010/01/wordpress-themes/free-themes/swift/swift-v5-0-is-coming-on-11th-jan-beta-version-available-for-download/">new version of the Swift WP theme available in beta test</a>. OK, it is not remarkable that a busy website owner and  theme developer should take the trouble to acknowledge a link, but it is rare enough to be pleasing.</p>
<p>The <em>remarkable</em> came when I checked the link. Not only has Satish made improvements, but he has set up a demo site where you can login and view all the new options. None of the usual &#8220;take this beta stuff and see if you can wreck your site with it&#8221;. He has taken the trouble to remove all the beta testing risk by providing a demo site. Furthermore, it is not just a meaningless 2 page spread of indecipherable Latin &#8211; this has enough content to see how a real site will look.</p>
<p>As you can see, I&#8217;m impressed. I&#8217;m also very grateful that there are still WordPress contributors who go the extra mile and offer exceptional customer service without charge. Truly, the best WP theme service.</p>
<h3>Best WP Theme Service: Next Steps</h3>
<p>Do you know other WordPress theme authors that offer exceptional service? Please share the details below. Let&#8217;s keep this to format enhancing themes, but if you want to share WP plugin customer service experiences, why not join the discussions in the Functionality Forum (start a new discussion if there is nothing suitable at the moment)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/381/best-wp-theme/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress Hosting Theme</title>
		<link>http://www.shrewdies.net/297/wordpress-hosting-theme-2/</link>
		<comments>http://www.shrewdies.net/297/wordpress-hosting-theme-2/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 09:47:12 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Form]]></category>
		<category><![CDATA[WordPress hosting theme]]></category>
		<category><![CDATA[WordPress theme]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=297</guid>
		<description><![CDATA[&#8220;Where can I get a good WordPress hosting theme?&#8221; asked Fred. It is a question that crops up time and again. As questions go, it seems straightforward, but you have to wonder why anyone would ask a question like this. I am assuming that Fred is starting a web business related to WordPress Hosting, and [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">&#8220;Where can I get a good WordPress hosting theme?&#8221; asked Fred.</p>
<p>It is a question that crops up time and again. As questions go, it seems straightforward, but you have to wonder why anyone would ask a question like this.</p></div>
<p>I am assuming that Fred is starting a web business related to WordPress Hosting, and not planning a hobby site to explore and discuss the finer points of WordPress Hosting themes. In that case, we have yet another example of failure to build the foundations of a web business.</p>
<p>It is no use simply deciding to set up a WordPress Hosting business without being clear about the purpose and objectives of that business. People familiar with my PROSPRA method know that <em>WordPress hosting</em> is not a suitable purpose. Brief examples of suitable purpose are &#8220;to advise students about finding WordPress hosts that will help their research and presentation&#8221; or &#8220;to supply a website hosting service that provides new website owners with a ready-to-run WordPress site&#8221;.</p>
<p>Those purpose statements would be longer in the real world, but the point is they are specific to the type of customer you are seeking. Fred&#8217;s question gives us no clue about his target customer base &#8211; a common situation implying he has not defined it. If you do not define your target, then how do you find it?</p>
<p>It may well be, for technical guys, concerned with installing and configuring server software, that you have no part to play in defining the purpose of the web business. That is fine, but you must get your client or boss to explain the purpose in clear terms. You cannot be expected to install or design an appropriate theme if you are unsure about it&#8217;s purpose.</p>
<h3>Wrong Way To WordPress Hosting Theme</h3>
<div style="float:right; margin-left:7px; padding:7px; height:100px; background-color:#AED8F0;">
<form action="http://www.shrewdies.net/search/" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-7512621270035949:r1oowt-omc6" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Search" />
  </div>
</form>
<p><script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script><br />
WordPress Hosting Search. <br />Just type <em>themes</em> in this box.<br />There is no need to type WordPress Hosting.</div>
<p>Search for one, and you will find sites that list any number of generic WordPress themes, made to look like the ideal hosting theme by the addition of pictures of servers.</p>
<p>Follow this route, and you have a generic looking site offering a generic service. You compete directly with thousands of others, and your theme will never be memorable.</p>
<h3>How To Choose A WordPress Hosting Theme</h3>
<p>Accept that if you want to cover your site with pictures of servers, it is extremely easy to amend any theme to do that. So, you can start with any theme, and you need to think what other properties are important. I suggest that speed is the most important issue for a hosting business. Better still, if your purpose is to aim at a specific section of the market, you can differentiate yourself with a theme that appeals to photographers or students, or&#8230;</p>
<p>If you are hosting several WordPress sites, or if you will be helping clients configure their own sites, it is good to use a theme with comprehensive customization options.</p>
<p>Install a good, fast, flexible theme and adapt it to your needs. You will get better results than by installing a generic WordPress hosting theme.</p>
<h3>WordPress Hosting Theme: Next Steps</h3>
<p>You&#8217;ve seen how important purpose and objectives are, so if these are not clear, your next step is to apply some PROSPRA techniques.</p>
<p>If you need more help with themes, look at related articles in the Form Section, or ask your questions below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/297/wordpress-hosting-theme-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Design Tool</title>
		<link>http://www.shrewdies.net/216/wordpress-design-tool/</link>
		<comments>http://www.shrewdies.net/216/wordpress-design-tool/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 20:59:21 +0000</pubDate>
		<dc:creator>Keith from shrewdies</dc:creator>
				<category><![CDATA[Form]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[Pan to Bow]]></category>

		<guid isPermaLink="false">http://www.shrewdies.net/?p=216</guid>
		<description><![CDATA[The most essential WordPress design tool is not part of WordPress &#8211; it&#8217;s an image editing program called GIMP. I use it every day, so I&#8217;ll take this opportunity to describe why it is essential during all the phases of managing your WordPress website (and all other websites unless you&#8217;ve got an unhealthy textual obsession). [...]]]></description>
			<content:encoded><![CDATA[<div class="kctIntro">The most essential WordPress design tool is not part of WordPress &#8211; it&#8217;s an image editing program called <a href="http://www.gimp.org/">GIMP</a>.</p>
<p>I use it every day, so I&#8217;ll take this opportunity to describe why it is essential during all the phases of managing your WordPress website (and all other websites unless you&#8217;ve got an unhealthy textual obsession).
<p>&nbsp;</p>
</div>
<div id="attachment_217" class="wp-caption alignright" style="width: 310px"><img src="http://www.shrewdies.net/wp-content/uploads/freeche-logo.gif" alt="freeche Web Traffic Logo" title="freeche Web Traffic Logo" width="300" height="205" class="size-full wp-image-217" style="margin-top:-20px; "/><p class="wp-caption-text">freeche Web Traffic Logo</p></div><br />
The prompt to write this today came from using GIMP to help me prepare to launch a new site. Very few WordPress themes comes complete with images that are perfect for your site. In any case, you really need a unique logo to emphasize your unique purpose.</p>
<p>I&#8217;ll explain the reasons for creating images for your website. Then I&#8217;ll do a quick run through of the GIMP features I used to create the image you see here. This is not a GIMP tutorial &#8211; there are plenty of those available on the Internet &#8211; but it gives you an overview of the process, and lets you see how easy it is.</p>
<h2>WordPress Design Image Requirements</h2>
<p>In addition to your logo, there are also WordPress design considerations with other aspects of your theme. Many themes use background images to enhance certain features and functionality.</p>
<p>Last, but not least, you need images to decorate your posts and pages. Images are indexed by search engines, and are another way to attract web traffic. Equally importantly, they add interest for your visitors, and encourage people to return to your site.</p>
<h2>Useful Image Editing Features</h2>
<h3>Image Sources</h3>
<p><div id="attachment_220" class="wp-caption alignright" style="width: 160px"><a href="http://www.shrewdies.net/wp-content/uploads/GIMP-screenshot-morguefile.gif"><img src="http://www.shrewdies.net/wp-content/uploads/GIMP-screenshot-morguefile-150x150.gif" alt="GIMP Screenshot Morguefile" title="GIMP Screenshot Morguefile" width="150" height="150" class="size-thumbnail wp-image-220" /></a><p class="wp-caption-text">GIMP Screenshot Morguefile</p></div>You can take your own photographs, but there are also many sources of free and cheap images on the Internet. One good source is <a href="http://morguefile.com/">morgueFile</a> pictured on the right, but the one I use most is Flickr. </p>
<p>As you see from the image on the right, GIMP allows easy screenshots (a window or full screen), and images are easy to crop to size.<br />
<div class="wp-caption alignleft" style="width: 250px"><a href="http://www.flickr.com/photos/lrargerich/3620261182/"><img alt="Heavy Traffic at Buenos Aires (pano)" src="http://farm4.static.flickr.com/3659/3620261182_1314466987_m.jpg" title="Heavy Traffic at Buenos Aires (pano)" width="240" height="82" /></a><p class="wp-caption-text">Heavy Traffic at Buenos Aires (pano)</p></div>
<p>For my logo image I started by copying the image on the left from Flickr (click it to see the original). GIMP makes it easy to either copy and paste the starting image, or save the image on your local storage, and edit from there. </p>
<p>Please be sure to check the copyright restrictions. If you want to go beyond the published copyright (e.g. you might want to edit an original when no derivative works are permitted), contact the owner with your plans &#8211; you will usually get a positive response, but if not, there are millions of other images that you can use.</p>
<p>I&#8217;m indebted to lrargerich for the traffic picture. He shares his images with anyone prepared to share his accreditation. He has some very special images on Flickr, and some <a href="http://mazinglight.blogspot.com/">amazing photographs and explanations</a> on his website. </p>
<p>In my composite picture, I wanted to focus on the traffic element whilst retaining some of the background. I used GIMP to crop a strip from the photograph that suited my purpose.</p>
<h3>Image Manipulation</h3>
<p>Not only is GIMP an amazingly full featured image editing program, it is also Open Source, and there are many add-ons for it. </p>
<p><div class="wp-caption alignright" style="width: 110px"><a href="http://www.flickr.com/photos/theilr/4144518815/"><img alt="Pan to Bow" src="http://farm3.static.flickr.com/2743/4144518815_eabbfc63f6_t.jpg" title="Pan to Bow" width="100" height="85" /></a><p class="wp-caption-text">Pan to Bow</p></div>One such add on is Pan to Bow (click the image for more details) from another <a href="http://flickr.com/photos/theilr">Flickr contributor &#8211; theilr</a>. Using this filter is simplicity itself. Make sure that you Select &#8211; None, then choose Pan to Bow from the bottom of the Filters list. Select the angle that you want to rotate your panorama &#8211; that&#8217;s it. A traffic panorama transformed into a traffic rainbow (or arch).</p>
<p>To add the text, I chose the Neon Logo tool, which creates a separate image. I created three logo pictures for the 3 lines of text, pasted them into my traffic rainbow and scaled them to fit.</p>
<h3>WordPress Design Tool Next Steps</h3>
<p>Now you know how to find images, or create your own, and manipulate and merge them, try some examples for yourself. If you get stuck, just ask for help in the <a href="http://www.shrewdies.net/forum/theme/">design forum</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shrewdies.net/216/wordpress-design-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

