This is an example of a WordPress settings page. It uses the WordPress Settings API, REST API, and Gutenberg Component Library to create a JavaScript-powered settings page with a tabbed interface.
![Xnapper-2024-05-25-07 26 22](https://private-user-images.githubusercontent.com/6867360/333806754-0a4e4f4a-d12d-415d-ae39-735a65d36179.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMDA1MTAsIm5iZiI6MTcyMTMwMDIxMCwicGF0aCI6Ii82ODY3MzYwLzMzMzgwNjc1NC0wYTRlNGY0YS1kMTJkLTQxNWQtYWUzOS03MzVhNjVkMzYxNzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMTA1NjUwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDgzZGNhYWMxODQ4OTVlMWEzODhkM2Q0ZjU3MTliYzQ3MTY1NzZkMWMyNThkNWRmNmJjOGJiMGMxMzMyZDBlZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Fa6Sii25W0Pciwa_n8lysn95iLLVgALO7L2l5cSiZ2U)
This plugin was scaffolded with @wordpress/create-block. If you'd like to develop from this repository, first install all of the dependencies:
npm install
Then run the build process in a watch mode:
npm start
To use the included local environment, make sure Docker is running and then run the following command:
npm run env start
and visit http://localhost:8888/wp-admin.
You should be able to log in with Username: admin
and Password: password
.