Quick tip from me today, for those of you who are suffering at the hands of other websites ripping off content from your blog.
Displaying a date on your blog posts is recommended, both for search engines and also for your audience.
Most blogs display the post publish date, which you would think makes sense. But I think there’s a better way of doing it, and that is by displaying the last updated date.
If you have a particular WordPress function that you suspect is slowing down your site, you can test it’s execution time. Here’s how to do it.
Here’s how to change the order of taxonomy metaboxes within a custom post type.
This week I’ve been playing around with the Software Licensing add-on for Easy Digital Downloads, and I must say it really rocks. It can be used for implementing a licensing system for your commercial themes and plugins. Here’s the deactivation/activation code for reference, you can use this to enable users to activate or deactivate a plugin/theme license from their dashboard.
Ever wondered how a WordPress backdoor can be created? This is an educational post that shows you how to do it. What you decide to do with this code is entirely up to you, I of course encourage you to play nice and not use it for malicious purposes.
As we all know, the Settings API is fantastic for
One of the marks of a truly great WordPress developer, is his ability to include excellent commenting in his code. Go ahead, take a look at some of the plugins/themes by the best developers, and see how easy it is to read through their code. They adhere to the WordPress Coding Standards when writing HTML and PHP. There is also the CSS Coding Standards page on the Core Contributor Handbook, which is definitely another page to check out.
Today we will therefore look at the subject of commenting. I’m going to show you a few examples from top plugins and themes. We’ll be focusing on the use of commenting in the documentation of files and functions/classes, but we’ll also mention the normal comments you can sprinkle throughout your code.
Although WordPress is a system that performs well in general, it’s worth delving a bit deeper into performance considerations when building plugins and themes for general distribution. You never know who will be using your plugin or theme, it might be a site with thousands of posts. At that level, the difference between an efficient plugin/theme and one that is not will be very evident.
The current trend in plugin development is all about having a core plugin and then developing other addons. But how do you prevent an addon plugin being activated when the core (parent) plugin is not activated?
A single weekly email directly to your inbox.