Today’s post is only going to be a short one in which I am going to show you how to install a neat little feature on your WordPress site. This, if used safely, can be very convenient. This is designed to be used on WordPress sites which offer a generic account for users to login to. For example, on many backend WordPress demos the author will create a ‘demo’ account for prospective customers to login as and play with his/her product. How can we make the demo look slightly more streamlined and professional? I will give you a quick snippet to automatically login to the WordPress admin with these credentials.Continue Reading »
What a great first day! I have to admit I was a little nervous when I first walked through the glass front door of Box UK’s city office: the little camera and buzzer you had to press to gain entry was intimidating in itself! I immediately felt the friendly atmosphere, and it was warmly comforting. Two of Box’s employees, who had gone in before me, turned around and greeted me by name. Admittedly, it was a bit of a shock, but a good sign all the less that I was expected. Continue Reading »
Complexity though simplicity. Looking at some of the most successful pieces of software on the Internet today, trying to understand how they work can be an exceptionally daunting task. It can be easy to see them as dense tangled webs stuffed inside a black box without windows. This is not friendly. Far from that in fact. But, almost as easily with a little bit of effort, these behemoths can be reduced right down to their bones. Once you realise that the digital world around us is powered by line upon line of the most basic commands, you can begin to appreciate code for what it really is. And it’s beautiful. Complexity through simplicity.Continue Reading »
Hello guys! I’m excited to be writing my debut article for WPEka, and today I’m going to be showing you how to very quickly and easily create a highly useful PHP function which can verify Envato Purchase Codes for your items via Envato’s Marketplaces API.
Being able to verify these codes is a very useful ability for authors to have, as if they are easily and accurately able to identify legitimate customers, they can afford to invest in more premium services, such as customer support forums for example, confident their ‘customers’ have really bought their item.Continue Reading »
Hello guys! I’m excited to be writing my debut article for WPKube and today I’m going to talk to you about Envato’s Marketplaces API . . . In this article I will cover the public side of this API, including how to use it and provide you with a useful snippet you can customise and drop right into your own projects. At the end I will also share my top 4 data channels in the API, showing you how to use them and what data they will return.Continue Reading »
No doubt you have seen WordPress Themes and Plugins which claim to automatically install ‘dummy data’ for you when you install them, so that you immediately have a fully functioning website. I am going to show you a method of achieving this using only PHP functions.
This is an extended, two-part tutorial on both creating and using the code needed to create, update and manage Wordpress posts, pages and custom post types. With an eye particularly on automation, the code we will create will be both easy to use, using industry compliant OOP (Object Oriented) programming, and easily extendible.Continue Reading »
This article shows you how to dynamically insert your own page templates into the WordPress system from within a plugin (or just about anywhere in your WordPress installation for that matter). We will be creating a PHP class for this and using inbuilt filters to amend the WordPress cache. By the end of the tutorial, our page template will be recognised and treated just like any other by WordPress. This is a very useful tip/trick when developing 3rd party plugins.Continue Reading »
An Ode to an Unrecognised Hero
As always when you create a new WordPress site, you have that one lonely post already created for you, the famous ‘Hello World’ post. Being famous doesn’t protect it from web admins’ annoyance though; for example, if you Google ‘hello world blog post’, the first result is a WordPress.org thread talking about how to remove ‘Hello World’ permanently. Surely something as iconic and momentous as the first ever post your blog shows off to the rest of the world deserves a better fate than consignment to ‘Trash’?
Thus, this is my ode to all abandoned and/or mistreated ‘Hello World’ posts the world over.