Custom CSS is overwritten by WordPress?

I do assume you have functions.php file in your theme directory after that you can add following code : /*Section for enqueuing styles and scripts*/ function keyword_theme_styles_and_scripts(){ /* Styles Below */ wp_enqueue_style(‘bootstrap-min-css’, ‘https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css’); wp_enqueue_style(‘video-js-min-css’, get_template_directory_uri().’/assets/css/video-js.min.css’); wp_enqueue_style(‘google-fonts’, ‘https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800’); wp_enqueue_style(‘font-awesome-min-css’, get_template_directory_uri().’/assets/font-awesome/css/font-awesome.min.css’); wp_enqueue_style(‘magnific-popup-css’, get_template_directory_uri().’/assets/css/magnific-popup.css’); wp_enqueue_style(‘animate-min-css’, get_template_directory_uri().’/assets/css/animate.min.css’); wp_enqueue_style(‘device-mockups-min-css’, get_template_directory_uri().’/assets/device-mockups/device-mockups.min.css’); wp_enqueue_style(‘main-css’, get_template_directory_uri().’/style.css’); /* Scripts Below */ wp_enqueue_script(‘jquery-min-js’, get_template_directory_uri().’/assets/js/jquery.min.js’, array(), ”, … Read more

Crawl Errors in Search console

I came across the same problem on my VDS recently. I was running CentOS with CloudLinux (LVE) and it turned out that CloudLinux was at fault. Cloud Linux limits resources available to the account so if you get more visitors and resources end, you would get 500 errors. My solution is to disable any limits … Read more

WordPress won’t save page/post with more than 332 words

I am answering my own question to mark the solution that worked for me. I have moved the site to a different hosting company. All works as expected with no changes made to the site. Still unaware where the problem was. According the the old host, it’s a WordPress issue. Yet again, new host -> … Read more

Fatal error: Call to undefined function wp_add_privacy_policy_content() in /wp-admin/includes/misc.php on line 1822

What I found is the function was defined in wp-admin/includes/plugin.php as mentioned here https://wpseek.com/function/wp_add_privacy_policy_content/ When I opened the plugin.php file of a clean wordpress 4.9.8 version I found the function wp_add_privacy_policy_content() already defined, whereas in my wordpress 4.9.8 version It was missing so I added it back Kindly make sure the function is defined in … Read more