how to fix loading scripts in child theme?

You are using a child theme here, it means that you should use get_stylesheet_directory_uri() to get the child theme’s directory. So, in your case, get_stylesheet_directory_uri() will return: localhost:8888/wp-content/themes/x-child/ and get_template_directory_uri() will return: localhost:8888/wp-content/themes/x/ Use this to build your paths. Also, pay attention that you need to include a forward slash before your style/script’s name, since … Read more

I need to ‘wp_dequeue_script’ and ‘styles’ and ADD a bunch of other css and js

Using wp_enqueue_scripts You should use a proper hook to enqueue/dequeue your scripts, to ensure that it works flawlessly. A proper plugin/theme uses wp_enqueue_scripts to do this, so you should do the same. Wrap your code inside a function, and bind it to this action hook. Also, remember to set the priority to something that makes … Read more

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