Adding Font Awesome to WP Plugin

Did you create wp-plug-in/wp-plug-in.php file in plugins folder and added this following code. <?php /** * Plugin Name: Load FontAwesome * Version: 1.0 */ /* Exit if accessed directly */ if ( ! defined( ‘ABSPATH’ ) ) exit; function wp_styles() { wp_register_style( ‘font-awesome’, plugins_url( ‘wp-plug-in/css/font-awesome.min.css’ ) ); wp_enqueue_style( ‘font-awesome’ ); } add_action( ‘wp_enqueue_scripts’, ‘wp_styles’ ); … Read more

Add content to footer – above wp_footer

AFAIK there is no fail safe way to implement this into all available themes through a plugin, and IMHO, I really think this is more theme territory than plugin territory, but as I said, that is only my opinion. The big problem here is that no plugin (not even you) will ever know what markup … Read more