Findus Pro
Create custom maps easily
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/benignware/wp-findus-pro/archive/refs/heads/master.zipwp-findus
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.
Install
Copy to your plugins directory manually or install from git via composer.
Usage
Shortcode
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]
Widget
Simply drag the FindUs-Widget to your sidebar and enter title and some geocodeable content.
API
Options
| 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 |
Development
Download Docker CE for your OS. Download NodeJS for your OS.
Install
Install wordpress
docker-compose run --rm wp install-wp
After installation you can log in with user wordpress and password wordpress.
Install front-end dependencies
npm i
Development Server
Point terminal to your project root and start up the container.
docker-compose up -d
Point your browser to http://localhost:8030.
Watch front-end dependencies
npm run watch
Docker
Update composer dependencies
docker-compose run composer update
Globally stop all running docker containers
docker stop $(docker ps -a -q)
Update Wordpress
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 updateReleases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.