Wordpress starting framework for magic websites.
Full documentation: https://github.com/ideonetwork/wideo/wiki
Run the following commands inside the wp-content/themes directory:
git clone https://github.com/ideonetwork/wideo
cd wideo
npm install -g webpack-cli
yarn install
npm run start
Run the following commands inside the directory:
git clone https://github.com/ideonetwork/wideo
cd wideo
npm install -g webpack-cli
yarn install
npm run static
npm run start
npm run build
The build process should create a ./build directory with the official theme ready for production.
<form action="<?php echo admin_url( 'admin-ajax.php' ); ?>" data-controller="form" method="post" enctype="multipart/form-data">
<div data-form-target="feedback"></div>
<input type="hidden" name="_form" value="contacts">
<input type="hidden" name="action" value="custom_ajax_mailer">
<input type="hidden" name="honey" value="">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" name="name" placeholder="Enter name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Enter email" required>
</div>
[....]
<div class="form-group">
<label for="file">File</label>
<input type="file" class="form-control" id="file" name="file">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>