定制 andrebian/wp-represent-map 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

andrebian/wp-represent-map

Composer 安装命令:

composer require andrebian/wp-represent-map

包简介

Represent Map Plugin for Wordpress

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

WP REPRESENT MAP

Wordpress plugin based on Represent Map.

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('SINGLE_HEIGHT_MAP') ) {
    define('SINGLE_HEIGHT_MAP', '150PX');
}

/* Full map height in pixels */
if ( !defined('ALL_HEIGHT_MAP') ) {
    define('ALL_HEIGHT_MAP', '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 wordpress admin panel. Now just create your Map items providing the correct address and selecting which is the type of it.

Blog/Site

The WP Represent Map works with shortcode. To show all items in a map use:

[represent-map]

To show only one type of items on map provide the slug you want to show in type parameter:

[represent-map type=startup]

NOTE

This plugin actually works with only 2 category levels, if exists more than 2 levels the following WILL NOT APPEAR on lateral menu.

CONTRIBUTING

I am just starting the development and would be very happy if anyone can help to create an awesome tool.

If you want to contribute, please read CONTRIBUTING file.

统计信息

  • 总下载量: 28
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Creative
  • 更新时间: 2014-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固