WP-Genius

Theme Name: WP-Genius
Theme Version: 1.0
Summary: Doesn’t use WordPress conventions.

The Problems

1. Doesn’t enqueue scripts

The WP-Genius theme doesn’t enqueue Javascript scripts using the wp_enqueue_script function. The theme simply injects SCRIPT tags into the head of the WordPress site. These scripts are placed in the header.php file of the theme.

2. Uses a custom version of jQuery

The theme doesn’t use the jQuery script distributed with WordPress and simply includes it’s own, custom jQuery version which is not appropriate. This is in the header.php file of the theme.

3. Doesn’t use the jQuery object

The theme uses the jQuery dollar ($) object instead of the correct jQuery object. This is in the header.php file of the theme and also in the js/slideshow.js file of the theme.

 

Shares

Web & Email Hosting

Get the best web & email hosting for speed, security and peace of mind. No restrictions, freedom to do what you need in order to run your business.

Host Now

Pin It on Pinterest

%d bloggers like this: