Tag Archives: wordpress themes

Custom Page Templates – Calling An External CSS File

Note: Not long after writing this post, I discovered that the best way to load external CSS files is by using the wp_enqueue_style function. Similarly, the best way to load JavaScript files is by using the wp_enqueue_script function. The method outlined below is not necessary – although it may still be useful for other things to be added to the head section.

Custom page templates are a powerful feature of WordPress that can be used to make pages (not posts) do something different from normal. You can make them do pretty much anything. Obviously, this can greatly increase the flexibility of your site.

Amongst other things, I’ve used custom page templates to create a basic photo wall and a dynamic listing of jobs in China.

However, because of the way most WordPress themes are created, calling an external CSS file from a custom page template is not straightforward. Here, I explain the problem, look at the options and explain how to use ‘plugin functionality’ to overcome the problem.

Continue reading

Poll – Which WordPress Theme Framework To Use?

So far, my WordPress development work has consisted of writing WordPress plugins and occasionally hacking themes. I’ve always said that I wanted to write a WordPress theme from scratch, but never had time to do so. One of my sites is going to need a redesign shortly, so here’s my big opportunity.

However, with the rise of the WordPress theme framework and the limited time available to me, I’ve started thinking that the sensible thing to do is use a theme framework. But which one?

Continue reading

2008 On More Than Scratch The Surface

Happy New Year to all! A new year, a new start, but before I start churning out new posts, I want to have a quick look at 2008 on More Than Scratch The Surface. I’m not normally given to writing review posts, but I was looking at my Google Analytics stats for 2008 and felt moved to write a review of 2008.

Continue reading

Plugin News And Theme Update

This is a brief update on what I’ve been doing, my plans for the site and my WordPress Plugins. Continue reading