Ryan Fitton
BlogTagsPortfolioAbout

Development

Tags

All Posts
  • development (60)
  • code-snippets (47)
  • uncategorized (27)
  • design (15)
  • photos (6)
  • video-talks (4)
  • personal (1)
  • Published on
    22 August 2020

    WordPress Snippet: Using ACF image and WordPress Featured Thumbnails

    • Development
    • Code-Snippets
    When building WordPress themes, there is often a need to use a featured thumbnail, or image value from ACF; as either a background image or as a <img> tag. This snippet below is something I use frequently, hopefully this will be as benefit for you too. <?php //Custom image sizes - Add these to your ...
  • Published on
    14 July 2020

    Building a Raspberry Pi Zero temperature monitor with web interface

    • Development
    • Code-Snippets
    I’ve recently purchased a few cheap DHT22 temperature sensors from Amazon. They work great and use Python to display the data from the sensors. I found I required a way to log the data, so I though why not make this a project!? I have created a simple Web Interface to view logged data: https://github.com/ryanfitton/rpi-temperature-monitor-logging-interface. ...
  • Published on
    1 April 2020

    How to install Home Assistant within an LXC container

    • Development
    • Code-Snippets
    I have published this blog post to help anyone having issues installing Home Assistant (and Docker) in an LXC container running on Ubuntu. When I was installing Home Assistant on my own hardware, I could not find any straight-forward guides detailing how to do this, and Home Assistant’s own documentation does not help with installing ...
  • Published on
    1 April 2020

    WordPress Example: How to update and refresh current value stored in an ACF field

    • Development
    • Code-Snippets
    The post displays hows to use WordPress Ajax functions to display a field’s value; and automatically refresh the field every 5 seconds. This example also includes examples of how to send an Ajax post to update the field. In this example, each click oft the ‘submit’ button will increase the numerical value stored in the ...
  • Published on
    31 March 2020

    WordPress: Update user email address, or add a new user with only theme access

    • Development
    • Code-Snippets
    If you’re editing a website but only have theme access, and no access to the database, you can temporarily add the code below into your theme ‘front-page.php’ or other theme file to update either: The existing first user’s email address Add a new Administrator user Remember to remove this code when your have finished your ...
Previous3 of 12Next
mailMailgithubGithubkeybaseKeybaselinkedinLinkedinyoutubeYoutubeinstagramInstagram
ColophonPoliciesSocial LinksRSS FeedStatusPGP Key
© 2025 Ryan Fitton. All rights reserved. License.