How to stop PHP code running when in a child theme

You can’t actually “remove” PHP code from the parent theme. What you can do is undo things done there. The counterpart of wp_enqueue_script is wp_dequeue_script. If you put this in your functions.php it should remove the Masonry Plugin (untested) add_action( ‘wp_print_scripts’, ‘de_script’, 100 ); function de_script() { wp_dequeue_script( ‘jquery-masonry’ ); } Source: Function Reference/wp dequeue … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)