Shelley Bassett




Using the new Gutenberg editor in WordPress

Using the Gutenberg Editor

I've installed WordPress's new Gutenberg editor on a few of my websites now. Here's how it interacted with my current and custom themes

WordPress’s new Gutenberg editor has been a controversial addition to the platform since its announcement. But after experiencing the editor with the optional plugin, I’ve come to love it. It’s a refreshing experience to the WordPress editor.

(more…) Read More

Using AJAX with WordPress

Using AJAX with WordPress is a little more complicated than the standard scripts. Follow this tutorial for any WordPress theme or plugin

AJAX requests are everywhere. Asynchronous JavaScript and XML (AJAX) allows calls to the server without interfering with the rest of the page load. This asynchronous behaviour is very useful, especially when loading times are important. When it comes to theme and plugin development Using AJAX with WordPress is a little more tricky than the standard application. Let’s get into it. (more…)

Read More

Save Metadata to a Custom Taxonomy

After making custom post types and custom taxonomies, it’s often useful to add custom meta fields so that extra variables can be added to help define the taxonomy. It’s easy to save metadata to a custom taxonomy, and can provide some great functionality.

After making custom post types and custom taxonomies, it’s often useful to add custom meta fields so that extra variables can be added to help define the taxonomy. It’s easy to save metadata to a custom taxonomy, and can provide some great functionality. (more…)

Read More

Customising the WordPress Login Screen

Need a custom login screen for your WordPress site? Editing the default one to match your website is easy

When publishing a website that many different people will log into, it’s nice to have a custom login screen that reflects the design of the website or the brand of the company. It helps with user confidence too. A custom log in screen tells the user that the place they’re entering their secure data (like a username, email or password) is actually with the company they intent to be using. With all these benefits to a custom log in screen, lets add one to WordPress! (more…)

Read More

How To Use Custom Metadata

If your posts have custom fields, you might be wondering how to use custom metadata. This tutorial walks through calling and displaying custom fields in the WordPress loop.

Many plugins offer custom fields for posts. We’ve even spoken about how to add this metadata via a plugin or theme. But how do you use custom metadata? It’s pretty simple, and involves calling the field from the database, then displaying it on a page in the theme. (more…)

Read More

Enqueuing Style Sheets in WordPress

Every website is designed using style sheets. But did you know there are several different ways of enqueuing style sheets in WordPress?

Enqueuing style sheets in WordPress is the beginning of any theme template. There are only 5 files required for a WordPress theme, and style.css  is one of them. But do you know how to correctly insert this file? Or that there are ways to enqueue multiple style sheets, or page specific ones? WordPress is a powerful tool, and utelised properly, can create some very quick-loading websites. (more…)

Read More

Missing RSS feeds in WordPress

If you're using WordPress, and think you're missing RSS feeds... Don't panic! They're there. Just a little hidden and difficult to find. These simple steps will show you how to find any number of missing feeds.

RSS feeds are still an important part of blogging. It lets people subscribe to the blog, and can also be used in clever automation workflows. But what if you have missing RSS feeds, or simply can’t find the best one to share? WordPress has RSS feeds inbuilt, but sometimes these are in unexpected locations. There are a number of ways to identify these feeds, and some clever ways to perform queries to get a specific one. (more…)

Read More

Creating and Saving Custom Metadata for a post

Custom metadata is a really nifty way to add extra information across all posts or custom post types. It lets you limit or free the formatting, and call it using hooks in other pages. But how do you add this functionality to WordPress?

By utilising custom metadata, posts or custom post types can store additional information in the database to be called during a loop. This might be an image, a product description, or the url to a an external page. Whatever type of metadata you need to include, there’s probably a way to do it. (more…)

Read More

Debugging a customised permalink

Sometimes WordPress's pretty permalinks don't work as expected. These are some common issues with using a customised permalink, and how to get your sites urls pointed at the correct place again

Pretty permalinks are a really common sight across the web. They tell you exactly what page you’re on, and also contain useful pieces of information about the site’s hierarchy. WordPress makes it really easy to set up this style of permalink in the Settings -> Permalink options in the admin area. But what happens when a customised permalink suddenly points to a 404 error? It’s okay, the posts aren’t gone, just a little lost. (more…)

Read More

Adding a word in the url

Adding a word in the url can help separate different post types. Adding "blog" into the post url is an easy way to identify them. But can you do this in WordPress? It's easy if you know how!

If you have a number of custom post types, it might be useful to have an identifier in the link. Adding a word in the url is an obvious way to do this. But sometimes this isn’t as easy as it seems. Let’s follow the recommended way to do this, then troubleshoot some common issues. (more…)

Read More