Uploading files can sometimes be a complex thing when using JavaScript. In the previous tutorials, we have built a way to update settings and show a notice on that. In this tutorial, we will upload an avatar for the user.
Read MoreTag: react
Headless WordPress: Notices System
In the previous tutorial, we have created a form to update user settings. The only problem we had here is that we did not know if the user settings were updated or not. Let’s learn how to use the Notices system from Gutenberg in our headless WordPress application.
Read MoreHeadless WordPress: Updating User Settings
When creating headless WordPress applications with user profiles or settings, we need to provide them a way to edit the same. In the previous tutorial we have learned how to login in our app.
Read MoreHeadless WordPress: Logging with JWT
Headless WordPress is an idea that is being used more and more. I am going to try and cover a few topics that might be interesting when working with Headless WordPress setup. In this tutorial, we are going to see how we can login a user using JWT.
Read MoreHow to use the @wordpress/hooks package in JavaScript Apps
WordPress Plugin API (hooks) are a great way to make your plugins or themes extensible. And that is something that you can use when using PHP. But what if you’re using JavaScript? Maybe you want to make your JavaScript project extensible in a similar way. In this tutorial, we will see how to use those hooks in a React App.