Swiper integration for Wordpress
swiper_shortcode($params, $content)
swiper_slide_shortcode($params, $content)
swiper_gallery_shortcode($params, $content)
get_swiper($template, $format, $params)
register_swiper_theme($name, $theme)
Download Docker CE for your OS. Download NodeJS for your OS.
docker-compose run --rm wp install-wp
After installation you can log in with user wordpress
and password wordpress
.
If you like, you can import Wordpress Standard Demo Content like this:
docker-compose run wp import vendor/wptrt/theme-unit-test --authors=skip
npm i
Point terminal to your project root and start up the container.
docker-compose up -d
Point your browser to http://localhost:8080.
npm run watch
docker-compose run composer update
docker stop $(docker ps -a -q)
Due to some permission issues, you need to chmod your container's web-root prior to running the updater:
docker-compose exec wordpress bash
From the container shell, change permissons all down the tree.
chmod -R 777 .
After CTRL+D
, you're ready to update Wordpress, either from the admin-interface or using wp-cli:
docker-compose run wp core update
Create a build for production
npm run build