brandonpeatasher
Forum Replies Created
-
Forum: Plugins
In reply to: [Font Awesome] font-awesome-svg-styles generating 404 error@mlwilkerson Perfect, will do. Thanks!
Forum: Plugins
In reply to: [Font Awesome] font-awesome-svg-styles generating 404 errorI’d infer, then, that this hook is still firing on your site, even though you don’t use the block editor.
Correct. I’ve dequeued Gutenberg stuff manually with the below, so possibly there’s something I should be doing differently/additionally so the FA call fires correctly?
add_filter('use_block_editor_for_post', '__return_false', 10);
add_filter('use_block_editor_for_post_type', '__return_false', 10);
function deregister_gutenberg() {
wp_dequeue_style( 'classic-theme-styles' );
wp_dequeue_style( 'global-styles' );
wp_dequeue_style( 'wp-block-library' );
}
add_action( 'wp_enqueue_scripts', 'deregister_gutenberg', 11 );Forum: Plugins
In reply to: [Font Awesome] font-awesome-svg-styles generating 404 error@mlwilkerson Not that I could see!
Forum: Plugins
In reply to: [Font Awesome] font-awesome-svg-styles generating 404 error@mlwilkerson I don’t use the block editor so I don’t believe I’ll need that. It would be ideal if this tied into some of the global Gutenberg flags so it would only be enqueued conditionally, but I’m not sure if that’s really practical on your end. I can implement on ours easily enough. Thanks!
Looks like that did it! Thanks for the weekend work!!
Hey, just knowing I’m not a moron is a start! Thanks for looking into it, lemme know what you find.
Hmm, that didn’t do it. Here’s the icon in question. This is the SVG I get from the kit when I download it. I have others that look similar in code and also throw errors in the plugin.
<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 80V432a48 48 0 0 0 48 48H464a48 48 0 0 0 48-48V80a48 48 0 0 0 -48-48H48A48 48 0 0 0 0 80zM320 64V170.7H192V64zM480 309.3H352V202.7H480zM32 202.7H160V309.3H32zM160 64V170.7H32V80A16 16 0 0 1 48 64zM32 432V341.3H160V448H48A16 16 0 0 1 32 432zm160 16V341.3H320V448zm160 0V341.3H480V432a16 16 0 0 1 -16 16zM480 170.7H352V64H464a16 16 0 0 1 16 16z"/></svg>
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] Import stuckThat worked for me! Didn’t know about the backup upload method, will definitely try that in the future if I run into the problem again. Thanks!