-
Generate Unique User Nicenames
Sometimes, you want users to have unique nice names. Here’s a neat little function I wrote to generate a unique nicename for new users. Ultimately, what this function will do is take a string of text and validate it against existing user nice names found on your site. If the nice name is taken, it […]
-
Removing WordPress Version Number From Static Files
Remove WordPress Version Number From Static Files Version Number Query String on Static Files If you’ve been working with WordPress for a while, I’ll bet you’ve noticed the query string attached to each .js and .css file loaded by your site. (For those not familiar with query strings, they are all the jargon appended to […]
-
Detecting Mobile Phone Browsers in WordPress
Better Detection Today I’m going to share a neat little function with you that will help detect mobile browsers. More specifically, mobile phones. You may be saying to yourself, there’s already a function built into core to detect when a user is browsing your site on mobile devices, and you are correct. There is a […]
-
How To Add Numeric WordPress Pagination
In this tutorial I show you how to easily add beautiful pagination to any of your existing WordPress pages. Follow along and by the end of the lesson, you’ll have working pagination on your blog page. Very easy to follow, just copy+paste and go!
-
Add an Icon to a WordPress Widget
In this post I discuss how to add a custom icon to your widgets. You can add this to your plugins to stand out above the competition, or just to add a splash of style to your site. I propose adding a new patch to the WordPress core, and go into detail about the code involved to get the task done. Follow along with this fun tutorial!