Conversation
supportIt looks like this is using Font Awesome 4.0.3. Any chance this could be updated to use Font Awesome 4.1? https://wordpress.org/plugins/post-featured-font-icon/
Thanks for your suggestion. May be in next version soon 🙂
Thanks for your suggestion. May be in next version soon 🙂
Dear Kishores, Thanks for your plugin which works well as it is. To add more on Garth request I looked forward and discovered that the plugin is loading the fontawsome css from the plugin so I tweaked the post-featured-font-icon.php file to ask both icon_picker_scripts() and load_icon_style_scripts() to pick up the css file from the source at //maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css and it works well. Then I realized that the new icons where still not showing up in the list then I had to tweak the incon-picker.js to add in the icon list the icon name I was expecting to use and it works as expected 🙂 As you see I’m a tweaker, not a developper so I’m not going to share my crappy version of your plugin 😉 but perhaps it should be nice if the next version should be both using the last css from fontawsome and the list self updating from “I dont know where” 🙂 Last suggestion : if we could have an admin page to select the custom post type it may avoid the manual update witch is risky from updating the plugin. I hope that my english is understandable enough for my post to be usefull, Cheers, Vincent
thanks I will check.. I’m very very busy these days. I will try to improve this
// Our filter callback function function icon_post_type_callback( $types ) { $types = array(‘post’, ‘page’, ‘product’); return $types; } add_filter( ‘icon_post_type’, ‘icon_post_type_callback’, 10, 1 ); for custom post types
Thanks for your suggestion. May be in next version soon 🙂
Thanks for your suggestion. May be in next version soon 🙂
Dear Kishores, Thanks for your plugin which works well as it is. To add more on Garth request I looked forward and discovered that the plugin is loading the fontawsome css from the plugin so I tweaked the post-featured-font-icon.php file to ask both icon_picker_scripts() and load_icon_style_scripts() to pick up the css file from the source at //maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css and it works well. Then I realized that the new icons where still not showing up in the list then I had to tweak the incon-picker.js to add in the icon list the icon name I was expecting to use and it works as expected 🙂 As you see I’m a tweaker, not a developper so I’m not going to share my crappy version of your plugin 😉 but perhaps it should be nice if the next version should be both using the last css from fontawsome and the list self updating from “I dont know where” 🙂 Last suggestion : if we could have an admin page to select the custom post type it may avoid the manual update witch is risky from updating the plugin. I hope that my english is understandable enough for my post to be usefull, Cheers, Vincent
thanks I will check.. I’m very very busy these days. I will try to improve this
// Our filter callback function function icon_post_type_callback( $types ) { $types = array(‘post’, ‘page’, ‘product’); return $types; } add_filter( ‘icon_post_type’, ‘icon_post_type_callback’, 10, 1 ); for custom post types