eviivo Booking Widget
WordPress plugin for easy eviivo booking widget code generation
by eviivo · github.com/eviivo/eviivo-wp-booking-widget · website
★ 1stars
4.2krelease downloads
1forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/eviivo/eviivo-wp-booking-widget/releases/download/v1.0/eviivo-wp-booking-widget.zipFrom the readme
eviivo Booking Widget - WordPress plugin
Install
The front end files (css/js) need to be compiled if you're working of the repository files.
To do so, you will need to have npm and grunt-cli (npm install -g grunt-cli) installed.
Build command
Development
While developing you can use the watch task to build the files on the fly.
Structure
The plugin tries to implement the PSR-0 standard. All the classed are loaded automatically from the src folder, using the eviivo\Plugin namespace.
File structure
- assets - frontend resources.
- dist - computed automatically
- source
- images
- js
- less
- config - php config files
- languages - po/mo dictionary files.
- shortcodes
- all the files in this folder are registered automatically as short codes.
- the files name will the shortcode tag name
- the attributes will be extracted as variables in the current scope. To get to the all the attributes use the $attributes variable.
- src/eviivo/Plugin - PHP sources
- Admin/Hooks/Filters and Admin/Hooks/Filters
- create static methods in these classes and they will be registered as filters/actions
- to register a filter/action that has illegal characters in the name for a meth
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0 | Aug 30, 2016 | eviivo-wp-booking-widget.zip | 4,232 |