Hollands Spoor

The Notebooks

  • Flying around

    To show some geolocations from all over the world on a dynamic map, I used the OpenLayers library which is quite impressive in its speed and ease of use. OpenLayers can use maptiles from many different sources. You can even create your own tiles and serve them yourself. (I undertook this mapcreating- and serving-endeavor in…

    Flying around

  • Accordions

    We built out own Accordionblock. Check out it’s benefits at the Wordpress Plugin Repository. Or read more about this here an try it on this website.

    Accordions

  • When developing on a XAMPP stack, I find myself switching Xdebug on and off because of Xdebug’s performance penalty. When not debugging, i switch Xdebug off entirely because it slows down PHP. There are good recommendations on how to improve Xdebug’s performance, e.g. here or here. However i prefer to have the Xdebugger boldly switched…

    Debugging on Demand

  • Fixing Pagination

    Excerpt: A common layout need: left-aligned “previous” link, centered page numbers, right-aligned “next” link. Setting the Pagination block’s items justification to “Space Between” achieves this — until you reach the first or last page. The previous/next child block is not rendered when not applicable, so the pagination block ends up with two items and the…


  • I needed backgrounds with wallpaper patterns that you can seamlessly place next to each other, like these for example: There are plenty of examples to be found if you search for something like ‘seamless pattern images’. If the license allows it, you can use them as a background for, for example, a Gutenberg Group block…

    Asanoha, seigaiha and more.