I just wrote a new plugin to disable commenter names from linking to the website URLs they may provide when commenting. Some themes allow commenters to provide a home page URL along with their comment. The comment author’s name then becomes a link to that website wherever it appears on your site. This plugin removes… Continue reading Disable comment author links in WordPress
Add content to the bottom of every WordPress post
Bottom of every post is a WordPress plugin I wrote in July of 2011. This plugin is a simple filter that adds some content to the bottom of each post. I thought for sure a plugin like this would already exist, and I was surprised to find a few very complex solutions with way more… Continue reading Add content to the bottom of every WordPress post
“Time ago” formatting in ASP classic
Today, I needed to convert a time stamp like “1/25/2011 10:42:11 AM” to a readable sentence format like “2 months and 6 hours ago.” Here’s the code I came up with: function timeAgo( byval time ) sentence = “” hits = 0 piecesAgo = array( 0, 0, 0, 0, 0, 0 ) piecesTotals = array(… Continue reading “Time ago” formatting in ASP classic
Export comments WordPress plugin
I launched a new WordPress plugin to export a blog’s comments. Specifically, this plugin creates a tab-delimited text version of the wp_comments database table. Options include approved, pending or spam (or any combination of) comments. This page will soon expand. For now… Download this plugin from WordPress.org
WordPress comment paging creates duplicate content
I learned something today about WordPress that I would like to share. The “break comments into pages” feature can create duplicate content for all posts that have only a single page of comments. I made this graphic to explain exactly what happens.
Landing page triggers WP plugin free version
This plugin redirects users of your WordPress website to any page you like after they publish a new post or log out. You can provide any URL, so the page can even be on a different website altogether. Landing pages can help coordinate, congratulate or incentivize users who are already interacting with your website. I… Continue reading Landing page triggers WP plugin free version
WP Plugin: Recent comments widget with excerpts
I wrote a WordPress plugin to modify the behavior of the recent comments widget. Since WP version 2.8.0, popular widgets have been included as core functionality. I don’t like how the recent comments widget works, so I changed it. Instead of displaying the post titles that received comments, my plugin shows comment excerpts. I made… Continue reading WP Plugin: Recent comments widget with excerpts
Disable WordPress New User Email Notification
When a new user creates an account on a wordpress.org blog, the administrator is sent a notification email. Websites that have a large number of signups each day can generate a lot of emails announcing each new user. I wrote a simple WordPress plugin to disable the new user notification email. Visit this plugin’s page… Continue reading Disable WordPress New User Email Notification
WordPress Sidebar Stats Widget
I wrote a WordPress plugin that displays a small collection of site stats in a sidebar widget. Here is a screen shot of sample output: Widget options screen shot The widget includes a control panel to change the title and format the HTML that is inserted before and after each numerical stat. Installation Instructions Download… Continue reading WordPress Sidebar Stats Widget
Clear default text from input boxes using Javascript
Providing labels is a great way to help users interact with your website properly. I like to put instructional text inside text boxes to save space. Users get annoyed when the text inside the box they click on does not disappear when they are ready to type. Users do not want to backspace default instructional… Continue reading Clear default text from input boxes using Javascript
Get Longitude and Latitude from Bing Maps
To get longitude and latitude coordinates from Bing Maps, follow these steps: Position the map center on your point of interest Type this into your web browser’s address bar: javascript:map.GetCenter() Hit enter or click an appropriate button to query the address If you are using a browser with a lot of built-in security roadblocks like… Continue reading Get Longitude and Latitude from Bing Maps
Why are craigslist ads flagged flowchart
Today, I made a simple flowchart to describe how and why craigslist ads are flagged and removed. http://www.gliffy.com/publish/1892404/