WordPress Activation Hook
We recently discovered an issue in our commercial plugins related to a change in the WordPress API. It turns out that since WordPress 3.1 was released the register_activation_hook() function is no...
View ArticlePHP Pretty Print XML
I have been working on MoneyPress : Amazon Edition to get it updated for the latest API release and bring it into the Charleston Software Associates stable of products. Along the way I found myself...
View ArticleAdding Custom Fields To The WordPress Category Interface
Adding custom field s to the WordPress Category interface can be tricky. Not because the concept is overly difficult, but the documentation on the related filters and actions that are built into...
View ArticleNetbeans, phpDoc, and WordPress
A posting from our private “Tech List”, a list I share with select tech geeks mostly from the days at Cyber Sprocket Labs. We tend to share high end tech tips that only geeks would find interesting....
View ArticleGeeking Out With Netbeans and PHPDoc
I’ve been playing with phpDoc and NetBeans a lot lately. I’ve found that having well documented code using the phpDocumentor 2 format makes for a much more efficient coding environment. For one...
View ArticleWordPress Add JavaScript to Specific Admin Page
Huh? ”wordpress add javascript to specific admin page”, what the heck is that? That is the first thing I “googled” when I discovered I was “doing it wrong” so I could learn how to do it right. As a...
View ArticleWordPress Boolean Options and JavaScript : Handle With Care
After chasing my tail for the past 5 days I finally uncovered the source of a bug in my code that was causing Store Locator Plus to not initialize properly on fresh installs. The culprit? How...
View ArticlejQuery Selected Text
While working on Store Locator Plus updates I found a need to get the text of the currently selected dropdown (<select> HTML tag) element. With jQuery employed in my WorcdPress plugins the...
View ArticleAnalyzing WordPress PHP Memory Consumption
This weekend I have been processing a large 200,000 location data file for a Store Locator Plus customer. This is one of the larger files I have processed on my test system and it is the first file...
View ArticlePHP Switch Vs If Performance
When writing a complex application such as Store Locator Plus, you will often find multiple logic branches to handle a given task. There are two oft-used methods for processing the logic; the If-Else...
View Article