WP Manifestindependent plugin directory
manifest / integrations / wp-findus-pro

Findus Pro

Create custom maps easily

★ 0stars
v0.1.0-beta.4latest · never

Install

Download source zip No release zip yet

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.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

wp-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

NameDescriptionDefault
addressA geocodeable address string
api_keyProvide an api-key for the Google Maps API
latitudeLocation coordinate latitude
longitudeLocation 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 update

Releases

1 release.

Tag
Published
v0.1.0-beta.4 latest
Jul 30, 2019 7 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.