Tips for Jekyll development
Continuing the WordPress to Jekyll series,
I've decided to give a few Jekyll tips that I've learned in the process of converting my website.Jekyll serve at the speed of light
Over 5 years, I've written quite a few posts, over 500 posts.
To test Jekyll out (for development) you have to run the following command:However, with 500+ posts, it takes about 70-90 seconds to build, which is annoying if you're making small tweaks,1
jekyll serve
that take minutes to compile.
There's a cool little trick to make compilation happen a lot quicker, by limiting the number of posts:This will only compile the last 3 posts, which is enough for 99% of test cases anyways.1
jekyll serve --limit_posts=3
The average compilation time with the limit_posts parameter is about 3-4 seconds.
This is a great trick especially if you have a bigger blog with 1000+ posts.Posted in TechnologyMoving from WordPress to Jekyll
Since last week you may have noticed something different about the website.
Maybe it seems to load quicker, or it looks a tiny bit different, or perhaps you've noticed that the footer is much slimmer.
The reason is: KidsIL has once again been transformed!Posted in TechnologyImageDock - Image Gallery plugin for WordPress with a Dock effect
Since I'm on vacation, this will be a short article (I haven't forgotten about the Meteor tutorials, they're coming!).
Posted in TechnologyWordPress - make a file download on a plugin settings page
I've been working on a WordPress plugin lately, and one thing I've been trying to do is to create a file download out of some plugin settings (i.e. text data, json file).
Posted in TechnologyPush your WordPress Plugins directly from GitHub
If you're developing Themes/Plugins and want to update them on various websites you own/manage, it can be quite a hassle.
One way would be to use WP Remote and bulk update all your plugins and themes.
This method assumes that all your plugins are on Wordpress.org, where most Plugins/Themes are.
The problem with that is that it's not always the case, you wouldn't want to submit your plugin to Wordpress.org if:Posted in Technology