Tag Archives: development

Upload Media Programmatically in WordPress

How To: Upload Media via URL Programmatically in WordPress

WordPress themes and plugins sometimes need to download files from third party servers, like images, documents, archives, and more. A Flickr image browser is a great example, where you wouldn’t want to hotlink to the images on Flickr, but rather download them to your own. Note that file_get_contents is not the way to go, so … Permalink


Google Analytics API in WordPress

Using the Google Analytics API in WordPress

I’m pretty sure you all know what Google Analytics is, but not everybody is aware that it comes with a Data Feed API which can be used to grab different sorts of valuable information from your Analytics profile. In this post we’ll talk about the API, authentication and firing requests to the API using the … Permalink


Style Posts by Taxonomy

How To Style Your Posts Based on Category, Tag or Custom Taxonomy in WordPress

We heard this question many times and it’s not as simple as it sounds, so we’re dedicating a whole blog post to the solution. Today we’ll talk about child themes, taxonomy (categories, tags and custom taxonomy), the post_class function, it’s filter friend and their correct usage in WordPress themes. Permalink Permalink


Tabs with Settings API in WordPress

How To: Create Tabs with the Settings API in WordPress

WordPress themes and plugins come with quite a lot of features and options these days, and the Settings API does provide a very easy to sectioning method. Sections are good and work out of the box, but if you’ve got more options than your sections can handle, it’s wise enough to split them into different … Permalink


Tweets to WordPress Posts Plugin

Writing a Tweets to WordPress Posts Plugin (Part 2)

In the first part of this tutorial, we covered the WordPress Cron engine, created our own scheduled task that used the WordPress HTTP API to query the Twitter Search API and create new Status posts out of new tweets in the search. Today we’ll talk about some improvements that can be made to the plugin. … Permalink


Tips for WordPress Theme Developers

5 Tips to WordPress Theme Developers

The WordPress theme development market has grown incredibly in the past few years and with so many companies and freelancers around, how do you stand out? In this post we bring you five tips on how to make your theme easier to use, avoid frustrating customers, use WordPress to the max and provide better and … Permalink


WordPress Internals Part 2

WordPress Internals: How WordPress Boots Up Part 2

In my previous post on How WordPress Boots Up we went over half of the bootup process up to the point where WordPress wp-settings.php returns as a SHORTINIT’ed version, with the barebones of WordPress available, which, though an obscure feature, turns out to be quite useful for environments where only the very core WordPress features … Permalink


Tweets to WordPress Plugin

Writing a Tweets to WordPress Posts Plugin (Part 1)

There are quite a few plugins out there and this post is not about using them, but rather about creating your own. In this tutorial (which will be divided into several parts) we’ll cover the fundamentals of the WordPress Cron (task scheduling) engine, we’ll query the Twitter API every once in a while to gather … Permalink


Admin Pointers in WordPress 3.3

Introducing Pointers in WordPress 3.3

WordPress 3.3 is planned for November this year and we published the scope a while ago here on Theme.fm. As mentioned in that post, 3.3 will get a series of UI improvements, one of which is Pointers (or Admin Pointers). We learned about pointers in WordPress a few hours ago from one of Daryl Koopersmith’s … Permalink


Comments Moderation in WordPress

Display the Number of Comments Held for Moderation

It’s always nice to show how many comments and pingbacks your posts have, right? There are also plugins that can show off how many comments have been blocked as spam as a sidebar widget, although I don’t see how useful that could be to your readers :) Today we’ll talk about comment moderation and how … Permalink


Page 2 of 41234