We have 5 tickets to give away for our newest Tuts+ Live Workshop, all you have to do is subscribe to our newsletter. Be quick though, this giveaway ends on Monday!

We have a superb new Workshop, Introduction to WordPress Plugin Development, starting in a week. This is your chance to win a free ticket!

Simply subscribe to the Tuts+ Live Workshops newsletter and we’ll pick the winners on Monday 27th. Read on to find out more about the Workshop and for more details about the giveaway!


Introduction to WordPress Plugin Development

Our newest Tuts+ Live Workshop, Introduction to WordPress Plugin Development, teaches you everything that you need to know to start developing WordPress plugins; from setting up a local development environment, all the way through to building a WordPress plugin that’s ready for release into the WordPress Plugin Repository.

It’s led by Instructor Tom McFarlin, a self-employed WordPress developer who divides his time between running his own WordPress development shop, building plugins for WordPress, blogging every day about software development in the context of WordPress, and working for 8BIT (the team responsible for Standard Theme and WP Daily).

Each weekly workshop will last one hour, running over a five week period. You’ll have the opportunity to follow along with Tom, ask questions live during the workshop, and complete a weekly homework assignment. Not able to make it to the live recording? No problem! All of the workshop recordings will be made available online the day after the live workshop.

Learn more about Introduction to WordPress Plugin Development


Subscribe and Win a Ticket!

We have 5 tickets to give away and will be choosing the winners from everyone who has subscribed to the Tuts+ Live Workshops newsletter, so no worries if you’ve already signed up. We’ll also reimburse any winners who have already paid for their ticket.

To enter simply subscribe to the Tuts+ Live Workshops newsletter and stay informed on upcoming workshops!


Categories: News, WordPress



There are only a few Early Bird tickets left for our fantastic new workshop led by Instructor Tom McFarlin: Introduction to WordPress Plugin Development

Are you an aspiring WordPress developer? Are you ready to take the next step and start building your own custom plugins for WordPress? Our newest Tuts+ Live Workshop is the perfect way to get started!

Tom is going to teach you how to write a WordPress plugin that connects to the is.gd API in order to implement an alternative URL shortner to the built-in wp.me shortner.

The goal of the plugin is to demonstrate:

  • How to write an object-oriented based plugin.
  • How to interface with a third-party API.
  • How to introduce a custom meta box.
  • How to perform input validation and sanitization.
  • Early Bird tickets are half-price at only $49, but places are strictly limited so act fast to make sure you don’t miss out!


    Introduction to WordPress Plugin Development

    Our newest Tuts+ Live Workshop, Introduction to WordPress Plugin Development, teaches you everything that you need to know to start developing WordPress plugins; from setting up a local development environment, all the way through to building a WordPress plugin that’s ready for release into the WordPress Plugin Repository.

    It’s led by Instructor Tom McFarlin, a self-employed WordPress developer who divides his time between running his own WordPress development shop, building plugins for WordPress, blogging every day about software development in the context of WordPress, and working for 8BIT (the team responsible for Standard Theme and WP Daily).

    Each weekly workshop will last one hour, running over a five week period. You’ll have the opportunity to follow along with Tom, ask questions live during the workshop, and complete a weekly homework assignment. Not able to make it to the live recording? No problem! All of the workshop recordings will be made available online the day after the live workshop.

    Learn more about Introduction to WordPress Plugin Development


    Grab an Early Bird Ticket Now!

    We’re offering a special Early Bird price of $49, but these tickets are limited. Once the Early Bird tickets have disappeared, the workshop will be $99.

    If you’re interested in future workshops then definitely join the Tuts+ Live Workshops mailing list to stay posted on upcoming workshops and get notified as soon as they’re available, the Early Bird tickets for our previous workshops have all sold out, so it’s worth getting ahead of the game!

    We’re really excited about new workshop, Introduction to WordPress Plugin Development, but places are strictly limited so act fast to make sure you don’t miss out!





Welcome to the final part of our tutorial series on WordPress Plugin Development for Designers. In the last three parts, we discussed the importance of plugins for you as designers and identified a basic structure for design based plugins while integrating a jQuery slider into WordPress. Today we are going to complete the basic structure [...]





content-video.php-exampleI wrote about Post Formats on my last article here. Basically it dealt with what a post format is and how it is different from Post Types and a basic know how of how to use it. In this article, I am going to take it a step further and give you a working example [...]






preview-Install-Google-Analytics-on-Wordpress

Have you heard about all the powerful insights Google Analytics can churn out for your business? (Here are just 3 Google Analytics insights you can learn about your business.)

If you haven’t heard about Google Analytics, it’s an amazing, free tool you can use to track everything related to your website visitor data – from how many, to where they’re coming from, to what they’re doing on your website (and what’s making them leave!).

If you have heard of Google Analytics and its powerful insights, you know that installing it on your site is a must do item.

If you’re a WordPress user, I have a secret for you: installing Google Analytics on your WordPress site involves very little code. We can install Google Analytics easily. Sound good? Let’s get to it.

1. Sign Up for a Google Analytics Account

Step 1

If you don’t already have one, head on over to Google Analytics and grab yourself an account. It’s totally free! Already have a Gmail, YouTube, Google Apps for Business or other Google-related email address for your business? You can use that to sign up.

install-google-analytics-on-wordpress-home

Step 2

Once you’ve created a new Google account or signed in with your existing Google account, Google Analytics will ask you to sign up.

install-google-analytics-on-wordpress-signup

Step 3

On the next screen, make sure you keep the Web Site button pressed, as installing the tracking code for an App is a bit of a different animal.

install-google-analytics-on-wordpress-track

Step 4

Next up, we’re choosing a tracking method. Go ahead and keep the Classic Analytics selected. (Universal Analytics is currently in beta and isn’t quite fully functional just yet.)

install-google-analytics-on-wordpress-check

Step 5

Now here’s the part where we start to tell Google Analytics a little more about the website we’re trying to track:

install-google-analytics-on-wordpress-web-property

What’s this about a property versus an account? Google does explain what they are in the screenshot above, but the diagram below gives more insight into the structure of property versus account:

Image Source: http://equatorlive.com/blog/2013/03/19/google-analytics-user-permissions

Image Source: EquatorLive

The account you have is tied to the email address you signed up with. Under the account, we’re setting up your website as property. You can have multiple properties associated with one account. Under that, you use profiles to filter your data in different ways for one web property/website.

You can give multiple users access to your account or to your profiles (if say, you wanted to outsource the data tracking piece of your business or get some help configuring conversion tracking and other more advanced Google Analytics capabilities).

So back to the setup:

  • Website Name: this is simply that – your website name. A lot of people just type in the URL of the website here for naming purposes.
  • Website URL: enter the URL of the site you’re going to track.
  • Industry Category: this helps Google learn more about how different industries are using Google Analytics and potentially serve up more relevant information for you. Select the industry that best matches this website.
  • Reporting Time Zone: Pay attention to this one! You cannot change this later. This will determine where your ‘day’ starts and ends in Google Analytics for counting visitors & everything else.
  • Account Name: If you have just one business and only ever plan on having one business, this can be the same name as your main website name. Think business name = account name, whereas website names = property names. If your needs are simple enough, these are often the same.
  • Data Sharing: this is your option – do you want to share your traffic data with Google? These are selected by default.

Hit the blue Get Tracking ID button and Google will give you a pop-up to accept those terms and conditions. Pay attention to these – among the terms includes disclosing to visitors that you’re using tracking cookies on your website.

Now you’re finally ready to install the Google Analytics tracking code on your WordPress site.

2. Installing the Google Analytics Tracking Code on Your WordPress Website

Step 1

Once you hit the blue Get Tracking ID button and agree to the Terms and Conditions of Service, you’ll see your Tracking ID displayed on this complicated page:

install-google-analytics-on-wordpress-tracking-id

Note that your Tracking ID will be a different number than displayed in this screenshot, but since you’re a WordPress user – you don’t have to worry about anything other than that UA- number at the top!

Step 2

Let me introduce you to my favorite WordPress plugin ever, the Joost Google Analytics plugin for WordPress.

install-google-analytics-on-wordpress-download

There are a lot of Google Analytics plugins out there, but this one is my favorite because not only does it install Google Analytics in the recommended section of your site (in the header) but it also comes with easy to configure options for a more advanced setup (if and when you need it).

Step 3

Let’s walk through how to install the Google Analytics for WordPress plugin. Once signed in to your WordPress dashboard, head to Plugins > Add New.

install-google-analytics-on-wordpress-plugins

Step 4

Search for “Google Analytics for WordPress”. Hit the details link under the plugin description to verify that it’s the one developed by Joost de Valk (look for his name as the author in the blue box on the right).

install-google-analytics-on-wordpress-description

Step 5

Hit the red Install Now button above the blue box. Once installed, hit Activate.

Note that in the screenshot above it says Latest Version Installed where your Install Now button will be because I already have this setup on my site.

Step 6

Now we just have to link up your Google Analytics account with this plugin to start tracking your website visitor data. Head to Settings > Google Analytics in your Dashboard. Enter that UA- tracking ID in the plugin’s settings:

