Description
Display all the genericons that are available.Note: There will be duplicates with dashicons
Usage
bw_genericons_example();Parameters
Returns
voidSource
File name: oik-bob-bing-wide/shortcodes/oik-dash.phpLines:
1 to 18 of 18
function bw_genericons_example() { oik_require( "shortcodes/oik-gener.php", "oik-bob-bing-wide" ); $icons = bw_list_genericons(); $class = null; if ( !wp_style_is( 'genericons', 'registered' ) ) { wp_register_style( 'genericons', oik_url( 'css/genericons/genericons.css' ), false ); } wp_enqueue_style( 'genericons' ); asort( $icons ); h3( "font=genericons" ); foreach ( $icons as $icon ) { sdiv( "inline" ); span( "genericon genericon-$icon $class", null, kv( "text", $icon) ); epan(); e( $icon ); ediv(); } }View on GitHub
Invoked by
Calls
1 to 8 of 8
Call hooks
API Letters:
