Category: WordPress

10 consecutive contributions to WordPress

WordPress version 6.7 was released days ago (12 November, 2024) and with this release I achieved a milestone: 10 consecutive contributions to the WordPress core 🎉. Although I had contributed to previous versions (4.9 and 5.0), it was from version 5.7 that I decided to contribute more regularly. So, from version 5.7 to 6.7, my […]

Migrating to the wp-scripts: analysing two cases

The wp-scripts (@wordpress/scripts) package is a collection of scripts to standardize and simplify the development of WordPress projects that have to transform and optimize the JavaScript code and other assets (images, fonts, CSS files, etc) to be compatible with the majority of browsers. That way, instead of configuring tools like webpack, Babel and ESLint, you […]

Exposing a WordPress function via REST API

The WordPress REST API was released on version 4.7.0 and it makes possible to send and receive data from endpoints (URL) to retrieve, update and create the content of your site. For example, we can get the post content of post ID 1 by sending an HTTP GET request to the endpoint /wp/v2/posts/1: Although WordPress […]