Tag Archives: WordPress
Prevent WordPress SPAM Comments & Registrations With JavaScript

The battle against SPAM continues, so I have another hurdle you can implement to help prevent bots from submitting comments and registering accounts. Although this tip is aimed at WordPress, the basic idea can be applied to any application. What we’re going to do is encase (or hide) the submit buttons on the comment form and account registration page in JavaScript. That way, bots (which don’t use JavaScript well) won’t be able to submit data [...]
RSS Links In Archive-type Pages

A while back, I adjusted the Feeds List page with basic directions on how to find the RSS feed of a specific category, tag, or author. That would allow readers to subscribe to a specific listing of their choice, rather than the whole site feed. While doing that, I had the idea to provide a RSS link directly on the archive pages themselves. The solution wasn’t immediately found, so I shelved that idea for a [...]
Posted in: Web Development
Tagged: code, HTML, PHP, RSS feed, syntax, web, web development, WordPress
Add Users Total To WordPress Dashboard

The WordPress Dashboard is the first thing you see when you login. The “Right Now” box has important information like the total number of posts tags, comments, etc. but one thing is missing: users. I usually don’t have a need to check the Users list, so when a number of SPAM accounts registered, I didn’t even realize it. It got me thinking about writing a script to display the total number of registered users right [...]
Disable WordPress Drafts & Revisions

Today’s computer tech tip involves disabling two features in WordPress: Automatic Drafts & Revisions. They’re intended to be helpful, but they’re not for everyone. I would prefer to see these as options to enable/disable within the Admin Dashboard, but hard-coding the changes will suffice for now. I may have mentioned it before, but I prefer coding my articles in HTML with Notepad++ and later copy/pasting them in, so drafts and revisions aren’t necessary to me. [...]
Create A Custom Default WordPress Avatar
Inside the Discussion Settings area of your WordPress blog, there are seven options for default avatars. The option you select will show up for every user who hasn’t setup a Globally Recognized Avatar for their email address. That is, of course, if you’ve adjusted the Avatar Display option to Show Avatars and your theme supports Gravatars (I haven’t seen a theme that doesn’t). Wouldn’t it be great if you could create a custom avatar and [...]
Don’t Count Administrators In WordPress.com Stats Plugin

The WordPress.com Stats plugin is great for tracking page-views of your visitors. You can see the top posts and pages, the incoming referral links and search terms, and the outbound links to where your visitors left. As the Administrator, you have two options available for modification. You can choose to: show the site stats to users of any role, like Editors, Contributors, and Subscribers enable/disable stats counting of logged in users There is something missing [...]
Posted in: Web Development
Tagged: code, PHP, plug-in, stats, syntax, web, web development, WordPress
