bacoords / example-wp-settings

This is an example of a JavaScript and WP REST API-powered WordPress settings page.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example WP Settings Page

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-2023-11-18-14 48 34

Development

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

Running Locally

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.

Learn more about wp-env.

About

This is an example of a JavaScript and WP REST API-powered WordPress settings page.


Languages

Language:PHP 49.4%Language:JavaScript 47.8%Language:SCSS 2.8%