Skip to content

Megabyte

Community Champion & Project Manager

  • About Me
  • Open Source
  • Certifications

If you appreciate my WordPress open source project contributions, please consider donating to my book fund.

If you have web dev work you need help with, check out my services.

If you are a web dev or agency and need PM/sales work, reach out here!

🍉

Category: Web Development

PHP Function money_format()

Posted November 27, 2015November 17, 2024

I hope everyone had a great Thanksgiving! 🙂 I was inspired for this week’s Function Friday when I was working with Stripe API (using PHP). I was developing a webhook for when a charge fails that would send an email to various departments at my company. We needed the email […]

Category: Web DevelopmentTags: Function Friday money_format() PHP PHP Function

Using Gravatar in WordPress Themes

Posted November 25, 2015October 20, 2024

Have you ever been on some random site that you have an account on and you realize your photo is automatically there? Well if you’ve never experienced this, you must not have a Gravatar. Created by the makers of WordPress, Gravatars can be pulled from any WordPress site using the […]

Category: Web DevelopmentTags: get_avatar() Gravatar Template Files Theming WordPress

Sharing a Sidebar on Multisite Using switch_to_blog

Wireframes Drawn on Sticky Notes from Death to the Stock Photo
Posted November 23, 2015October 20, 2024

My WordPress Multisite Experience Welcome to my first Multisite post! I certainly do not claim to be a WordPress Multisite expert (or even a WordPress expert), but I recently launched a Beta version of my first WPMU site. As I write this, the Beta version of the site has 57 […]

Category: Web DevelopmentTags: Multisite Template Files Theming WordPress WPMU

setInterval and clearInterval in JavaScript

Posted November 22, 2015October 20, 2024

Recently I was working on an image slider that I had auto-rotating by using setInterval and clearInterval. The problem I came across was that when a user clicks to show another slider image, the counter variable wasn’t resetting. For example, if image 3 was showing, and the user clicked image […]

Category: Web DevelopmentTags: JavaScript jQuery jsfiddle setInterval Snippet Sunday

PHP Function str_replace()

Magnifying Glass Photo by Angelo_Giordano on Pixabay
Posted November 20, 2015October 20, 2024

Welcome to the inaugural Function Friday post! I created Function Friday as a way to both share my PHP and WordPress knowledge with others, and force myself to continue to learn on a schedule. After graduating with my Bachelors of Science in Technology degree in 2014, I realized I crave […]

Category: Web DevelopmentTags: Function Friday PHP PHP Function str_replace()

Changing The WordPress Table Prefix

Posted November 18, 2015October 20, 2024

A warm WordPress Wednesday welcome! 🙂 Today I embarked on a journey into the unknown. In my attempt to perfect my naming conventions, I decided to change my table prefix… after installing WordPress. (Don’t worry, it wasn’t “live;” I just didn’t want to redo any steps.) Okay, so the story […]

Category: Web DevelopmentTags: Database WordPress WordPress Structure

Posts navigation

Newer posts
Links: GitHub LinkedIn
Content Disclaimer