Proposition and petition for new function
-
I have proposition and petition.
I added font-awecome.css to me theme.
After some time added plugin and seen that plugin add font-awecome.css too.I think in WordPress need function that check list of registered style.
In theme and/or in plugins developer can use some like this:
if( !has_enqueue_style('font-awecome') ){ wp_enqueue_style('font-awecome', get_template_directory_uri() . '/css/font-awesome.min.css'); }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Proposition and petition for new function’ is closed to new replies.