Archive for the ‘WordPress’ Category
Web Design posts focused on WordPress software and WordPress development.
Using the Yahoo Weather API (in your WordPress themes)
When developing our Hyperlocal WordPress theme called The Local Darren came up with the idea of adding the local weather to the themes header. After a bit of research I decided that the Yahoo! Weather api was the best solution.
Before writing the code I Googled around to find something that would speed up development but all the solutions I found were overly complicated and cumbersome. I wanted some small fast code – so decided to write my own.
WordPress Http – Read Content From Other Websites
Recently I have been doing a lot of work with API’s and these often involve loading text content (rss/ xml/ json etc) from another website and then displaying the results – for instance the Twitter feed at the bottom of this website uses the Twitter Search API to get my latest updates.
There are all sorts of ways to access this data, but different servers require different methods so it’s good to ...
How to Use Akismet in your Plugin or Theme to Stop Spam Dead
So far I think I have been rather lucky, there hasn’t been much spam on WPVote, and that’s great. But I know these types of sites can be a haven for spammers, so I have used a few different tricks to stop the spam in its tracks. One of those is adding Akismet support.
The function below is something you can add to your plugin without any customisation. The code is only really useful in certain situations but I ...
Creating Your Own WordPress Permalink Structure For Custom Content
The latest feature I have added to WPVote is a page that shows you all pages submitted to the site for a specific domain. Below I will show how I created the custom permalink structure without creating custom pages.
The process took me a while to work out but it ended up being quite simple code. I wanted to have the urls in the format ‘http://wpvote.com/domain/www.domain.com/’. I didn’t want to have to ...
An Intro to WordPress Filters: How to Add Custom Stuff to your RSS Feed
Recently I have added some custom content to the RSS feeds on 2 of my websites.
Here on Binary Moon I have added a notice that tells people if a specific post is in the Art Directed category, so they know to visit my site to see something styled a bit differently, and over on WPVote I added an automatically generated thumbnail to show a screenshot of the website ...
An Automated Way to Take Screenshots of any Website – Free
When I was building WPVote I wanted to have screenshots of the webpages that were submitted. Clearly I didn’t want to take the screenshots myself so I spent some time searching for an automated method to do the work for me. There are a few websites that do this but they cost money, or watermark the images, or limit the amount of requests, so I wanted to find something better.
And ...
New Theme, Accumulo, and New Free Plugin
In my plans for 2010 I said I wanted to release 3 premium themes, and earlier this week Darren Hoyt and I released the first of the bunch.
Accumulo – WordPress themeAccumulo is an RSS aggregation theme designed to imitate sites such as Popurls.com and Alltop.com, and in particular Darrens own WPTopics.
The unique selling point of Accumulo is the tabbed homepage on which you can place any ...
Building WPVote Part 4 : Design
Once I had finished researching similar voting sites I was ready to start designing and building the WPVote theme.
To decide basic page structure I went with Balsamiq mockups and knocked out some quick reference designs. I had a firm idea in mind for how the theme would function so it wasn’t that hard to make the images, and Balsamiq is REALLY easy to use so I had my reference images built quickly.
As I mentioned in part 3 ...