bnks.xyz

  • Home
  • Blog
  • About
  • Pricing
  • Services
  • 19 – 05 – 23

    Notes on migrating between Synology NAS with HyperBackup

    There are a number of ways to migrate your data, depending on the age of the NAS, OS versions, and filesystems in use. Synology have a guide to help you…

  • 12 – 05 – 23

    Quick and portable PHP compatibility check

    For mission critical applications you need a lot more care, but for that simple side-gig or personal project this simple one-shot script will give a good idea of any major…

  • 17 – 01 – 23

    Filtering customTemplates from theme.json with a plugin

    Recently I was rebuilding the Helpful Digital intranet using a WordPress block theme called UniBlock. As part of this I had written a custom plugin to register a new post…

  • 16 – 02 – 20

    Mapping series – an aside, a note on views in MySQL

    While working on a project recently – a mapping one which required complex queries – I worked more with MySQL views. They undeniably make looking at complex data sources easier…

  • 15 – 02 – 20

    Mapping series – MySQL queries against latitude and longitude

    I’m starting this series with the simplest aspect – a MySQL query to return rows based on radius from a point. This is well trodden territory, although not always explained…

  • 19 – 05 – 19

    Mapping series – Working with Algolia Places address autocompletion api

    For a recent mapping project I implemented Algolia Places for address autocompletion to turn an address into latitude and longitude for querying the database. In the past we’ve used Google Maps,…

  • 01 – 05 – 19

    New theme, dark mode, upcoming blogs

    Trying to give myself a nudge to complete some 1/2 written posts, and write the unwritten ones, I decided to switch out the theme (again). I’ve gone with a very…

  • 31 – 01 – 18

    Exclude certain posts from search

    Excluding posts (or custom post types) from search results when they meet certain criteria is easy in theory. Just use the pre_get_posts action to modify the WP_Query arguments used to…

  • 11 – 01 – 18

    Selecting title, meta and multiple term names with MySQL

    I often run one off reports for clients directly from the MySQL database behind their (normally WordPress) websites. Most are straightforward, perhaps requiring data from the wp_posts and wp_postmeta tables.…

  • 27 – 11 – 17

    Ignore spaces when group MySQL query results

    Let's get a list of all duplicate postcodes (could be any string of course) out of a specific field in the database. This could be handled in PHP but, with…

1 2 3 … 6
Next→
  • Twitter
  • LinkedIn

© 2023 bnks.xyz. All rights reserved.

Allele Theme ⋅ Powered by WordPress