What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-01 00:51:25
disable oceanwp lightbox
/** * Disable the Lightbox scripts */ function my_enqueue_scripts() { // Unregister JS files wp_deregister_script( 'magnific-popup' ); wp_deregister_script( 'oceanwp-lightbox' ); // Unregister CSS file wp_deregister_style( 'magnific-popup' ); } ... Add solution -
Shell/Bash 2022-01-31 15:56:43
how to use sass in react without eject
#### Using sass in react without ejecting #1.First install node-sass npm i --save-dev node-sass #2.Then install npm-run-all npm install --save npm-run-all #Then change the scripts of package.json: # "scripts": { # "build-css": &... Add solution -
Other 2022-01-31 12:41:03
wordpress debug mode
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );... Add solution -
PHP 2022-01-31 00:26:02
wp debug
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );... Add solution -
CSS 2022-01-29 21:06:02
background image in css is not working
.container { background-image: url("img/rose.jpg"); height: 800px; } /* Check Path to image, in this case, its in a folder called img */ /* Check if you Linked your css File on your header, you Link it in the Header like this <link re... Add solution -
Javascript 2022-01-23 09:10:29
js document on load
//two ways of executing JS code after page is loaded, use "DOMContentLoaded" when able document.addEventListener("DOMContentLoaded", function(){ //dom is fully loaded, but maybe waiting on images & css files }); window.... Add solution