Git Product home page Git Product logo

2aces / japu-map-embedder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from celsobessa/japu-map-embedder

0.0 2.0 0.0 932 KB

This plugin allows the embedding of Japu - Rotas da Vertentes (https://www.japuapp.com.br) culture and tourism maps on a WordPress website either by using a shortcode or enabling a map appended to the main content of a page or post

License: GNU General Public License v2.0

PHP 90.72% CSS 5.04% JavaScript 4.24%

japu-map-embedder's Introduction

Japu Map Embedder

This plugin allows the embedding of Japu - Rotas das Vertentes culture and tourism maps on a WordPress website either by using a shortcode or enabling a map appended to the main content of a page or post

Getting Started

Prerequisites

ATTENTION: this plugin is in it's initial development. There may be some bugs and there's no officials support yet. If you have any problem using it, open a issue on it's github repository and we will get in touch as soon as possible.

WordPress > 4.7 PHP > 7.0

Installing

  1. Download the japu-map-embedder from master branch in the official Github repository
  2. In the WordPress admin, got to Plugins -> Add New Plugin
  3. Click on Upload Plugin, choose the zip file and click on install
  4. Also, you can upload japu-map-embedder folder to the /wp-content/plugins/ directory instead of steps 2 and 3
  5. Activate the plugin through the 'Plugins' menu in WordPress
  6. If you are a registered Japu - Rotas das Vertentes partner, go to Customizer -> Japu App Integration and set you Partner ID

Check the Screenshots session below for a visual step-by-step guide to install the plugin

Use

alternative 1 (recommended): automatic prepend to post/page content

This is the ideal and optimized way of embedding a Japu - Rotas das Vertentes webapp map.

Tick the Add Japu Map checkbox in the side area of post and page editors (below publish actions) and the map will be appended automaticall to the main post/page content area in the front-end.

If you are a registered Japu - Rotas das Vertentes partner, set your Partner ID on Customizer -> Japu App Integration and it will be automaticall used with your appended maps for customizing some map styles and content.

alternative 2: japumap shortcode

Use the [japumap] shortcode anywhere in the main content of a post or page. It will be transformed into a map in the front end inside the content area. If you are a Japu - Rotas ds Vertentes partner, you can pass a partnerid parameter and some map styles and content will be customized.

Check the Screenshots session below for a visual step-by-step guide for using the plugin

Screenshots

Installation Screenshots

Click on Add New Plugin Click on Add New Plugin

Click on Upload Plugin Click on Upload Plugin

Choose file and click on install Choose file and click on install

Setup Screenshots

Click on Customizer Click on Customizer

Click on Japu App Integration Click on Japu App Integration

Add your Partner ID Add your Partner ID

Using Screenshots

Click on Add a Japu Map in a page or post... Click on Add a Japu Map in a page or post...

... and will be automatically appended to the main content area ... and will be automatically appended to the main content area

You can add a shortcode to any post type content to embed a Japu map You can add a shortcode to any post type content to embed a Japu map

If you are registered partner, you can use your partnerid in the shortcode If you are registered partner, you can use your partnerid in the shortcode

The shortcode will be transformed in a map in the frontend The shortcode will be transformed in a map in the frontend

Upcoming

  • Custom bottom bar color and partner logo
  • partner menu in the fullscreen map
  • optimized and faster loader for the automatic map
  • map widgets
  • gutenberg editor support

You can suggest improvements and new features on Github

Built With

Contributing

Soon

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Celso Bessa - Initial work - 2Aces

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE.txt file for details

japu-map-embedder's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.