WordPress Tutorials

In this category you’ll find all sorts of WordPress tutorials, large and small, simple and complex. One of the great things about WordPress is that it’s relatively simple, but you still have to know how to do things. In this section, we aim to help you out there. Our readers range from beginners to experts, and so we try to covert that gamut with our tutorials as well. For example, a post more toward the beginner end of the scale would be How to Add Google Analytics to WordPress in Three Simple Steps. Another would be How to Upgrade a WordPress Theme.  An example of a little more advanced tutorial might be How to Widgetize a Page, Post, Header or Any Other Template in WordPress. And even further up the scale would be Install WordPress Locally on Windows with Xampp and DIY Truly Responsive Images on Your WordPress Website.

How to Show WordPress Widgets Only to Logged In Users

Ever need to show a WordPress widget only to logged in users? Or maybe you have the opposite need: you want to show a widget only to users who are NOT logged in.

In this post, we’ll go over how to do both.

Using Widget Logic
Widget Logic is a very popular plugin that will help us accomplish our goal. While Widget Logic can help you do much more than hide or show a widget to logged in/logged out users, we’re going to focus this post on that particular task.

show-hide

Read more »

8 Tactics To Maximise The Success Of Your WordPress Project

Did you include a new WordPress project in your New Year’s Resolutions?

Building a WordPress site, like any other digital project, can be a traumatic experience. But the problems are usually self-inflicted: unrealistic expectations, over-optimistic deadlines and excessively elaborate requirements list.

Here’s 8 tactics to maximise the chances of your next WordPress project running to schedule, to budget and to expectation.

Runner breaking the winners tape

Read more »

How to Show Different Menus to Different WordPress Users

There are all sorts of reasons for wanting to show certain menus to some users but not others.

As many visitors to WPMU DEV often build or run sites for clients, let’s take a simple client example.

Let’s say you have a client that needs things to be as easy as possible. This client accesses the site by going to the homepage first. They can easily get to the admin area from there, but what if they aren’t logged in? On many sites, there is no easy link to the login page.

menus

Read more »

How to Limit Access to Your WordPress Dashboard

Limiting access to the WordPress dashboard is a topic we’re asked about a lot in the WPMU DEV support forums. Whether you’re creating a site for a client who doesn’t know WordPress from Microsoft Word or you just want to restrict how users login to your site, there are various reasons why you might want to keep people off your dashboard.

Luckily, there are many ways to help you do it. In this post I’ll go over a few different methods, from simply using the permission settings built into WordPress to using code and installing plugins.

Limiting Access With WordPress User Permissions

Limit dashboard access

Read more »

How to Delete User Roles from a WordPress Site

There are a number of reasons why you may have user roles on your site that you don’t need or don’t want. Perhaps you decided to try a new user system that you’ve now abandoned. Or maybe you’ve installed a plugin or a specialized theme that automatically created new roles.

While plugins or themes that create roles often let you delete those roles, maybe you uninstalled them so long ago you can’t even remember what created them in the first place.

Below we’ll go over an easy way to delete those roles.

Deleting Roles

delete-user-roles-featured

Read more »

No More Cowboy Coding: Improving Your WordPress Workflow

When most people start doing WordPress development, their workflow involves downloading a file from a theme or plugin via FTP, editing it, uploading it via FTP, refreshing the page, figuring out went wrong and then starting the whole process over again. This strategy, know as “cowboy coding” is not only inefficient, but dangerous.

Once you’ve put your cowboy days behind you, it will be obvious that no serious WordPress development can ever be done that way. The alternative takes a little work getting setup and used to, but the pay-off is more than worth it.

cowboy

Read more »

How To Make Twenty Fourteen (Or Any Other WP Theme!) Super

In a recent review of WordPress’ latest default theme, WPMU DEV’s Chris Knowles called Twenty Fourteen a “flawed beauty.”

In that article, Chris recommended a number of potential improvements, and together we’ve put together this ultimate guide to addressing those flaws.

And what’s more, these tips and techniques can be used in practically any WordPress theme.

So, break out the cape, fire up your favorite editor, and give Twenty Fourteen a superhero makeover.

Photo of Superman, Ironman, Wonder Woman and Captain America action figures

Read more »

3 Tricks For Improved Child Theming in WordPress

There are a lot of reasons why it is better to create a child theme instead of modifying a theme, but one of the most important reasons is that doing so allows you to keep the parent theme up to date without losing your customizations.

The more template files you copy from the parent theme to the child theme, the more likely it is that you will miss out on the benefit of a future update to the parent theme as the changes are in a file your child theme is overriding.

elephants

Read more »

How to Gauge the Popularity of Your Posts

After spending the past couple of hours carefully crafting a beautiful piece of writing for your blog, an essay about why Louis CK is the funniest comedian ever, you excitedly hit “publish.” The post disappears into the Twitterverse, and is automatically posted to Facebook, Google+ and LinkedIn. Then you wait for the comments to come flooding in. But nothing happens.

The next day, you post a YouTube clip of your cat falling off a trampoline. The post gets 50 comments and 176 “Likes” on Facebook. Go figure.

Thumbs Up

Read more »