Create contact maps easily
This plugin lets you quickly add a map to your posts or sidebar by providing a location or some geocodeable content.
It is doing so by integrating jquery-findus of which a copy is bundled with this distribution.
Copy to your plugins directory manually or install from git via composer.
Wrap some geocodeable content into the findus shortcode
[findus]
8411 Market Street
San Francisco
CA 94103
USA
[/findus]
Resolve an address from a location:
[findus latitude="37.77485730000001" longitude="-122.41962339999998"/]
Avoid geocoding by providing location and content:
[findus latitude="37.77485730000001" longitude="-122.41962339999998"]
8411 Market Street
San Francisco
CA 94103
USA
[/findus]
Simply drag the FindUs-Widget to your sidebar and enter title and some geocodeable content.
Name | Description | Default |
---|---|---|
address | A geocodeable address string | |
api_key | Provide an api-key for the Google Maps API | |
latitude | Location coordinate latitude | |
longitude | Location coordinate longitude |
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
.
npm i
Point terminal to your project root and start up the container.
docker-compose up -d
Point your browser to http://localhost:8030.
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