WP Manifestindependent plugin directory
manifest / editor / geo-my-posts

Geo My Posts

Gutenberg block plugin for adding geolocation to posts and rendering them with Google Maps.

by Mofistudio · github.com/mofistudio/geo-my-posts

0stars
0forks

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/mofistudio/geo-my-posts/archive/refs/heads/main.zip

Geo My Posts is a WordPress block plugin that lets you add location data to posts and display it using a Google Maps block.


✨ Features

  • Add a location to posts and pages directly in the block editor
  • Display a single post location with the Single Map block
  • Simple modal-based location picker
  • Configure Google Maps API key and Map ID
  • Control map options (zoom, fullscreen, map type, Street View)
  • Enable location features for selected post types

📸 Screenshots

Set Location Modal – Choose a post location

Set Location Modal – Choose a post location


Single Map Block – Display a saved location on the front end

Single Map Block – Display a saved location on the front end


🚀 Installation

  1. Upload the plugin to /wp-content/plugins/geo-my-posts/
  2. Activate it in WordPress
  3. Go to Geo My Posts → Map Settings
  4. Enter your Google Maps API key and Map ID

🧩 Usage

  1. Open a post or page in the block editor
  2. Click Set Location in the post settings panel
  3. Choose a location using the map modal
  4. Add the Single Map block to display the location

⚙️ Development

Install dependencies:

npm install

Build the plugin:

npm run build

Start development mode:

npm start

📌 Notes

  • Requires a valid Google Maps API key
  • A Map ID is recommended for advanced styling
  • Works with selected post types defined in settings

📄 License

GPL-2.0-or-later