Categories
Web Development

Formatting Phone Numbers with PHP

When adding a phone number field to a form, it’s nice to format it (if it isn’t already). This doesn’t replace anything you would do to validate your form via Javascript. But it does create that little extra bit of uniformity, even if it is slightly redundant.

Categories
Web Development

Adding the Bootstrap “active” class to a WordPress Menu Item

Working with WordPress and Bootstrap, you might be frustrated with the built in menu options. There isn’t an easy way to tell WordPress to swap out the  current-menu-item class with bootstrap’s active class. Fortunately for you and me, there’s jQuery for that. Just a little dab will do ya. jQuery(document).ready(function () { $(“.current-menu-item”).addClass(“active”); }); This […]

Categories
Web Development

Using PHP Classes and Functions in WordPress

Creating custom functions in your WordPress template’s function.php file is a regular thing for many of us. What you might not know is how easy it is to wrap them in a class, or even why you would. Wrapping them in a class keeps them both organized and self-contained from other functions that may have […]

Categories
Web Strategy

The Future of Online Banking: A Culture of Change

In episode four of this multi-part series on the future on online banking, I show retail financial institutions the right — and wrong — ways to manage the never-ending cycle of change required in this critical channel. Read the entire article, The Future of Online Banking: A Culture of Change, on The Financial Brand.

Categories
Web Development

Role Based Profile Fields in WordPress

I recently set out to customize WordPress profile fields for a specific role. You may want to have custom fields for users, but have different fields for different roles. For example, Authors may need some additional contact information, while Subscribers need only some basic fields. The concern I had was wether or not an Admin […]

Categories
Web Development

WordPress File Uploads Checked By MIME Type

Building a custom HTML form for WordPress is something I do fairly regularly. When adding an upload form, it’s important to check for allowed file types. You wouldn’t want anyone uploading a malicious PHP script, right? Wouldn’t it be great if WordPress did that for you? Of course it would.

Categories
Web Design Web Development

Customizing The WordPress Registration Form

Often times, people want a way to modify the look of the registration form page in Wordpress. However, this desired outcome is often misplaced. What most people want to do is simply place the form on a page, such as the home page or special registration page.

Categories
Web Strategy

When Worlds Collide (The Future of Online Banking)

In my 3rd installment on the Future of Online Banking, I address the issue of Mobile and Desktop banking worlds colliding. I argue that the two need to merge and become more a single product offering. Then I outline 6 steps to closing the gab between the services. Read The Future of Online Banking, When […]

Categories
Web Development

The Ugly Bootstrap File Input Type

Bootstrap has a way making a lot of HTML elements look good, right off the bat. But the day finally came when I had to face to inevitable: The . This is the red headed stepchild of Bootstrap (and browser makers). Browsers render this element differently from each other, making it nearly impossible to look good across the board.

Categories
Web Strategy

The Reality of Ownership, The Dark Side of Social Media

The truth is, and always has been, that social media is not controlled by you. Those comments on Facebook do not belong to you. They belong to the social network. Those followers are not yours either. They belong to the network too.