Skip to content

jonathandhn/opentime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTime WordPress Plugin

Version WordPress License

OpenTime is a powerful WordPress plugin designed to manage establishment opening hours with a focus on gender-specific slots. Ideally suited for gyms, spas, community centers, or religious institutions that require distinct schedules for Men and Women, OpenTime also provides a robust REST API for seamless external integration.

✨ Features

  • Gender-Specific Schedules: Define separate opening hours for Men and Women easily.
  • Smart Status Widget: specific [opentime_status] shortcode that displays current status and the next upcoming opening slot.
  • REST API Support: Native WP REST API endpoints for building mobile apps or external displays.
  • optimized: Lightweight and cache-friendly.

🚀 Installation

  1. Download the latest release .zip.
  2. Upload to your WordPress plugins directory (/wp-content/plugins/).
  3. Activate via the Plugins menu.
  4. Configure your schedule under Settings > OpenTime.

💻 Usage

Shortcode

Display the status widget anywhere on your site:

[opentime_status gender="all"]

Attributes:

  • gender: men, women, or all (default).

REST API

Fetch current status programmatically:

GET /wp-json/opentime/v1/status

Parameters:

  • gender: men or women (optional).

👤 Author

Jonathan Dahan

📄 License

This project is licensed under the GPLv2 or later.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages