Skip to content

rotaract/rotaract-club-finder

Repository files navigation

Rotaract Club Finder

Open Source Code Style Build Plugin ZIP

WordPress plugin to find the nearest Rotaract clubs on an interactive map.

🔧 Installation

Prerequisites
The plugin’s latest version is already installed at Rotaract Hosting.

🪛 Configuration

  1. Set Meilisearch parameters in your wp-config.php

    snippet of wp-config.php
    define( 'ROTARACT_CLUB_FINDER_MEILISEARCH_URL', 'https://meilisearch.rotaract.de' );
    define( 'ROTARACT_CLUB_FINDER_MEILISEARCH_KEY', '<your-meiliseach-api-key>' );
    define( 'ROTARACT_CLUB_FINDER_MEILISEARCH_SEARCHINDEX', 'Club');
    • The Meilisearch API key is required to have search permission on index Club

  2. Set OpenCage API key in your wp-config.php, used to convert geocode to geopoint data

    snippet of wp-config.php
    define( 'OPENCAGE_API_KEY', '<your-opencage-api-key>' );
  3. Set Google Maps API key in your wp-config.php, used to display Google Maps

    snippet of wp-config.php
    define( 'GOOGLE_MAPS_API_KEY', '<your-google-maps-api-key>' );

🪄 Usage

  1. Add the shortcode [rotaract-club-finder] to a new or existing site that will insert the map.

Copyright © 2019-2024, Rotaract Deutschland

Licensed under European Union Public License 1.2 (EUPL-1.2).

Rotary, Rotaract, and Interact are trademarks or registered trademarks of Rotary International and are used with the permission of Rotary International. Other trademarks not owned by Rotary International are the property of their respective owners. The license above does not grant any rights under trademark law and all such rights are reserved. Modified versions must be renamed to avoid use of any Rotary International trademarks, including but not limited to Rotary, Rotaract, and Interact.

All Rotary, Rotaract, and Interact logos and graphics are under copyright.