WordPress

WordPress Wins CMS Award

November 19th, 2009

WordPress has been awarded the Overall Best Open Source CMS Award in the 2009 Open Source CMS Awards

Matt says:

I was very excited last week to learn that WordPress has been awarded the Overall Best Open Source CMS Award in the 2009 Open Source CMS Awards. This is a landmark for us, as it is the first time we’ve won this award, and it marks a shift in the public perception of WordPress, from blog software to full-featured CMS. No small contest, the Open Source CMS Awards received over 12,000 nominations and more than 23,000 votes across five categories.

As Hiro Nakamura said when he first bent time and space to land in Times Square: “Yatta!”

http://wordpress.org/development/2009/11/wordpress-wins-cms-award/

Solution to WordPress Blank Screen of Death After Activating Template

October 12th, 2009

I stumbled accross this great post by Colin McNulty – Solution to Wordpress Blank Screen of Death after activating my theme started causing all sorts of weirdness.

1 single solitary New Line at the bottom off the file, right after that ?> a Carriage Return & Line Feed in programmers speak. That’s it. You hit the Enter key in one wrong place and the whole pack of cards comes tumbling down!

In Colin’s case it was an extra carriage return in his wp-config.php file after the closing “?>”. In my case the problem was not 1 but 2 extra carriage returns at the end of my theme’s functions.php file.

The Right Way to Use jQuery in WordPress

September 10th, 2009

Chris Coyier shows you how to properly load jQuery for use in your WordPress pages, and explains how you can put jQuery into “no conflict” mode and use a different shortcut  instead of the default “$”.

If you’ve been getting nowhere trying to implement jQuery in WordPress, getting ‘$ is not defined’ and ‘$ is not a function’ errors, check this article out.

http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

WP Hive

March 2nd, 2009

WP Hive

Really cool looking Plugin alternative to WPMU

Revise Order of Shipping Options in WPSC

February 18th, 2009

shipping/ups.php

line 41, re-order array and comment out unwanted options to suit. 1st item in array will be default selected at checkout. Example:
function getMethod($dest) {
if ($dest == 'US') {
$method= array(
'GND' => 'Ground',
// '1DM' => 'Next Day Air Early AM',
// '1DML' => 'Next Day Air Early AM Letter',
'1DA' => 'Next Day Air',
// '1DAL' => 'Next Day Air Letter',
// '1DAPI' => 'Next Day Air Intra (Puerto Rico)',
// '1DP' => 'Next Day Air Saver',
// '1DPL' => 'Next Day Air Saver Letter',
// '2DM' => '2nd Day Air AM',
// '2DML' => '2nd Day Air AM Letter',
'2DA' => '2nd Day Air',
// '2DAL' => '2nd Day Air Letter',
// '3DS' => '3 Day Select',
// 'GNDCOM' => 'Ground Commercial',
// 'GNDRES' => 'Ground Residential',
// 'STD' => 'Canada Standard',
// 'XPR' => 'Worldwide Express',
// 'WXS' => 'Worldwide Express Saver',
// 'XPRL' => 'Worldwide Express Letter',
// 'XDM' => 'Worldwide Express Plus',
// 'XDML' => 'Worldwide Express Plus Letter',
// 'XPD' => 'Worldwide Expedited',
);

Speeding Up WP E-Commerce Shopping Cart… a bit

February 17th, 2009

updating_tasks.php line 396
if($wpdb->get_var("SELECT COUNT(*) FROM {$wpdb->prefix}currency_list WHERE continent NOT IN ('')") < 242)
to
if($wpdb->get_var("SELECT COUNT(*) FROM {$wpdb->prefix}currency_list WHERE continent NOT IN ('')") < 230)
I went from 330 queries to 86!

http://www.instinct.co.nz/forums/topic.php?id=2856#post-13720

Share This Breaks Prototype.js in WordPress/WP Shopping Cart

February 17th, 2009

Enabling the “ShareThis” option in the Marketing settings of WPSC causes an error box to pop in IE but not FF.

http://comox.textdrive.com/pipermail/wp-hackers/2008-April/019532.html

Exclude Pages from List in WordPress

July 7th, 2007

I recently added a new page in WordPress to contain Google search results within the site. I did not want this page to appear in my top menu however which is automatically generated by the template. This page in the WordPress Codex shows how to work with the template tag “wp_list_pages” to exclude certain pages from being listed by id.

http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List