mickeykay / better-font-awesome Goto Github PK
View Code? Open in Web Editor NEW[WordPress] A WordPress plugin that allows you to easily integrate the latest version of FontAwesome.
License: GNU General Public License v2.0
[WordPress] A WordPress plugin that allows you to easily integrate the latest version of FontAwesome.
License: GNU General Public License v2.0
Hi!
With WordPress 5+ and the "jQuery Migrate Helper plugin" active, the Helper plugin indicates that Better Font Awesome is dependent on the jQuery "ready" event. The error I get is...
/plugins/better-font-awesome/vendor/mickey-kay/better-font-awesome-library/js/admin.js:11:19: 'ready' event is deprecated
If line 11 in that file is replaced with
jQuery(function(){
I believe that all will be fine.
I hope that you can update your plugin quickly!
Thanks!
Switch to a Grunt/Composer flow for including dependencies including:
Hi Mickey,
I did Basic Testing of your plugin running WP 3.9.1, twentyfourteen and genesis sample theme, all works fine with no issues - I also concurrently ran the plugin "WordPress Visual Icon Fonts" and both worked alongside each other.
Multiple classes applied to the icons works well with the 'fa-' prefix.
For bonus testing, I ran the plugin on WordPress 4.0-beta2-20140805 via VVV - again no issues.
The icon preview area is slightly larger in the visual editor which is a good thing.
Good job!
In the latest WP plugin v1.7.4 api.jsdelivr.com is still used.
Please consider releasing a new version.
Thank you.
The problem is that the BFAL is initializing on plugins_loaded
but BFAL isn't initializing actual data until after_setup_theme
. In the case of the Advanced Custom Fields Font Awesome plugin, the included BFAL library is being included on a hook right between the two, which means it's trying to grab icon data before any of it is initialized.
Status
init
(should'a done this from the very beginning - doh)To Do
Hi again,
I've updated with the 1.02 version then I've added my better-font-awesome-fr_FR.mo but still no translation.
I can send my po/mo files to you if you want, just tell me where.
regards
Hi Mickey,
Checkout the $shortcode_tags global variable.
<?php
global $shortcode_tags;
echo '<pre>';
print_r($shortcode_tags);
echo '</pre>';
?>
There are almost 3000 lines of bfa-code in there.
I'm guessing it impacts performance quite a bit. Is it possible to trim this down a bit?
https://github.com/MickeyKay/better-font-awesome/releases
Please advise.
@MickeyKay if you add the header GitHub Branch: testing
to the testing
branch then your beta testers will get automatic updates if they have the GitHub Updater plugin installed. ๐
Make sure your master
branch either doesn't have this setting or it's set to GitHub Branch: master
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.