Moving jQuery to footer from header

The proper way to wp_enqueue_script is : wp_enqueue_script(‘jquery’, get_template_directory_uri() . ‘/js/jquery.js’, array(), ‘1.11.3’, true); The last parameter is $in_footer set it true which will insert the script into the footer. Note: You don’t need to include jquery bcz by default it is added in WordPress.

Site downloads files instead of loading them

Sounds to me like PHP is not running on your system, or (perhaps) an older version of PHP. But you can check PHP status by creating a simple PHP file with the command phpinfo(); in it and loading that page in your browser. That should show you the current settings of PHP, if it is … Read more

What is this error message?

If you already have the files sitemap.xml and (if you have gzip enabled in Simple Google Sitemap) sitemap.xml.gz in the root directory of your WordPress installation, try deleting them and create new empty files with the correct permissions for that plugin, then manually run the sitemap generator. If these files don’t exist, try creating the … Read more

How to troubleshoot WordPress issues? [duplicate]

There are a few things you can do: Use the Debug Bar plugin http://wordpress.org/extend/plugins/debug-bar/ Set WP_DEBUG to true in your wp-config.php file if you are looking for problems in a theme or plugin I created a plugin that allows you to dump any variable into the Debug Bar plugin: http://wordpress.org/extend/plugins/kint-debugger/ You should look at the … Read more

Why is WordPress filtering Pastebin URL’s

Short answer: No, WordPress doesn’t care about pastebin in particular and doesn’t do any sort of filtering like you’re describing. Long answer: Your host is doing it. Step 1: Ask your host if they have mod_security enabled and what their filtering rules are. Step 2: Try pasting the same link via a comment or something. … Read more

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