WordPress Archives

Tips and Tricks on WordPress usage and development. I am very passionate about WordPress, but it doesn’t work just by itself – it needs a rich environment to live and breathe in.

If you’re after theme and plugin alterations, we have a category for that.

How to fix the “Occasional White Screen of Death” Error in WordPress

In this video I’ll show you how to fix an odd phenomenon I’d like to call “The Occasional White Screen of Death”. Here’s what happened:

Read more

How to disable JetPack nag messages in the WordPress Admin interface

I really like WordPress, and I really like JetPack. I use the plugin on many client websites, who usually have their own WordPress.com  account, which is necessary to enable the plugin successfully. Most of them however choose not to sign up for a payment plan, which as of 2017 leads to (now rather annoyingly frequent) … Read more

How to install a free SSL Certificate in Plesk Onyx

In this episode I’ll explain how to add a free SSL Certificate for web traffic in Plesk Onyx. First we’ll enable the Let’s Encrypt extension in Plesk, then we’ll create the certificate and prepare our subscription for SSL traffic. And finally, we’ll tweak two values in the WordPress database so that all requests will be … Read more

Upgrade Trouble: when WordPress is asking for FTP details, but there’s no FTP server on your system

I was working on a CentOS 7 server the other day that had a LAMP stack installed. It was used to host only a single instance of WordPress. Upgrading themes and plugins from the admin interface worked fine, but curiously, WordPress core upgrades did not. Instead, WordPress was asking for FTP details every time, which also … Read more

P2 Header Ad – Version 1.6 released

I’ve just released a new version of my P2 Header Ad plugin! It fixes a few issues I’ve come across in debug mode: styles are now loaded via wp_enqueue_scripts hook fixed a debug warning that assumed a constant rather than a value verified compatibility with WordPress 4.5 There’s still a lone warning that appears in … Read more

How to turn plain URLs into clickable links in WordPress

The marvellous P2 Theme has an interesting feature: write out a plain link, and it magically becomes clickable without explicitly adding the a href tag.

This may not be a big deal if you’re writing posts in the visual WordPress editor rather than HTML, but for those of us who like to write in HTML, it’s just one less thing to worry about.

I was investigating this feature recently, and it turns out WordPress has a built-in function that can do this: they call it make_clickable(), and it works with URIs, FTP, Email addresses and anything starting with www. The function is really easy to use too: it only takes one parameter (a string), and returns the clickable HTML code.

$clickableText = make_clickable($plainText);

Let’s see how to use it in context, using the TwentyThirteen theme.

Read more