How to Disable Gutenberg and Keep the Classic Editor in WordPress Install and activate the Classic Editor plugin. Go to the Settings » Writing page… Read More →
Adding a jQuery Library to Magento 2
May 12, 2022
Here is a step-by-step process for adding a jQuery library to Magento 2: Download the jQuery library file from a reliable source, such as the… Read More →
How to use jquery library in Magento 2?
May 12, 2022
Use jquery library in Magento 2 require([‘jquery’, ‘jquery/ui’], function($){ //your js code here }); Example require([‘jquery’, ‘jquery/ui’], function($){ jQuery(document).ready( function() { alert(“Hello”); }); });
Unix zip directory but excluded specific subdirectories Use the following code on terminal zip -r myarchive.zip dir1 -x “dir1/ignoreDir1/” “dir1/ignoreDir2/“
Magento 2 Migration Warning: SessionHandler::read(): Open app/etc/env.php ‘session’ => array ( ‘save’ => ‘files’ ), to ‘session’ => array ( ‘save’ => ‘db’ ),
How to make get_header() call a custom header file located in a sub-folder of the theme on WordPress ?
May 9, 2022
How to make get_header() call a custom header on WordPress Create header like the following – header-custom.php And call it like this – get_header(‘custom’);
