I know what you’re probably thinking – there’s a catch. Well, there IS. But it’s not some special promo rate or a first-year deal. The catch is that this solution requires more effort to pull off compared to signing up for a shared hosting plan with pre-installed WordPress. What I’m going to teach you is how to build a WordPress site on your computer using Local by Flywheel. Then you’re going to convert that site to a static version, deploy it Cloudflare Pages, and maintain it using GitHub and some code. It’s ambitious, but worth it.
How to Add Search to a Static WordPress Site for Free Using Lunr
If you have a static WordPress site or you’re strongly considering launching one, then you’re probably already aware of its default limitations. One of the big ones is the inability to add a search function to your site. But with a little bit of creative thinking, you can use a free, open-source JavaScript library called Lunr (along with a few other tools) to get around that problem and build one anyway. Here’s how…