install-google-analytics-on-wordpress-configuration

Then hit the blue Save Google Analytics Settings button and you’re all set!

3. Block Your Internal Traffic from Showing Up in Google Analytics

Follow this optional section if you need to block internal traffic from showing up in Google Analytics..

Ever worry about work on your website, whether it’s content updates, new pages, or a redesign could be messing with your traffic data? You can actually apply a filter in Google Analytics to block that traffic out – but Joost’s plugin eliminates the need for creating anything custom and makes it easy to block your internal traffic.

Step 1

Simply make sure Show Advanced Settings is checked in the first gray box then scroll down to Advanced Settings:

install-google-analytics-on-wordpress-advanced

Step 2

Select Administrator from the drop down menu for which type of users to ignore. Once you hit save, this will keep any internal traffic from messing with your Google Analytics data.

4. Ensuring Data Accuracy: What to Watch Out For

The Google Analytics for WordPress plugin makes installing Google Analytics on WordPress a super-simple process. However, there are a few things about your WordPress site that might make your data a little wonky if left unchecked.

There is one scenario that will mess this up: you already have Google Analytics setup on your site, just not with this plugin. What to do about it?

Step 1

Check that you don’t already have another Google Analytics plugin installed. Head to Plugins > Installed Plugins and check for any that are already doing this for you. Make sure to uninstall those before or right after you install Joost’s plugin.

Check to make sure your UA- code isn’t already added somewhere in your theme’s settings. Check your Theme Options under Appearance or other setting areas where your theme lets you add code to your header.

Why can’t you just use the default Google Analytics settings offered by your theme? Because often they don’t install it correctly (in your website’s header) but almost more importantly, your theme doesn’t even come close to making it as easy as the Joost plugin does to make extra configurations to your Google Analytics tracking without having to actually edit the code. (like blocking your internal traffic, tracking outbound clicks, cross-domain tracking and more).

5. Analytics Visitor Data Check

The final step of installing Google Analytics on your WordPress site is to make sure Google Analytics is actually receiving your website visitor data.

Step 1

Log into your Google Analytics account and head to your reporting screen. See any traffic data? (keep in mind Google Analytics can take up to 24 hours to start counting visits).

Another place to check: Head to Admin and select the web property (website) you’re trying to setup tracking for. You’ll see a status similar to this one if the tracking code isn’t setup properly:

install-google-analytics-on-wordpress-status

Of course, remember to make sure to wait 24 hours before getting concerned that your code might not be setup right.

When it’s working, you’ll see a green checkmark to indicate Google Analytics is receiving data. Once you have that green checkmark, you’re all setup! Fairly simple, right?

Over to You

Do you have Google Analytics installed on your site? Do you have a WordPress site? Have you used the Google Analytics for WordPress plugin in the past? Did you find it easy to use? Did you find this Google Analytics installation guide for WordPress helpful? Let me know in the comments!





In this post you will get 11 WordPress scripts that will help improve your blog’s performance and that may or may not stop North Korea from terrorizing us. Either way, you will find these little WordPress hacks very useful for your daily blogging needs, which can help you save lots of precious time! If you’re [...]





post-formats-1024x850Ever wondered how to display a slideshow or video instead of Featured Image. Post Formats is the answer. Post Formats are not to be mistaken for Post Types. Post types let you create different post types where you go on to add them with different custom fields, taxonomies and they work as another post type [...]





In this video tutorial I will teach you how to build a WordPress website with custom widget areas the easy way. Even if you haven’t touched a single line of code before, this tutorial is simple enough to walk you through every code. This tutorial goes hand in hand with Christian’s video tutorial on how [...]





WordPress plugins have made our lives so, so much easier. In fact, there are already nearly 25,000 plugins developed. And there are plenty of articles all over the internet featuring the most popular and the most known WordPress plugins that will turn your website into a powerful CMS, blog, forum, etc. I am here to [...]





Hello Everyone! Welcome back to the third part of this series on WordPress Plugin development for designers. In the first part we identified the importance of WordPress plugins for you as designers and the basic structure of a plugin. Then we followed it up with the necessary coding required for developing plugins in the second part, [...]





In the first part of our WordPress Plugin Development Course for Designers we learned about the importance of WordPress plugins for designers and its base structure. Today we are going to talk about the core WordPress theories and techniques required for creating design focused plugins. Our final goal is to learn WordPress plugin development while [...]





hidden buttonsWordPress on basic level has nearly covered every button that one needs for quick customization of the content. But besides what WP offers , there are situations that one may require a few/more detailed style options. Like font size, font family etc. These buttons can be brought up and used in the editor without any [...]