Wordpress : Using jQuery library with your plugin or theme

When you develop a Wordpress plugin or theme, you might want to make use of the jQuery library included and distributed with the Wordpress package.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F57%2Fwordpress-using-jquery-library-with-your-plugin-or-theme%2F’;
addthis_title = ‘Wordpress+%3A+Using+jQuery+library+with+your+plugin+or+theme’;
addthis_pub = ”;

Wordpress : Translate a Plugin

First off, you have to know that not all Wordpress plugins can be translated. The plugin developer(s) had to take the necessary steps such as using the Wordpress __() and _e() functions and load_plugin_textdomain() in order to parse the strings/text of the plugin through the localization system.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F48%2Fwordpress-translate-a-plugin%2F’;
[...]

Wordpress : Using Javascript libraries with your plugin or theme

When you develop a Wordpress plugin or theme, you might want to make use of some of the Javascript libraries distributed with the Wordpress package such as Prototype, Scriptaculous and jQuery.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F47%2Fwordpress-using-javascript-libraries-with-your-plugin-or-theme%2F’;
addthis_title = ‘Wordpress+%3A+Using+Javascript+libraries+with+your+plugin+or+theme’;
addthis_pub = ”;

Wordpress : get_pages

The Wordpress get_pages function works similar to the get_posts function which fetches posts from the database by criteria. The get_pages function takes different arguments and allows you to take control of parent and child pages as you execute the function.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F38%2Fwordpress-get_pages%2F’;
addthis_title = ‘Wordpress+%3A+get_pages’;
addthis_pub [...]

Wordpress : Safari

If you’ve been trying to write posts in the Wordpress TinyMCE editor using the Safari web browser, you might have noticed that breaklines are not correctly treated and that your posts end up being a single block of text rather than paragraphs as expected.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F28%2Fwordpress-safari%2F’;
addthis_title = [...]

PHP : Cannot use a scalar value as an array

I was working on a Wordpress plugin today and came across the most disturbing PHP warning error which I have never seen before in all the time that I’ve worked with PHP. The warning error message was :
Warning: Cannot use a scalar value as an array
What caused this error was when I tried to append [...]

Wordpress Pagination Class

I wrote a simple, yet extremely useful Wordpress pagination class. The class is not complete yet, and I work on it as I move along and need new features or actions. So you have the freedom to take the class and customize/expand it as you might need to. First off, you can download the class [...]

Wordpress Mailing List v2.0

The Wordpress mailing list plugin v2.0 has been released to the public with a great set of new features. These features include :

Multiple mailing lists
Email scheduling
Newsletter templates
Automatic updates indicator
Improved sidebar widget with Ajax
Post/page opt-in form embedding
Email queue
CSV and MacOS Address book importing
Excel CSV file exporting
And much, much more…

If you are upgrading from v1.X, you immediately [...]

Wordpress : Download Older Versions

In case you might need to download an older version of Wordpress than the current, latest release, you can go to the release archive and obtain any of the previous releases as needed.
And then, you can view all the Wordpress release changelogs to see what changes have been made in each version which has been [...]