### Senja WordPress Plugin

---

This is the WordPress Plugin for embedding testimonials from [Senja.io](https://senja.io/).

#### Build & Production

Before activating the plugin, we need to build it for production or development.

1. Position yourself into the plugin folder /wp-content/plugins/senja
2. Run `npm install` to install all dependencies
3. Run `npm start` for development or `npm run build` for optimized production build

#### Activating the Plugin

1. Go to your WordPress /wp-admin part
2. Go to **Plugins**
3. Find **Senja** & click _Activate_

#### Pushing the Plugin to the WordPress Plugin Repository

To push the plugin to the WordPress plugin repository, you need to install SVN.

Guide on using it for Plugin repository: [https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/](https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/)

Guide on preparing Plugin assets for the repository (icons, readme, images):

- Assets: [https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/](https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/)
- Readme: [https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/](https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/)
- Other: [https://developer.wordpress.org/plugins/wordpress-org/](https://developer.wordpress.org/plugins/wordpress-org/)

