minit
minit copied to clipboard
A WordPress plugin to combine CSS and Javascript files.
We already have `async`. Can do via filter now: ```php add_filter( 'script_loader_tag', function( $tag, $handle ) { if ( 'minit-js' === $handle && false === strpos( $tag, 'defer' ) )...
Hello - I stumbled upon this plugin looking for a real way to compile both css & js files into single files to reduce the amount of requests being made...
Hi, Thanks for the plugin - unfortunately had to remove it for now as it broke the CSS & I don't have time to fix it at the moment. After...
I am thinking about changing the third parameter to the absolute URL so it better fits its usage.
I want to generate gz files so this action would be great to have.
This PR improves the get_asset_relative_path(...) by using WordPress constants, variables and functions to make it compatible with different types of WordPress configurations and setups (notably WordPress Bedrock).
A link to minit combined styles and javascript is added but the original script/style links are not removed.
I have to change minit-css.php on line 88, because root relative urls were being messed up. this is what i changed: ``` // Make all local asset URLs absolute $content...
Hi @kasparsd, Why not add a Purge Button in the admin bar ??  ``` php add_action('admin_bar_menu', function(){ global $wp_admin_bar; $wp_admin_bar->add_node(array( 'id' => 'minit_purge_button', 'title' => __('Purge Minit', 'minit'), 'parent'...