Edmundcwm

Edmund Chan

All things WordPress and Web Development

  • Twitter
  • LinkedIn
  • Presentations
  • Contact
  • Understanding use() from @wordpress/data

    Aug 10, 2024
    Web Development, WordPress

    use() is one of the more obscure functions from the @wordpress/data package, mainly because it lacks proper documentation and examples illustrating its usage. By “lacking” I mean the official documentation only has a cryptic two-liner … Read more

  • Raycast extension for WordPress Plugins

    Dec 23, 2023
    Productivity
    Raycast extension for WordPress Plugins

    A few months back I published a Raycast extension that allows you to quickly search and download WordPress plugins from the official WordPress Plugin Repository. Some other notable features include : Side note: if you are … Read more

  • Setting up WordPress Coding Standards in VS Code (updated)

    Dec 5, 2023
    Web Development, WordPress
    Setting up WordPress Coding Standards in VS Code (updated)

    Much has changed since my last article on how to get WPCS up and running in VS Code, the most notable being the release of WPCS 3.0 which makes it easier to register new coding … Read more

  • Passing Children to React elements

    Oct 25, 2020
    React, Web Development

    I was playing around with the raw React APIs, specifically React.createElement(), when I was going through the EpicReact workshop on React Fundamentals and I stumbled upon an interesting finding. React.createElement(component, props, …children) accepts an object … Read more

  • Setting up WordPress Coding Standards in VS Code

    May 3, 2020
    Web Development, WordPress
    Setting up WordPress Coding Standards in VS Code

    Note: Here’s a more updated and simple guide. Adhering to a certain set of coding standards is important when it comes to writing good quality code. It makes your code easier to maintain and read … Read more

  • Error Boundaries in React

    Feb 6, 2020
    React, Web Development

    React 16 introduces a new concept called Error Boundaries which aims to provide proper error handling in the event of an error in a part of the App’s UI. You might have seen something like … Read more

  • Fixing “Unauthorized” error when using Basic Auth plugin

    Dec 1, 2019
    Web Development, WordPress
    WP REST API

    If you just started using the Basic Auth plugin for authentication, you might come across issues like 401 (unauthorized) that prevents you from making authenticated requests, even though your code and credentials are correct. Here … Read more

  • Uploading media using the WP REST API and JavaScript

    Nov 30, 2019
    Web Development, WordPress
    javascript, WP REST API

    Recently, I have been working on this React project that allows users to upload some documents which will be tagged to their profile. My initial thought was to figure out how to use the WP … Read more

  • Building a simple CRUD app with the WP REST API: Part 1 – GET

    Oct 28, 2019
    Web Development, WordPress

    At the Contributor’s Day of WordCamp Singapore 2019, I ran a workshop on how to build a simple CRUD app using the WP REST API. Unfortunately, due to time constraint, I didn’t manage to explain … Read more

  • WP REST API: An Introduction

    Sep 4, 2019
    WordPress

    Back in June, at a local WordPress Meet-up, I gave an introduction on the WP REST API and also ran a little demo. That was my first ever presentation so I was definitely feeling nervous … Read more

Next Page→

Designed with WordPress