manifest / integrations / wp-represent-map
WP Represent Map
Wordpress plugin based on Represent Map (https://github.com/abenzer/represent-map)
by Andre Cardoso aka andrebian · github.com/andrebian/wp-represent-map · website
★ 8stars
28composer installs
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/andrebian/wp-represent-map/archive/refs/heads/master.zipAlso on Packagist as andrebian/wp-represent-map:
composer require andrebian/wp-represent-mapFrom the readme
WP REPRESENT MAP
Wordpress plugin based on [Represent Map][1].
The original represent map is a full-system to manage startups, accelerators, coworking and much more pin on maps using Google Maps API.
This plugin is inspired on the original Represent Map providing
the wordpress admin management. The same functionality inside Wordpress.
INSTALLATION
Composer
"andrebian/wp-represent-map": "dev-master"
Cloning
Clone this repository into your wp-content/plugins path keeeping the wp-represent-map path name and enable it on Wordpress admin panel.
Downloading as zip
Download it as zip, unzip into your wp-content/plugins path keeping the wp-represent-map path name.
USAGE
Indispensable
On your functions.php put the following code:
/ Single item height in pixels /
if ( !defined('SINGLEHEIGHTMAP') ) {
define('SINGLEHEIGHTMAP', '150PX');
}
/ Full map height in pixels /
if ( !defined('ALLHEIGHTMAP') ) {
define('ALLHEIGHTMAP', '560px');
}
After this follow the steps bellow.
Admin Panel
Configure your default location and default lat lng in Settings/Wp Represent Map admin page. After this create your item types in Map Items/Type on w