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 little blessed bit of jQuery will add the active class to your menu on the fly.

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 the same name. This can be especially important if you are using third party plugins. Continue reading Using PHP Classes and Functions in WordPress

Tracking, Mixing, and Mastering: The Breakup

The process of recording music has three steps these days.

  1. Tracking (or more simply put, recording the individual parts of the song),
  2. Mixing (making all of the adjustments, tweeks, and special effects after recording), and
  3. Mastering (Polishing up the final product).

As a producer of my own music, I often run into the temptation to get ahead of myself in these processes. I’ll hear a song I’m writing, and want to start mixing before I’m finished writing it. The next thing I know, I’ll have mastered the thing too. Big mistake! Maybe you’ve done it too. Continue reading Tracking, Mixing, and Mastering: The Breakup

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.

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 would be able to pull up any profile and edit all of the fields. Here’s the solution I found. Continue reading Role Based Profile Fields in WordPress

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. Continue reading WordPress File Uploads Checked By MIME Type

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. Continue reading Customizing The WordPress Registration Form

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 Worlds Collide on The Financial Brand.

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 <input type=”file”>. 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.

Our final result should look something like this!
Our final result should look something like this!

Continue reading The Ugly Bootstrap File Input Type

The Reality of Ownership, The Dark Side of Social Media

Social Media is it’s own buzz word. It can ruin your reputation, or build it. In the business community, we talk about “owning” our companies social media. Here’s what we mean by that:

By taking personal ownership/accountability for posts, responses, and monitoring of our social media accounts, we make social media more effective and more personal to our base.

However, that’s not what this article is about. Continue reading The Reality of Ownership, The Dark Side of Social Media