This year I have been focusing a lot more effort on helping others on WordPress Stack Exchange, Codementor, and whatever one-on-one opportunities come my way. Lately I’ve been reflecting on my accomplishments so far this year and wanted to share some of the milestones I’ve reached. Got Selected as “Best […]
Category: Web Development
Getting In-Depth With CSS Media Queries
Why min-width instead of max-width? Let’s say you designed your site when the iPhone 5 was first released. You used max-width: 320px for your iPhone/mobile style. Months later, the iPhone 6 is released and now your CSS needs updated to have another max-width media query, or else the iPhone 6 […]
Changing From mysql_ Functions to mysqli_
Here are the similarities and differences I noticed when switching from the mysql_ prefixed functions to the mysqli_ functions in PHP. Creating a Connection Creating and closing a connection are exactly the same using mysqli_: // Creating a Connection with mysql_connect() $conn = mysql_connect($servername, $username, $password); // Do stuff with […]
Increment Hex Values in PHP
Hex values aren’t just for colors! I recently had to generate a list of values from 00-ff and came up with this little snippet. Here’s how to increment hex values in PHP: For Reference: Hex Values Use (line 8) 0-f $x < 16 00-ff $x < 256 000-fff $x < […]
Getting Started With WordPress Theme Development
This post is the first of a series of posts on how to dive into WordPress theme development. Going from developing simple HTML/CSS sites to using a Content Management System is a very big step. You will save a lot of time by having your CMS handle all the content […]
Using date() and strtotime() to Set a Delivery or Shipping Date
Scenario: Let’s say your business ships products out every Monday, but the cut off date for ordering for the next delivery date is Thursday. This snippet checks the day of the week with date(‘w’). (It can also be accomplished by using l, D, or N.) Then, if it’s past a […]
Find me on Codementor!
If you need one-on-one help with HTML, CSS, PHP, or WordPress, look no further! Though I hope my blog has helped you in your endeavors, nothing compares to personalized assistance. The best thing about our industry is the community support and the networks you can build. When you come across […]