Mind

Fun with SEO Spammers

I am involved in a joint venture with one of my close friends, Glenn Ansley. It’s the World’s Best Event Calendar Plugin for WordPress (in my humble opinion). Well, if you have a website, you know you’re going to get typical SPAM through your contact form, from so-called “SEO Experts”. We received one the other…

Mind

Globally Disable Comments and Pings in WordPress Multi-Site

Over the past couple years I’ve worked on a number of WordPress Multi-Sites that wanted to have their comments and pings disabled. In other words, they weren’t accepting comments and didn’t want them to be displayed. Normally this is easy to accomplish, simply turn off comments in the back end. However, SPAMMERS knowing exactly how…

Mind

How to search for user last name in the WordPress Users dashboard

Have a client with almost 2500 users in their WordPress site and they wanted to be able to search their users by last name. By default this is not enabled in WordPress core, so here is a quick function/hook you can add to your functions.php file to enable this:

I will probably expand this…

Mind

Rate Limiting with WordPress’ Transient API

I run a web app called leenk.me, it’s a Social Media Optimization application for WordPress. Basically it publishes your WordPress content to Twitter / Facebook / Google Buzz whenever you publish new content to your website. There are a lot of “advertisers” who have been signing up for the service and one in particular has…

Mind

WordPress Weekly Patch – Escaped Apostrophe – Trac #14996

Glenn Ansley started this “WordPress Weekly Patch” idea. Where you submit one patch a week to WordPress core. I’ve been doing it, but have definitely missed the “weekly” part of “weekly” :). I’ve just been way too busy. Regardless, this is my patch for the week – http://core.trac.wordpress.org/ticket/14996 If you insert a Video/Audio/Media link and…

Mind

Using WordPress’ Built-in Media Upload

I was working with a client a few weeks ago. They wanted to create a customer portal that allowed their customers to upload files to their website. Once their clients have uploaded the files, they needed to be able to download and delete the files from the server. There were a few plugins in the…

Mind

Allowing Hyperlinks in Your WordPress Excerpts

By default, WordPress strips out all the HTML tags from your post excerpts. I needed to allow hyperlinks, but there is a problem when WordPress tries to truncate the post’s content. The wp_trim_excerpt function is what WordPress uses to do all the trimming work, I simply copied the code, modified it, and stuck my new…