6 Comments

mygif
Submarine Said in Tuesday, June 9th, 2009 @1:33 pm  

Hi,

Your plugin is cool & I’m glad you use my plugin ! :)

mygif
Jayferd Said in Wednesday, June 24th, 2009 @9:33 pm  

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;
}

mygif
RushiKumar Said in Thursday, June 25th, 2009 @5:52 pm  

@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! :)

mygif
Erik Said in Wednesday, July 15th, 2009 @7:09 am  

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

mygif
RushiKumar Said in Sunday, August 16th, 2009 @7:57 am  

@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

  1. Developing Your First WordPress Plugin (for WordPress 2.7) — A Step-by-Step Guide | GuidesForge.com mentioned about this post in Wednesday, January 7th, 2009 @6:14 pm  
Leave Your Comments Here

Popular Articles

Search For Post





Most Popular
Most Feedbacks
Recent Feedbacks
  • RushiKumar in Content Icons Plugin Release
  • RushiKumar in RoboDown: RapidShare Downloader Beta Public Release
  • W. Animal in RoboDown: RapidShare Downloader Beta Public Release
  • Erik in Content Icons Plugin Release
  • RushiKumar in Content Icons Plugin Release
  • Jayferd in Content Icons Plugin Release
  • Submarine in Content Icons Plugin Release
  • RushiKumar in Readability Meter Plugin v0.2 Release
  • RushiKumar in Readability Meter Plugin v0.2 Release
  • RushiKumar in Readability Meter Plugin v0.2 Release

Latest in Announcements

Hello and Welcome!

Welcome to CodingRush! Here, you will find all the major (and even minor) projects that I have worked on in recent history. There are some major ...read more