Stop wordpress from requesting external jquery from googleapi

WordPress doesn’t use externally hosted jQuery. In fact, as far as I’m aware, WordPress core does not register any externally hosted scripts. WordPress bundles its own version of jQuery, and you can enqueue the bundled version by just enqueueing the handle jquery: wp_enqueue_script( ‘jquery’ ); Or by specifying ‘jquery’ as a dependency: wp_enqueue_script( ‘my-script’, ‘/path/to/my-script.js’, … Read more

Any idea why Google not caching my site? [closed]

I looked at the source code of the site and found this: <meta name=”robots” content=”noodp,noydir,noarchive,nosnippet”/> Apparently noarchive tells Google to not cache the page. Check out Google Webmaster Tools documentation/guidelines for “Meta tags” for more info on what each value does. PS: If you are unaware, nosnippet should also be removed as it “prevents a … Read more

Code syntax error, “userfullName undefined”

You are missing the ‘echo’ userfullName = <?php $current_user->display_name;?> should be var userfullName = “<?php echo $current_user->display_name;?>” AND notice that I put quotes around that too. BUT!!!! You should really look at using wp_localize_script for declaring javascript variables. Example: add_action(‘wp_enqueue_scripts’, ‘fobu_front_scripts’); function fobu_front_scripts() { global $blog_id; $params = array( ‘site_url’ => site_url(), ‘blog_id’ => $blog_id … Read more

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