mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Incorporate Better Font Awesome Library in /lib.
This commit is contained in:
@@ -27,6 +27,9 @@ require_once dirname( __FILE__ ) . '/includes/widget-areas/widget-areas.php';
|
||||
// Plugin activation class
|
||||
require_once dirname( __FILE__ ) . '/includes/classes/class-tgm-plugin-activation.php';
|
||||
|
||||
// Better Font Awesome Library
|
||||
require_once dirname( __FILE__ ) . '/lib/better-font-awesome-library/better-font-awesome-library.php';
|
||||
|
||||
|
||||
add_action( 'genesis_setup' ,'trestle_theme_setup', 15 );
|
||||
/**
|
||||
|
||||
@@ -9,6 +9,34 @@
|
||||
* @package Trestle
|
||||
*/
|
||||
|
||||
/*===========================================
|
||||
* 3rd Party Libraries
|
||||
===========================================*/
|
||||
|
||||
add_action( 'init', 'trestle_load_bfa' );
|
||||
/**
|
||||
* Initialize the Better Font Awesome Library.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
function trestle_load_bfa() {
|
||||
|
||||
// Set the library initialization args
|
||||
$args = array(
|
||||
'version' => 'latest',
|
||||
'minified' => true,
|
||||
'remove_existing_fa' => false,
|
||||
'load_styles' => true,
|
||||
'load_admin_styles' => true,
|
||||
'load_shortcode' => true,
|
||||
'load_tinymce_plugin' => true,
|
||||
);
|
||||
|
||||
// Initialize the Better Font Awesome Library.
|
||||
Better_Font_Awesome_Library::get_instance( $args );
|
||||
|
||||
}
|
||||
|
||||
/*===========================================
|
||||
* Header
|
||||
===========================================*/
|
||||
|
||||
Submodule
+1
Submodule lib/better-font-awesome-library added at 9d9be1041d
Reference in New Issue
Block a user