PHP in templates is so last decade
What a difference a day makes.
When I started converting templates from StartBootstrap, since they bundled the Bootstrap files in their downloads, I figured I should also.
The Themes featured here now use the CDN files from Bootstrap and jQuery, after running tests on my local sever comparing serving files off my local drive versus grabbing them off of MaxCDN. The difference in speed was negligible, hardly worth the trouble in keeping your framework up to date.
After the 6th Theme I converted, which was a bit different from the previous 5 featured here, I learned a thing or two. One of them was using the CDN network, the other was that my data is portable.
My wife wanted me to sit and watch a movie last night, but I just end up falling asleep on the couch, so I looked over my mobile-friendly to-do list. My blog, my old site, can hardly read it on my tablet, let’s do it. By the time my wife’s movie was over, I already had a working blog in responsive mode.
It was a simple matter of copying head, header, navigation and footer from the old site and adjusting to different surroundings, h2 to h3, p to li, etc. Basically trying to be the least destructive of the original design, just add components.
Most blog templates have 2 pages, one for the home page, one for the article. But with Template Tags, a few lines of conditional statements makes one page do the job of two, and it’s easier to maintain.
Once the tags were in place, and I saw my data, my lines, my thoughts in glorious font-awesome splendor, I about teared up. Here was a site that started way back when in the beginnings of it all, and it was staring back at me replete with wallpaper.
It took longer to pick the wallpaper than it was to do the site.