Author:

Dear Drupal: Season’s Greetings. Love, Smashing WordPress.

Every day I work with WordPress in one way or another. My Twitter feed is full of WordPress types, and I’m a regular at my local WordPress meetup. I’m a WordPress fan. The developer across the hall from me works with Joomla. His Twitter feed is full of Joomla types, and he uses the CMS every day. It wouldn’t surprise me to learn that he attends the local Joomla user group. He’s a Joomla fan.

Drupal and WordPress

The White House hosts a number of Web developers who use Drupal every day. Their Twitter feeds are probably full of Drupal types, and some may well attend the Washington DC Drupal meetup. They are Drupal fans.

Read more...

The Developer’s Guide To Conflict-Free JavaScript And CSS In WordPress

Imagine you’re playing the latest hash-tag game on Twitter when you see this friendly tweet: "You might want to check your #WP site. It includes two copies of jQuery. Nothing’s broken, but loading time will be slower."

sm-wp-css-js

You check your source code, and sure enough you see this:

<script src="/wp-includes/js/jquery/jquery.js?ver=1.6.1" type="text/javascript"></script>
<script src="http://media.mediatemple.netdna-cdn.com/wp-content/plugins/some-plugin/jquery.js"></script>

What went wrong? The first copy of jQuery is included the WordPress way, while some-plugin includes jQuery as you would on a static HTML page. A number of JavaScript frameworks are included in WordPress by default.

Read more...
1

↑ Back to top