I am releasing version 0.2 of the No Widget Category Cloud WordPress plugin that I have written for use on my site.
Creates a function that can be placed in a wordpress template for a category cloud that exists without the requirement of widgets or a widget ready theme.
I created this plugin after I started using a single column theme that is not widget ready. I found that there were multiple plugin widgets available, but no plugin that would allow me to just place a php function into my theme to display a category cloud.
Some ideas for oter uses of this plugin:
Screenshots
Installation
NOTE: See “Other Notes” for Upgrade and Usage Instructions as well as other pertinent topics.
Requirements
Upgrade
Usage
<?php nw_catcloud(small_size,big_size,size_unit,align,orderby,order,min_posts,hide_empty,title); ?>
small_size = font size, integer (default 75)
big_size = font size, integer (default 200)
size_unit = %, px, pt (default %)
align = left, right, center, justify (default left)
orderby = count, name (default name)
order = asc, desc (default asc)
min_posts = minimum number of posts, integer (default 1)
hide_empty = 0,1 (default 1, 1=yes,0=no)
title = string (This can contain HTML to format the title)
Examples:
<?php nw_catcloud(75,200,'%','left','name','asc',1,1,'<br />
<h2 class="posttitle">Categories</h2>
<p>'); ?>
<?php nw_catcloud(); ?>
Change Log
0.2
To Do
Credit
I’ve got to give credit where credit is due. And that credit goes to Lee Kelleher and his Category Cloud Widget. I used a lot of his code in this plugin modifying it where needed to make it work the way I wanted.
Download
No Widget Category Cloud version 0.2
Please note that the current theme I am using is no longer the one mentioned in this post.
For anyone who has been to this site before you have by no doubt noticed that the look and feel of the site has changed dramatically. After benchmarking page load times on my site and seeing average load times of 11.6 seconds I decided that the way to go was a minimalist look. This new theme has been modified…and yes I will distribute the modified version.
It took me a while to find this theme, Aielman’s SEO Theme, by Uberdose and it was just what this site needed. While it was almost perfect, I needed to have links for my pages which didn’t come with this theme and I needed to make the blogroll look like the page links I had created. There were also some strange formatting issues, no doubt from some of my other modifications, that have been resolved as well.
Average page load times now are around 1.5 seconds.
For the Categories Cloud you see on my Home page see my No Widget Category Cloud WordPress Plugin.
Change Log
0.2
0.2.1
0.2.2
Update:As of February 2, 2009 I will no longer be updating the Polaroid on the Fly WordPress plugin; this plugin is now end of life.
I am releasing version 0.7 of the Polaroid on the Fly plugin.
Creates polaroids of images on the fly for thumbnails in posts. Support for lightbox included. Built on modified Polaroid-o-nizer v0.7.2 sources.
I wanted to mimic the Polaroid look that you can achieve with Google Picasa to add thumbnails to my posts. I found a plugin titled WP-Polaroidonizer that did what I wanted to some extent but it didn’t have the right feel to it.
The other problem I have with Polaroid-o-nizer and WP-Polaroidonizer is the lack of security. When I mention lack of security there is by default no way to restrict external sites and users from generating Polaroid pictures using your installation of Polaroid-o-nizer.
The goal of this plugin was to use rel= style html img tags to transform a simple URL into a Lightbox URL in which there is a thumbnail image in your post which is linked to an image that can be loaded using Lightbox or any of the Lightbox clones/alternatives.
Screenshots
Requirements
Installation
Upgrade
Usage
Create an image link in your post in the following format:
<img src="http://domain.tld/directory/to/image.jpg" rel="polaroid" alt="Picture[album]" />
Be sure to include rel=“polaroid” as this activates the plugin.
If alt=“Picture[album]” is included the portion listed here as Picture will be displayed as the image title in Lightbox and the portion listed as [album] will group multiple pictures into an album called album. The alt tag is not required and if used the [album] portion is not required. Read the Lightbox usage for more details on Titles and albums.
Be sure to place each html img tag on a separate line.
This plugin supports the following image formats: jpg, png, gif
NOTE: Do not use the visual editor for doing the above use the code editor.
FAQ
Q: What Do The Error Messages Mean:
A:
Source image resolution below min (200x200px)
The image referenced in the image tag has a resolution less than 200x200 pixels.Source image resolution above max (2000x2000px)
The image referenced in the image tag has a resolution greater than 2000x2000 pixels.Source URL Incorrect of does not Exist
The URL of the image referenced in the image tag does not exist.Background color is invalid use RGB only
The background color specified on the options page is not a valid 24 bit RGB color. When written, RGB values in 24 bits per pixel (bpp), also known as Truecolor, are commonly specified using three integers between 0 and 255, each representing red, green and blue intensities, in that order. For example:white is 255,255,255
black is 0,0,0
red is 255,0,0
green is 0,255,0
blue is 0,0,255Source image unknown file type (jpg,gif,png only)
You should never see this message. The regex used to find the img tag with rel=“polaroid” will only select img tags including jpg,gif and png. I figured hey why not create a useless image it may come in handy some day.PHP GD Module Not Found. Polaroid on the Fly will not work. See http://us.php.net/gd for installation information.
You need to have the PHP GD Module Installed. This plugin requires the GD module to make the polaroid image. This plugin will not function without this module.PHP GD Module Found. However, it does not include support for GIF. You will not be able to use a GIF for the source image. See http://us.php.net/gd for more information.
You have the PHP GD Module installed but the GD version does not support GIF images. This plugin will still work but you will not be able to use a GIF for the source image.
0.7 (2008-07-31):
- Updated for compatibility with WordPress 2.6 (wp-content and wp-config.php changes).
- Changes to gen-polaroid.php to accommodate Ubuntu PHP GD Packages.
- Updated path to the font ttf file in gen-polaroid.php.
- Output image now in png format instead of jpg.
0.6 (2008-01-23):
- Added ability to opt in to using Lightbox.
- Added option to select how the image will open. (ie. new window, self)
- Added option to specify the hright and width of the thumbnail
- Added option to reset all options to their defaults
- Updated descriptions on the Options page.
0.5 (2007-10-24):
- Added error reporting. Errors will be displayed as a replacement to the image in the post.
- Added images for use when displaying the above errors.
- Added error reporting for GD Module. Errors will be displayed on the options page.
- Added functionality to opt in to using encoded URLs.
- Fixed case sensitvity in regex used to match the img tag (now case insensitive).
- Removed large amounts of uneeded code in the Polaroid-o-nizer script.
- Converted all files to UNIX format.
0.4 (2007-10-03):
- Added options page (Options->Polaroid on the Fly)
- Added functionality to opt in to security restrictions
- Added functionality to not require the use of tinyurl.com and fopen
- Added functionality to display the photo caption using the alt text
- Added support to change the background color from the options page
- Removed requirement for .htaccess
- Renamed the Polaroid-o-nizer files
- Changed references to Polaroid-o-nizer files
0.3 (2007-09-18):
- Initial Public Release
To Do