MD Jamil Uddin
Forum Replies Created
-
@maulwurf2k3, the origin of the “Editor CSS” file that has been enqueued is uncertain, but it’s possible that it may have been included by a plugin or a theme. To investigate further, you can try deactivating your plugins one by one and checking the source of your frontend to pinpoint where the file is coming from. You can also try changing the theme to see if the file is loaded from there. Once you’ve identified the source, you can contact the plugin or theme author for further assistance.
However, I am sharing a code to disable loading the file. Please note that disabling the file could potentially break the design if there is anything dependent on this file. Please copy the code below and paste it into your theme’s functions.php file:
function technikkurse_remove_editor_css() { if ( ! is_admin() ) { wp_dequeue_style( 'wp-editor' ); } } add_action( 'wp_print_scripts', 'technikkurse_remove_editor_css', 99 );
Hey @maulwurf2k3,
I noticed that @arrasel403 has provided a great solution that should work perfectly for your needs. One thing to keep in mind is that loading the “Editor CSS” file (https://d.pr/i/T3TR0q) on the frontend can sometimes cause issues with other blocks as well. To avoid any potential problems, it might be better not to enqueue the editor css file on the frontend.
Hope this helps!
- This reply was modified 1 year, 7 months ago by MD Jamil Uddin.
Hi!
Thanks for informing the issue. We already taken care of this issue and this will be updated in the next release.Hi @oaz , Thanks for using Essential Blocks for Gutenberg Plugin. Looks like, you are enjoying our plugin.
You can insert multiple blocks in Toggle Content Block by adding our wrapper block. First insert the Toggle Content Block, then insert Wrapper Block in content area and then you can insert multiple blocks inside wrapper.
Forum: Themes and Templates
In reply to: [Flexia] Full width images with boxed paragraphHi,
Thanks for using flexia. You will be happy to know we have an excellent Gutenberg blocks plugin which will solve your problem along with flexia.Plugin URL: https://www.ads-software.com/plugins/essential-blocks/
To solve the problem, use No Container | Header, Footer Page Template. Then use Wrapper Block of Essential Blocks for non-fullwidth content and use blocks directly for full width.
- This reply was modified 3 years, 1 month ago by MD Jamil Uddin.
Forum: Themes and Templates
In reply to: [Flexia] How to include a .js in header or footer of your theme?Hi,
You can add custom scripts in multiple ways.1. The code you applied is almost okay. Please try this code for perfect output:
var script = document.createElement('script'); script.src = "https://yourdomain.com/filepath/myfile.js"; document.head.appendChild(script);
2. Copy the code from your “myfile.js” and paste it in Customizer->Custom Javascript->Header Script/Footer Script. You don’t need to use any <script></script> tag.
3. You can Enqueue JS script in WordPress way. Create a child theme from https://flexia.pro/child-theme and activate the theme. Open functions.php file from the theme folder. Add this php code:
wp_enqueue_script( 'myfile-js', get_stylesheet_directory_uri() . 'myfile.js', array( 'jquery' ), 1.0.0 );