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: Tech

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