When you’re building several WordPress plugins or themes, you might come to realisation that you’re copying the same code over and over again. This might be classes for creating settings, libraries to change the whole admin area or it can be just a library that contains the whole logic behind updating your premium plugins.
In this tutorial, we will go over a Composer configuration which can help you retrieve that repetitive code and place it inside a folder of your plugin.
When your plugin has custom post types or is extending the regular pages or posts, you can improve the overall user experience just by adding a label (post state) to the post title. In this short tutorial, you’ll learn how to do that.
For a Quiz to function properly, we need to have questions and answers. In the previous tutorial, we create the main React Component Quiz. We will learn, in this tutorial, how to create a Question and Answer Component.
The main Component of our React Quiz will be the Quiz Component. In the last tutorial, we have integrated the React WP Scripts into our plugin. Now, we are going to move forward by changing the files and adding new ones.