Skip to content

Clint Vidler

Website Developer & Software Engineering Student

  • About Me
  • CMS
    • Drupal
    • SharePoint
    • WordPress
  • Data
    • API
    • MongoDB
    • NAS
      • Synology
  • JavaScript
    • Angular
    • Gatsby.js
    • Node.js
      • Express.js
    • Pug.js
    • Vue.js
  • Microsoft
    • Outlook
    • SharePoint
    • Windows
  • More Topics
    • Apple
      • OSX
    • Go
    • Google
      • G Suite
    • PHP
    • Python
    • Security
      • Backup & Recovery
    • Website Design
    • Uncategorized
  • Contact
Scroll down to content

Posts

Posted on February 1, 2023January 31, 2023

Create a custom location rule ‘Post Has Parent’ for WordPress Advanced Custom Fields

Create an ACF rule to restrict display of custom fields on the edit page based on whether or not the post has ancestors.

Continue reading “Create a custom location rule ‘Post Has Parent’ for WordPress Advanced Custom Fields”
Posted on January 11, 2023January 14, 2023

Add a universal page load bar and/or spinner to NextJS

Adding this is very easy when you make use of the NextJS router events and the NProgress package.

Continue reading “Add a universal page load bar and/or spinner to NextJS”
Posted on January 11, 2023January 11, 2023

Persist user state in NextJS by using a cookie and a context provider

Use a combination of application context and browser cookies to save and retrieve state in a NextJS app.

Continue reading “Persist user state in NextJS by using a cookie and a context provider”
Posted on September 10, 2022September 10, 2022

Change WordPress wp-admin ‘Visit site’ URL

When creating a headless or decoupled WordPress you may find that you want to change the Visit site link in the wp-admin bar to your chosen frontend.

Continue reading “Change WordPress wp-admin ‘Visit site’ URL”
Posted on September 10, 2022November 19, 2022

Change WordPress post preview URLs

When creating a headless or decoupled WordPress you may find that you want to display live previews on your chosen frontend.

Continue reading “Change WordPress post preview URLs”
Posted on July 18, 2022

Create SSL certificate for localhost HTTPS using mkcert as trusted certificate authority

Install mkcert; Create local certificate authority; Create certificates for your localhost application.

Continue reading “Create SSL certificate for localhost HTTPS using mkcert as trusted certificate authority”
Posted on March 10, 2022March 10, 2022

Using Testify suite setup/teardown to run operations before/after groups of tests in Go

The standard testing library in go lacks setup and teardown features, Testify adds this feature (and many others).

Continue reading “Using Testify suite setup/teardown to run operations before/after groups of tests in Go”
Posted on January 31, 2022January 31, 2022

Enum type in Go

This ‘Season’ type can be used like any other type in go, but with limited allowed values.

Continue reading “Enum type in Go”
Posted on January 28, 2022January 27, 2022

Define a 404 fallback image in an Angular component

Try to load an image, but if it doesn’t exist instead load another image.

Continue reading “Define a 404 fallback image in an Angular component”
Posted on January 27, 2022January 27, 2022

How to create a responsive square image with CSS

Create a responsive square element containing an image using ::after pseudo class.

Continue reading “How to create a responsive square image with CSS”

Posts navigation

Page 1 Page 2 … Page 6 Next page

Recent Posts

  • Create a custom location rule ‘Post Has Parent’ for WordPress Advanced Custom Fields February 1, 2023
  • Add a universal page load bar and/or spinner to NextJS January 11, 2023
  • Persist user state in NextJS by using a cookie and a context provider January 11, 2023
  • Change WordPress wp-admin ‘Visit site’ URL September 10, 2022
  • Change WordPress post preview URLs September 10, 2022

Archives

  • February 2023 (1)
  • January 2023 (2)
  • September 2022 (2)
  • July 2022 (1)
  • March 2022 (1)
  • January 2022 (5)
  • November 2021 (1)
  • August 2021 (2)
  • May 2021 (1)
  • November 2020 (1)
  • September 2020 (1)
  • August 2020 (3)
  • July 2020 (6)
  • June 2020 (1)
  • May 2020 (1)
  • March 2020 (1)
  • January 2020 (1)
  • August 2019 (1)
  • June 2019 (1)
  • May 2019 (4)
  • April 2019 (4)
  • March 2019 (3)
  • January 2019 (1)
  • December 2018 (3)
  • November 2018 (9)

Categories

  • Angular (4)
  • Apple (3)
    • OSX (3)
  • CMS (16)
    • Drupal (4)
    • Wordpress (10)
  • Data (3)
    • API (1)
    • MongoDB (2)
  • Go (5)
  • Google (2)
    • G Suite (1)
  • JavaScript (14)
    • Gatsby.js (3)
    • Next.js (2)
    • Node.js (4)
      • Express.js (2)
    • Pug.js (2)
    • React (2)
    • Vue.js (2)
  • Microsoft (5)
    • Outlook (1)
    • SharePoint (2)
    • Windows (2)
  • NAS (3)
    • Synology (3)
  • PHP (1)
  • Python (1)
  • Security (7)
    • Backup & Recovery (2)
  • TypeScript (2)
  • Uncategorized (1)
  • Website Design (5)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • GitHub
  • Linkedin
Privacy Policy Log in