My CSS suddenly doesn’t load anymore [closed]

You should remove an additional } on line 18. Try the following <?php if (!function_exists(‘understrap_scripts’)) { /** * Load theme’s JavaScript and CSS sources. */ function understrap_scripts() { // Get the theme data. $the_theme = wp_get_theme(); $theme_version = $the_theme->get(‘Version’); wp_enqueue_style(‘slider-slider-styles’, ‘https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css’); wp_enqueue_style(‘lity-style’, ‘https://cdnjs.cloudflare.com/ajax/libs/lity/2.4.1/lity.min.css’); $css_version = $theme_version . ‘.’ . filemtime(get_template_directory() . ‘/css/theme.min.css’); wp_enqueue_style(‘understrap-styles’, get_stylesheet_directory_uri() . … Read more

Error missing MySQL extension

The solution to this will require server level changes, this isn’t something you can fix by changing PHP files. Your host needs to install the mysqli PHP extension

Code snippet to display ID gives critical error

Unfortunately you can’t just copy code that plays a completely different role and replace users with posts and somehow expect this to do what you want it. The reason you get a fatal error is because you’re passing in too many arguments (3) to the filter, when there are only 2 supplied. Here’s the code … Read more

Problem in logging in as admin

My first recommendation would be to delete or rename your .htaccess file. That file is what contains the guts of WordPress’ redirection engine. And that’s also the only thing that could be redirecting from the login. WordPress redirects virtual URLs to http://blog.url/index.php so that the blog can serve up content. But the admin dashboard and … Read more