WordPress (25)

WordPress is the largest self-hosted blogging tool in the world, used on millions of sites and seen by tens of millions of people every day.

How to Add Variables to WordPress Menu Items

Would you like to use variables on certain menu items? Perhaps you want to count a category and display that total alongside your label. We’ll show you how to do that in this quick guide.

Get the Category from the URL in WordPress

This bit of code will take the current URL as seen in the browser, explode (separate) it by / and then create an array that includes the category id, name, slug etc, then put’s them into variables for easy access.

Get the URL of an Image in WordPress

When building or editing a WordPress theme, you might want to get the URL of a specific image by it’s ID. Here’s how to do it using the ‘wp_get_attachment_url’ function.

Beginning WordPress Theme Development: A Reading List

A reading list for web developers looking to try their hand at WordPress theme development. This list aims to give you a better understanding of WordPress’s core functionality, such as it’s hierarchy and the loop, then leads on to creating a basic theme.

Change the Image Quality in WordPress

By default, WordPress compresses images uploaded via the media uploader. Learn how to change the level of compression in your functions file to better suit your website.

Get Content from Another Site on a WordPress Multisite

On a WordPress Multisite you might want to grab content from one of your websites (site 1) and display it on another (site 2). In this tutorial we’ll show you how to switch to another site and get the title, excerpt and main body content, then display it on one of your other sites.