Here are a few very quick and dirty plugins I created for WordPress. They are very simple and were made for my own use so those that need configuration have no settings pages, you will have to edit the plugin file manually, not that they require much in the way of configuration.
I don’t have the time to offer any support on these but I thought they might be useful to someone.
Google Latitude Shortcode
Add your Google Latitude location using a WordPress shortcode.
Installation:
First activate the public location badge (I have it set for city-level only) and then replace 00000000000 in the plugin file with your latitude user id which can be found in the links in the “Developer information” section at the bottom of that page.
To show your location in a wordpress page or article enter the shortcode [latitudeloc]
You will also need to update your location using latitude of course.
Example: Latitude currently says I am in Warrington, UK.
Download: google_latitude_short_code.php
Short URL Auto-Discovery Header
Adds a rel=”shorturl” short URL auto-discovery header to your blog pages and articles.
If you have an alternate URL for your blog that is shorter than your main one this plugin allows you to add a shorturl auto-discovery link of the form <link rel=”shorturl” href=”http://short.url/p1234″ /> in the <head> section of your blog.
For more info on Short URL auto-discovery here.
Installation:
Open the plugin file and change the http://short.url link for your short domain and add the following to the .htaccess file on your short domain changing http://your.long.url for your blogs long url:
RewriteEngine On
RewriteCond %{REQUEST_URI} \/p([0-9]+)$ [NC]
RewriteRule ^(.*) http://your.long.url/?p=%1 [R=301,L]
Upload the plugin file to your plugins directory and activate it.
Example: View the source of this page and you will see the rel=”shorturl” link is http://zorg.org/p1164 which redirects to this page. If you are wondering why the p is included, it is identify it as a wordpress page as I also use other short url redirects on that domain.
Download: short_url_auto-discovery_header.php
QR-Code-Link
Add a WordPress widget with a link to a QR Code for the current page as seen on the left of this page. Uses Google Chart API to generate the QR code.
Installation:
Just upload the plugin file to your plugins directory, activate it and install the widget.
Example: There is one on the left of this page just below the Links block.
Download: qrcode.php




Most Popular