Using the code below we can create a dynamic drop-down that will display the current year along with the next five years, eliminating the need to edit static credit card expiration drop-downs every year.
You can register a session in WordPress by placing the following in your functions.php file.
I recently rebuilt my personal website and rather than create a personal blog (let’s be honest, I barely find the time to post here!) I decided to pull a few blog and portfolio posts from our business website. To accomplish this, I wrote a couple PHP functions to parse the necessary RSS feeds using SimpleXML….
We recently did a complete overhaul of our website design and content. When redesigning our FAQ page, I decided to opt for a custom post type rather than using shortcodes. The goal was to sort the FAQ posts by category and then loop through each post for said category. This can be accomplished by the…
When building a single page, scrolling Bootstrap theme, a common issue you may run into is the mobile navigation remains visible when you click on a menu item. Here is an easy jQuery fix: Check out my personal site on a mobile device to see it in action!
By default, clicking a Bootstrap parent menu link only produces it’s dropdown menu without following that link. Adding this jQuery snippet will make your parent menu items clickable again! You can test this functionality in the navigation above!
Use the following snippet to collapse Bootstrap 3’s fixed navbar when scrolling.
Here we are using WP Query to pull custom posts. It is up to you to choose what you’d like to display and in what order for each post. Here we are displaying the thumbnail, title and excerpt. A huge advantage to using WP Query for your post loops is the ease of customization! Check…