這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Aistore Bhagavad Gita

外掛說明

Aistore Bhagavad Gita is a feature-rich WordPress plugin that brings the timeless wisdom of the Bhagavad Gita to your website visitors.

Features

  • 📖 Full Chapter & Verse Browser — Navigate all 18 chapters and 700 verses with an attractive card grid
  • 🎵 Audio Recitation — Plays MP3 audio for each verse (add your own audio files)
  • 🕉 Verse of the Day — A new verse automatically featured every day
  • 🎲 Random Verse — Display a random verse with one-click refresh
  • 🔍 Live Search — Instant AJAX search across all verse text AND chapter names
  • ★ Favorites — Logged-in users can save and revisit favorite verses
  • 📱 Social Sharing — Share verses on Facebook, Twitter, WhatsApp, and Telegram
  • 📬 Daily Email Subscription — Visitors subscribe to receive the daily verse by email, with working unsubscribe
  • 🗂️ Multiple Translations — Side-by-side translation tabs
  • 🖼️ Chapter Images — Attractive card images for each chapter
  • 📋 Commentary — Display commentary/purport for each verse
  • 🔗 Sidebar Widget — Verse of the Day or Random Verse in any widget area
  • 📱 Fully Responsive — Optimised for all screen sizes
  • 🔒 Secure — CSRF protection, capability checks, proper output escaping throughout

Shortcodes

  • [AistoreBhagavadGita] — Full chapter & verse browser
  • [AistoreVerseOfDay] — Verse of the day block
  • [AistoreRandomVerse] — Random verse with refresh button
  • [AistoreSearch] — Standalone live-search box
  • [AistoreFavorites] — User’s saved verses (requires login)
  • [AistoreSubscribe] — Email subscribe form for daily verse

安裝方式

  1. Upload the aistore-bhagavad-gita folder to wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Dashboard > Bhagavad Gita to configure settings
  4. Create a page and add the shortcode [AistoreBhagavadGita]
  5. Select that page in Settings so share links and email links work correctly

Adding Your Data Files

Place your JSON data files inside the plugin’s data/ folder:

  • data/chapters.json – Chapter list
  • data/verse.json – All verses
  • data/commentary.json – Commentaries (optional, empty fallback included)

Adding Audio

Place MP3 files at: data/verse_recitation/{chapter_id}/{verse_number}.mp3
Example: data/verse_recitation/1/1.mp3

Adding Chapter Images

Place JPG files at: images/chapter1.jpg through images/chapter18.jpg
Also add images/default.jpg as a fallback for missing chapter images.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Aistore Bhagavad Gita〉的開發相關工作。

參與者

將〈Aistore Bhagavad Gita〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0.1

  • FIX: file_exists() now correctly uses filesystem path (not URL) for audio check
  • FIX: rawurlencode() used for social share links (security improvement)
  • FIX: Capability check added to all admin pages
  • FIX: Email cron schedules from tomorrow 08:00, not immediately on activation
  • FIX: commentary.json empty fallback included so missing file causes no errors
  • NEW: Transient caching for JSON files (24-hour cache, greatly improves performance)
  • NEW: Search now searches chapter names in addition to verse text
  • NEW: Secure tokenised unsubscribe handler
  • NEW: Loading state on nav buttons and subscribe button
  • NEW: nl2br() applied to verse text to preserve line breaks
  • NEW: Database indexes for performance
  • NEW: Stats panel in admin sidebar

2.0.0

  • Complete rewrite with all new features

1.0.0

  • Initial release