Closed lukejanicke closed 8 years ago
Just can’t get Font Awesome icons to work.
require_once dirname( FILE ) . '/includes/custom-post-type.php';
$args['name'] = 'Listings';
$args['labels'] = array( 'singular' => 'Listing', 'plural' => 'Listings', 'menu' => 'Listings' );
$args['options'] = array( 'public' => true, 'hierarchical' => false, 'supports' => array( 'title', 'editor', 'thumbnail' ), 'has_archive' => true );
$args['menu_icon'] = 'f00b'; // Font Awesome Unicode
$args['help'] = array( array( 'message' => '' ), array( 'context' => 'edit', 'message' => '' ) );
Custom_Post_Type::get_font_awesome();
$Listings = new Custom_Post_Type( $args );
I have no idea what I was trying to do here. Closing.
Just can’t get Font Awesome icons to work.
require_once dirname( FILE ) . '/includes/custom-post-type.php';
$args['name'] = 'Listings';
$args['labels'] = array( 'singular' => 'Listing', 'plural' => 'Listings', 'menu' => 'Listings' );
$args['options'] = array( 'public' => true, 'hierarchical' => false, 'supports' => array( 'title', 'editor', 'thumbnail' ), 'has_archive' => true );
$args['menu_icon'] = 'f00b'; // Font Awesome Unicode
$args['help'] = array( array( 'message' => '' ), array( 'context' => 'edit', 'message' => '' ) );
Custom_Post_Type::get_font_awesome();
$Listings = new Custom_Post_Type( $args );