Project Release
It’s with GREAT pleasure that I make the announcement of releasing my latest project: Content Icons Plugin for WordPress 2.7.
What is it?
Simply put, Content Icons is a tool that an author can use to assign “icons” or “images” to individual posts… similar in idea to having Topic Icons. However, biggest difference being, topic icons only display icons that are related or associated with the category (Hence Topic Icon). Content Icons allows author to assign icons such that a reader can readily make an association with the post.
This being the first release of this project, it’s been given version 0.1. Please don’t let the version number deceit you. It has packed with a lot of features (look below for a list of features). However, it is my coding convention that my first ever release of any project starts with 0.1, and increments to 0.5 for the next release, and finally to 1.0, 2.0, etc. with every subsequent release (barring any minor updates).
Features:
- No Fuss Install: Simply upload your icons into the upload directory at:
- Preview Selected Icon
- Display Currently Selected Icon
- No Unnecessary DB Entries: i.e., The plugin will not make any revision/auto-save related entries. it will make entries only that is related to the current post.
ROOT/wp-content/uploads/cicons
Enough… Show Me the Needed Info!
Questions? Comments? Critiques?
Please post all your questions/comments/critiques below, in the comment. I will try and set the forums up, but till then, this will suffice.
Enjoy!
Popularity: 87% [?]
Our Random Articles
- Readability Meter Plugin v0.2 Release
- RoboDown: RapidShare Downloader Beta Public Release
- Readability Meter Plugin Release
- UCJS - Databases Project Made Public
- 3C - Senior Design Lab Project Made Public
More Links
6 Comments
Hi,
Your plugin is cool & I’m glad you use my plugin !
Hi there,
Your plugin provides some very useful features. For my blog’s theme, it’s more useful for me to have a library function to call up the icon of a given post. I therefore commented out the ‘the_content’ hook, and added the following function:
/**
** Function: actually grab the url of the selected icon. Takes either a post ID or a post object. By Jay.
**/
function get_content_icon_src($post, $default='')
{
$iconsrc = $default;
if(is_object($post))
$postid = $post->ID;
else
$postid = $post;
if(is_numeric($postid))
{
global $wpdb;
$icon_name = $wpdb->get_results("SELECT icon_name FROM `$wpdb->cicons` WHERE `post_id` = $postid");
if($icon_name)
$iconsrc = cicons_url().get_upload_path().'/'.$icon_name[0]->icon_name;
}
return $iconsrc;
}
@Mr. Sub:
Thank you… Your work has been an inspiration!
@Mr. Jayferd:
Glad my plugin has been of use towards your site! That’s a cool mod you did… Whenever I release a new version to this plugin, I will reference your comment, so other users can do a similar solution, if they need to.
Thank you!
I have installed it, assigned a icon to a post, but where is it suppose to show up?
I cant see the icon nowhere.
Thanks
@Mr. Erik,
Did you follow the installation/usage instructions? If so, I would like to know more details:
- what version of wordpress are you using?
- where are you uploading your images/icons to?
- what are the permissions on the upload folder?
Trackback & Pingback
Popular Articles