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

WordPress Plugins

Start selling products, sending newsletters, publishing ads and more through your own WordPress website using our premium WordPress plugins.

Browse

Pin It on Pinterest

%d bloggers like this: