Gutenberg is coming and if your WordPress plugin is using shortcodes, you might consider building Gutenberg blocks out of the shortcodes. In this tutorial, we will not learn about converting shortcodes into Gutenberg blocks. We will learn how we can integrate Gutenberg blocks into your existing plugins.
Category: JavaScript
How to use the WordPress Code Editor in your Plugins or Themes
When you’re developing plugins, themes or even custom solutions, you might provide your clients a way to insert custom scripts or styles. When that comes, we usually tend to use the classic textarea field for that. WordPress ships with their own code editor, so why not enhance the user experience by providing a nice way of editing the code? In this tutorial, you’ll see how to use the WordPress Code Editor and integrate it with your own plugin or themes.
Building a Quiz with React and WordPress REST API: Score Component
The Score Component for our Quiz will render the data that we are retrieving through REST API. We will create a new React Component Score
and add it to our Quiz
Component.
Building a Quiz with React and WordPress REST API: Question and Answer Components
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.
Building a Quiz with React and WordPress REST API: Quiz 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.