Subscribe via

Announcing Winner of WordPress Plug-in Development Book

Here is the winner from the previous WordPress Plugin Development Book Giveaway.

Winner

After including the people who did not win in the last contest (as promised), here is the lucky winner of Vladimir Prelovac’s WordPress Plug-in Development: Beginner’s Guide book.
Read on…

Win WordPress Plug-in Development Book

This contest has ended! Thank you everybody for participating! I will be announcing the winner tomorrow morning!

WordPress Plug-in Development BookLast week I reviewed Vladimir Prelovac’s WordPress Plug-in Development Book: Beginner’s Guide.  Today I would like to give the book away!

When does the contest end?

This contest has ended! Thank you everybody for participating! I will be announcing the winner tomorrow morning!

This contest will end on April 17th, 2009, 11:59pm EST.  I will be announcing the lucky winner in the morning of April 18th, 2009.  Good luck everybody!

Sponsor

This contest is sponsored by Packt Publishing, publisher of WordPress Plug-in Development: Beginner’s Guide.

Weekend Links – Apr 11, 2009

Book Review: WordPress Plugin Development

WordPress Plugin Development Book CoverWhen I told one of my friends that I am reading Vladimir Prelovac’s WordPress Plug-in Development (Beginner’s Guide), I got the following response from him:

Just what we need… more beginners developing insecure wordpress applications. As-if it isn’t already the #1 hacked application on the Internet…

I completely disagree with this statement.  A book like this will help the WordPress community more than harm it.  Everybody has to start somewhere right?  How else better than to start with a beginner’s guide that shows you the proper way to code a WordPress plugin (with security in mind)?  I have finished reading this book and I am quite excited to share some insights. Read on…

Weekend Links – Apr 4, 2009

Tutorial: WP Minify Options

This post will explain the various options in WP Minify WordPress plugin.

Basic Options

Enable JavaScript Minification

When checked, all JavaScript files will be extracted from the HTML output and be minified and served as one compressed JavaScript file.

Enable CSS Minification

When checked, all CSS files will be extracted from the HTML output and be minified and served as one compressed CSS file.

Enable HTML Minification

When checked, your HTML output will also be minified.

JavaScript files to exclude from minify

You may specify any patterns for excluding any Javascript files from the Minifying process. The entries are line delimited so if you specify:

prototype
wp-greet-box/js
googlecode.com

Then the following Javascript files will not get included into the Minifying process if it’s being enqueued via wp_enqueue_script():

  • http://example.com/wp-includes/js/prototype.js
    (matching first rule)
  • http://example.com/wp-content/plugins/wp-greet-box/js/functions.js
    http://example.com/wp-content/plugins/wp-greet-box/js/onload.js
    (matching second rule)
  • http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js
    (matching third rule)

CSS files to exclude from minify

Works the same way as the “JavaScript files to exclude from minify” option except that this field will filter out CSS files.
Read on…

Tutorial: Get WP Minify to Process Your JS and CSS Files

This tutorial only applies to WP Minify pre-2.0.

You should use this tutorial if you still notice some Javascript and CSS files not being processed by WP Minify after activating the plugin.

Problem

WP Minify only sees scripts and styles enqueued via the wp_enqueue_script() and wp_enqueue_style() function. So if your theme or plugin does not use these functions for printing Javascript or CSS references, then WP Minify will not include them into the Minifying process.
Read on…

WP Minify WordPress Plugin

I have previously reviewed the Minify PHP application and found that the only drawback it had for a WordPress user was that it was semi-tedious to integrate with WordPress. Because of that I would like to release the ‘WP Minify’ WordPress plugin that will integrate Minify into WordPress for you and help you improve your site load time.

Description

This plugin helps you easily integrate the Minify engine into your WordPress blog. Once enabled, this plugin will combine and compress JS and CSS files to improve page load time. Read on…

How to Make WP Greet Box Work on Non-WordPress Pages

I had to
photo credit: miss604

A few people have asked me how to make WP Greet Box work with non-WordPress pages.  Luckily there is a way to easily do this and I will show you how in this tutorial:

Requirement

You must have WordPress installed with WP Greet Box plugin enabled.

JavaScript Modification

You will have to make a copy of “http://example.com/wp-content/plugins/wp-greet-box/js/js-mode.js”, modify it, and place it somewhere accessible by your non-WordPress page. As an example, I will place a copy of the file at “http://example.com/non-wordpress-platform/js-mode.js”. Now open “non-wordpress-platform/js-mode.js” and modify the line:

url: "index.php",

to point to your blog WordPress blog index.php.

url: "/index.php",

For example, if your blog is installed under “http://example.com/blog/”, you would change the code to:

url: "/blog/index.php",

JavaScript Placement

There are a few Javascript files that you need to reference to do this. Make sure you drop the following Javascript references into your non-WordPress page:
Read on…

WLTC: Top 10 Characteristics of a Great WordPress Plugin


photo credit: om nom nom

I posted an article on Weblog Tools Collection about the top 10 characteristics of a great WordPress plugin.

10. Easy Installation
9. Seamless Upgrade
8. Uninstallation Option
7. Meaningful Error Messages
6. Localization Support
5. Intuitive Admin User Interface
4. Reset/Import/Export Options
3. Optimized
2. Secured
1. Good Support and Thorough Documentation

Read the full article here.