Monthly Archives: November 2008

Best practice for adding JavaScript code to WordPress plugins

This article is intended as a guide on how to add JavaScript code to your plugins. Here is a practical example from WP Wall plugin. Start by hooking your function to wp_print_action:add_action('wp_print_scripts', 'WPWall_ScriptsAction');Next, add the scripts you want to use:function WPWall_ScriptsAction() { $wp_wall_plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'.
36 Comments

Big Amazing Grace/Blue Grace Themes Update

Thank everyone for voting on the sidebar poll for Amazing Grace enhancements you would like to see. It looks that most people wanted New Features and Cleaner HTML so I got busy and produced the update to both themes. Child Themes Blue Grace now behaves as a child theme for Amazing Grace. That means that both themes share the same code and only have different styling and images. This will make it much easier to maintain, and you get two themes in one package.
40 Comments

Parkour the Urban Freeflow

Parkour the Urban Freeflow
For years, I dreamt about situations in which I could freely and effortlessly jump around buildings and parking lots. These dreams were so vivid, they felt real. i remember feeling the adrenaline rush even deeply asleep, and the great positive effect the skill had on me.
9 Comments

Ultimate solution to weird UTF character encoding problem

Due to different formats of storing characters in the database, sometimes you may encounter problem with strange characters (like —) appearing in your WordPress posts. This can especially happen when moving the site to a different server, a process during which your database needs to be exported and imported. There are several ready solutions to this problem like modifying the character set before and after the database restore as described in this article.
30 Comments

5 cool WordPress plugins you never heard about

Here is the list of five very small but ultra-cool WordPress plugins you probably never heard about. 1. Google Ajax libraries API This plugin replaces the JavaScripts like jQuery, Moo tools and others which are usually loaded from your site, to load from Google instead. This has several key benefits. First is that you will use a lot less bandwidth, important for those paying for bandwidth. Then, your server will be relieved off some load (one less http request).
8 Comments

About

vladimir prelovac Vladimir Prelovac is CEO of Prelovac Media, a computer engineer by profession and an adventurer by state of mind. more +


"I would love to change the world, I just don't have the source code yet."

Services

Manage multiple WordPress sites

Built for WordPress enthusiasts, ManageWP helps you manage all your WordPress sites from one central location.

Books

WordPress Plugin Devleopment Book Read my book WordPress Plugin Development: Beginner's Guide

Published by Packt Publishing, available online through Amazon.