Skip to content

pbrocks/pbrocks-sample-blocks

Repository files navigation

pbrocks-sample-blocks

Some blocks developed by pbrocks.

  • Tabs Block - originally done for Gutenberg Examples plugin
  • Image Carousel - proof of concept treatment of Swiper JS

.wp-env

If you have Docker installed, you could use wp-env package to load a WordPress development environment with this plugin automatically activated.

To setup this repo

Install wp-env globally

In a terminal window, run:

npm i -g @wordpress/env

Clone this repository

In a terminal window, run:

git clone [email protected]:pbrocks/pbrocks-sample-blocks.git

if you have your SSH keys set up. If not, run:

git clone https://github.com/pbrocks/pbrocks-sample-blocks.git

Change directory and run wp-env

In your terminal window, run:

cd pbrocks-sample-blocks
wp-env start

You should then see that a development site has been configured for you on localhost port 3466

Development Site Info

Log in to Site / Log into Site

Log in to Development Site

Tabs Block

Tabs Block Screencast

SwiperJS Block

SwiperJS Block Screencast

About

Some blocks developed by pbrocks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published