The first time I heard of WordPress Transients, it sounded scary. But after figuring out what they were, how to create them and what they were used for, it is a no-brainer to not use them in certain situations. According
Continue Reading...Creating Event Handlers in JavaScript
Over the past 5 years, I had to redesign multiple websites and use some of the previous codebase as to not have to start from scratch. One thing I noticed a lot was previous developers using inline JavaScript click event.
Continue Reading...Dynamically populating ACF Checkbox Field from Custom DB Query
ACF (Advanced Custom Fields), the greatest WordPress plugin on Earth allows us do some many things. Every time I work on a new project, which I always use ACF, I find a new use or something new the plugin can
Continue Reading...Dealing with multiple React dom entry points in WordPress Theme Development
After getting so excited with the new WordPress script package which includes the ability of not having to manually setup Webpack and Babel for rapid Gutenberg Block creation, I ran into an issue when I started building a WordPress theme.
Continue Reading...WordPress React Ready with Webpack and Babel bundled in core
Thank you WordPress Team! Webpack and Babel now come packaged in WordPress, time to start building some custom Gutenberg Blocks without spending time, a lot of time setting up your local build setup. Being a PHP developer first, dealing with
Continue Reading...Add Typewriter Text to your webpage
How to add Typewriter Text to a webpage with some easy javascript. First let create a div where the text will be displayed: <p id=”typewriter”></p> Here is the simple JavaScript: <script> var i = 0; var txt = ‘I am
Continue Reading...