Tag Archives: wordpress themes

Themes, Users And The WP REST API

WordPress Opinion 5 Comments

There is mounting excitement over the WP REST API being added to core and rightly so! It is going to fundamentally change the WordPress landscape and open up all sorts of new possibilities. Developers are drooling over all the cool stuff they are going to be able to build. Exciting times!

But…

When it comes to using the REST API with themes, it may not always be the best choice.

Continue reading

Custom Page Templates – Calling An External CSS File

| Created: March 30th, 2009
WordPress Development 37 Comments

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?

| Created: February 27th, 2009
WordPress Development 69 Comments

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

About 20 Comments

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

| Created: July 26th, 2008
WordPress Plugin News 13 Comments

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