Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Known request that I haven’t found time to get to. It’ll be part of the 0.9 release which has no tentative release date sadly.

    Where does the custom post type info get stored and accessed from? Is there a functions.php file within the plugin that I could add in the ‘menu-icon’ => line?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    We store the chosen settings as an option in the wp_options table and then just use that information to loop and register as necessary, so no files like you ask about for it.

    At best, as is, you’ll have to use the “Get code” link in your CPT list screen and copy/paste it into your own functions.php file.

    Hi. I just noticed this was added, but I can’t find what functionality is actually new. Could you post a screenshot?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    It’s a change I made to the sanitization that occurs with the “menu icon” field, so no new fields were added to it. Before we were only accepting URLs in the “menu icon” spot, now we’re accepting the classes needed for the dashicons

    See more at http://melchoyce.github.io/dashicons/ and http://make.wordpress.org/core/2014/04/16/dashicons-in-wordpress-3-9/

    With the first link, the class to use is the text above the “copy css”, “copy html” etc. For instance, the very first one shown is “dashicons-menu” and so on.

    Hope that clears up your question.

    @michael Works perfectly! Thanks a lot for implementation as well as the explanation!

    Awesome, thanks.

    Thread Starter digitalfaber

    (@digitalfaber)

    Great job Michael, thank you very much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Dashicon Support’ is closed to new replies.