The tutorial I’m following uses Bootstrap 3.3.7, which I now realize is quite old. However, it’s still a good starting point for learning. Once I complete the tutorial, I’ll consider updating it to a newer Bootstrap version if time allows. I also encountered caching issues while developing my custom theme—changes I made weren’t appearing on […]
Category: Theme Development Learning
How to Load CSS & JS in WordPress
While converting an HTML page to a WordPress theme, I learned how to properly add Bootstrap, custom styles, and scripts. Here’s what I’ve learned so far. load_stylesheets() function – Enqueues CSS files for the blog, including Bootstrap, Google Fonts (Lato), and two custom stylesheets (style.css and style2.css). load_scripts() function – Enqueues JavaScript files, including jQuery […]