Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kishores

    (@kishores)

    Thanks for your suggestion. May be in next version soon 🙂

    Plugin Author Kishores

    (@kishores)

    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

    Plugin Author Kishores

    (@kishores)

    thanks I will check.. I’m very very busy these days. I will try to improve this

    Plugin Author Kishores

    (@kishores)

    // 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

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Updated Font Libraries’ is closed to new replies.