Posts Tagged ‘WordPress theme’

WordPress Theme Functions

January 9th, 2010 by Keith from shrewdies | 1 Comment | Filed in Form, Function
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 – your front of house, 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.

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.

Disappointed Digression
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.
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.

I was reminded of this today when I checked my Google Analytics, and realized the external tracking code[1] 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.

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’m not convinced that the theme option is the right place for this.

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.

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.

WordPress Theme Functions: Next Steps

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.

WordPress Theme Functions: References

Tags: , ,

WordPress Hosting Theme

January 3rd, 2010 by Keith from shrewdies | 2 Comments | Filed in Form
“Where can I get a good WordPress hosting theme?” 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 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.

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 WordPress hosting is not a suitable purpose. Brief examples of suitable purpose are “to advise students about finding WordPress hosts that will help their research and presentation” or “to supply a website hosting service that provides new website owners with a ready-to-run WordPress site”.

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’s question gives us no clue about his target customer base – a common situation implying he has not defined it. If you do not define your target, then how do you find it?

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’s purpose.

Wrong Way To WordPress Hosting Theme


WordPress Hosting Search.
Just type themes in this box.
There is no need to type WordPress Hosting.

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.

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.

How To Choose A WordPress Hosting Theme

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…

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.

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.

WordPress Hosting Theme: Next Steps

You’ve seen how important purpose and objectives are, so if these are not clear, your next step is to apply some PROSPRA techniques.

If you need more help with themes, look at related articles in the Form Section, or ask your questions below.

Tags: ,