Skip to content

Official WordPress plugin: Auto-detects Bible references, displays instant verse previews. Mobile-first, lightning fast, fully customizable. 501(c)(3) nonprofit mission.

License

Notifications You must be signed in to change notification settings

primebible/wordpress-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PrimeBible Verse Preview - WordPress Plugin

License WordPress PHP

Beautiful, mobile-friendly Bible verse tooltips for WordPress. Auto-detects references and shows instant previews.

Download from WordPress.org | Documentation | Report Bug | Request Feature


🎬 See It In Action

PrimeBible Verse Preview Demo

Hover over any Bible reference to see instant verse previews

✨ Features

  • πŸ” Auto-detection of Bible references (e.g., "John 3:16", "Romans 8:1-4")
  • πŸ“± Mobile-optimized with touch support and long-press
  • ⚑ Lightning fast - aggressive caching, lazy loading, prefetch
  • 🎨 Fully customizable - themes, styles, timing, behavior
  • πŸ”’ Privacy-focused - no tracking or data collection
  • 🌍 Multiple translations - KJV, ESV, ASV, WEB, and more
  • β™Ώ Accessible - keyboard navigation and screen reader friendly
  • πŸš€ Performance - <50kb, deferred loading, minimal DOM impact

πŸ“Έ Screenshots

Verse Tooltip

Verse Tooltip Hover or tap any Bible reference to see an instant verse preview

Admin Settings

Admin Settings Full control over translations, themes, and behavior

πŸš€ Quick Start

From WordPress.org (Recommended)

1. Go to Plugins β†’ Add New in WordPress admin
2. Search "PrimeBible Verse Preview"
3. Click Install β†’ Activate
4. Configure at Settings β†’ PrimeBible

Manual Installation

1. Download the latest release
2. Upload to /wp-content/plugins/primebible-verse-preview/
3. Activate through WordPress admin
4. Configure settings

From Source (Developers)

cd /path/to/wordpress/wp-content/plugins
git clone https://github.com/primebible/wordpress-plugin.git primebible-verse-preview

πŸ’‘ Usage

Write content naturally with Bible references:

Jesus said, "I am the way, the truth, and the life" (John 14:6).
For more context, read Romans 8:1-4 and Ephesians 2:8-9.

The references automatically become interactive tooltips. No manual markup required!

βš™οΈ Configuration

Access settings at Settings β†’ PrimeBible in WordPress admin.

Key Options

  • Bible Translation: Choose from 10+ translations
  • Theme: Light, dark, or system preference
  • Tooltip Appearance: Width, position, animations
  • Performance: Caching, lazy loading, prefetch
  • Per-Post Control: Disable on specific posts/pages

See full documentation for all options.

πŸ› οΈ Development

Requirements

  • PHP 7.4+
  • WordPress 5.8+
  • Modern browser with ES2020+ support

File Structure

wordpress-plugin/
β”œβ”€β”€ .github/
β”‚   └── FUNDING.yml              # GitHub Sponsors configuration
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ primebible-embed.js     # Source JavaScript
β”‚   β”‚   └── primebible-embed.min.js # Minified production JS
β”‚   β”œβ”€β”€ css/
β”‚   β”‚   └── admin.css               # Admin panel styles
β”‚   β”œβ”€β”€ package.json                # Build configuration (terser)
β”‚   └── .gitkeep                    # Folder placeholder
β”œβ”€β”€ .gitattributes              # GitHub Linguist configuration
β”œβ”€β”€ CHANGELOG.md                # Version history
β”œβ”€β”€ CONTRIBUTING.md             # Contribution guidelines
β”œβ”€β”€ LICENSE                     # GPL-2.0+ license
β”œβ”€β”€ README.md                   # This file
β”œβ”€β”€ primebible-verse-preview.php # Main plugin file (861 lines)
└── uninstall.php               # Cleanup on uninstall

Local Development

# Clone the repo
git clone https://github.com/primebible/wordpress-plugin.git

# Create symlink in your WordPress install
ln -s /path/to/repo /path/to/wordpress/wp-content/plugins/primebible-verse-preview

# Activate in WordPress admin

Testing

Test on:

  • βœ… Latest WordPress version
  • βœ… PHP 7.4, 8.0, 8.1, 8.2
  • βœ… Common page builders (Gutenberg, Elementor, Divi)
  • βœ… Multiple themes
  • βœ… Mobile devices

🀝 Contributing

Contributions are welcome! Please read CONTRIBUTING.md first.

Ways to Contribute

  • πŸ› Report bugs via Issues
  • πŸ’‘ Suggest features
  • πŸ”§ Submit pull requests
  • 🌍 Translate into other languages
  • πŸ“– Improve documentation

πŸ“‹ Changelog

[2.5.1] - 2025-11-15

Added

  • Chapter verse counts awareness for accurate range detection
  • maxMatchesPerNode and maxNodeTextLength performance limits
  • Debug mode for troubleshooting

Improved

  • Mobile touch interaction reliability
  • Cache efficiency with LRU algorithm

Fixed

  • Edge case with overlapping verse ranges
  • Tooltip positioning on narrow viewports

See CHANGELOG.md for full version history.

πŸ“„ License

GPL-2.0-or-later. See LICENSE for details.

Free for personal and commercial use. Modify and redistribute as you like.

πŸ™ About PrimeBible

PrimeBible is a 501(c)(3) nonprofit dedicated to making deep Bible study accessible to everyone.

Our Free Tools

  • πŸ“– Original language analysis (Hebrew/Greek)
  • πŸ“š Strong's Concordance integration
  • πŸ”— Cross-reference explorer
  • πŸ“… Biblical timeline
  • ✍️ Scholarly articles on prophecy and theology

Mission: Provide free, high-quality Bible study resources to the global church.

Visit PrimeBible.com β€’ Donate

πŸ’¬ Support

We're committed to excellent support. If you have an issue, we'll help you resolve it.

⭐ Support the Project

If this plugin blesses your ministry:

  • ⭐ Star this repository
  • πŸ“ Leave a 5-star review on WordPress.org
  • πŸ“’ Share with other Christian content creators
  • πŸ’ Donate to support nonprofit Bible tools

Made with ❀️ for the global church

PrimeBible β€’ A 501(c)(3) Nonprofit Organization