Author: corey
-
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…
-
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…
-
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…
-
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…
-
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…
-
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…
-
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/
-
Classic ASP and Server.GetLastError in IIS7
My classic ASP error logging scripts were dead in the water when I moved them to a Windows Server 2008 with IIS 7.0. Some code like this is useful to record errors in a database: dim objErrorInfo, errorStringStr set objErrorInfo = Server.GetLastError errorStringStr = objErrorInfo.File & “, line: ” & objErrorInfo.Line & “, error: “…
-
I made a Keyword Multiplier
While revamping a PPC advertising account last week, I discovered the lack of a convenient keyword multiplier. I am sure there is some fancy pants way of combining keyword lists in a spreadsheet application, but I find no fun in writing macros for some piece of software. I installed the Google Adwords desktop editor because…
-
Disguise Email Addresses for online publishing
Disguise your email address or any text with this character obfuscation. This code corey@example.com will show up on a web page as [email protected]. You can share your email address without worrying that it will be collected by a spam bot. Enter some plain text Obfuscate Some losers send spam email for a living, and will…