Giter VIP home page Giter VIP logo

google-maps-gutenberg-block's Introduction

Google Maps Gutenberg Block

A WordPress Gutenberg block plugin to embed Google Maps into your posts and pages.

Screenshots

Google Map Output

Directory Structure

.
├── README.md
├── assets
│   ├── build
│   │   ├── block.build.asset.php
│   │   └── block.build.js
│   ├── images
│   │   ├── screenshot_1.png
│   │   ├── screenshot_2.png
│   │   ├── screenshot_3.png
│   │   └── screenshot_4.png
│   └── js
│       ├── block
│       │   ├── attributes.js
│       │   ├── edit.js
│       │   ├── index.js
│       │   └── save.js
│       └── block.js
├── google-maps-gutenberg-block.php
├── includes
│   ├── class-block.php
│   └── class-settings.php
├── package-lock.json
├── package.json
├── readme.txt
└── webpack.config.js

How to Use the Plugin

  1. Installation:

    • Download or clone this repository to your WordPress plugins directory.
    • Activate the plugin from the WordPress admin dashboard.
  2. Setting Up:

    • After activation, go to Settings > Google Maps Gutenberg in your WordPress dashboard.
    • Enter your Google Maps API key and save.
  3. Using the Block:

    • Create or edit a post or page.
    • Add a new block and search for "Google Map".
    • Configure the block by entering an address and adjusting the map's appearance.
  4. Development:

    • If you wish to make changes to the plugin, make sure to rebuild assets using webpack after any change. The configuration is provided in webpack.config.js.
    • Run npm install to get the necessary node modules and npm run build to compile the assets.

Notes

Ensure that the Google Maps API key you use has the correct permissions and billing information on the Google Cloud Platform. This block uses the Maps Embed API.


Developed by Ruel Nopal

google-maps-gutenberg-block's People

Contributors

raketbizdev avatar

Watchers

 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.