Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

95 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 ExploreXR - 3D Model Viewer Plugin

WordPress Compatible PHP Version License Version

🌐 Transform Your WordPress Site with Interactive 3D Content

ExploreXR brings the power of interactive 3D models to your WordPress website with zero coding required. Using Google's industry-leading Model Viewer technology, your visitors can interact with stunning 3D content directly in their browserβ€”rotating, zooming, and even viewing products in their own space through AR.

Perfect for: E-commerce stores, product showcases, portfolios, museums, educational sites, real estate listings, architectural firms, and any website looking to engage users with immersive 3D experiences.

✨ Features That Make ExploreXR Special (Free Edition)

🎯 Core Capabilities

  • Simple Model Management - Upload GLB/GLTF/USDZ with ease
  • Intuitive Dashboard - Streamlined model organization
  • Flexible Shortcode System - Place models anywhere
  • Responsive Design - Perfect on all devices
  • Progressive Loading - Smooth user experience
  • Comprehensive Error Handling - Never leave users hanging

🧭 Seamless Admin Flow

  • Custom Editor - Guided create/edit pages for models
  • Responsive Presets - One-click Small/Medium/Large/Full with device breakpoints
  • Device Overrides - Tablet and mobile size meta saved explicitly
  • Secure Uploads - Sanitized GLB/GLTF/USDZ handling into uploads/explorexr_models
  • Accessibility Ready - Alt text, interaction prompts
  • Admin Notices - Error/validation feedback built-in
  • Page Builder Integrations - Elementor, Divi, Avada, Gutenberg widgets included

βš™οΈ Advanced Controls

  • Loading Attributes - Localized data-attrs for the JS loader
  • Safe Dimensions - Percent/percent combos auto-corrected to visible sizes
  • Clean Data Management - Import/export and uninstall options
  • Performance Tools - Progressive loading + lazy posters
  • Developer Friendly - Shortcode hooks, model-viewer filters
  • Robust Security - Nonces, capability checks, file scanners
  • Free Premium Add-on - Choose one premium add-on for free: AR, Animation, or Loading Options

🎬 Model Showcase Made Simple

ExploreXR handles the technical complexities so you can focus on showcasing your 3D content:

  • Drag-and-drop Uploads - No technical knowledge needed
  • Instant Previews - See your models before publishing
  • Multiple Display Options - Control size, position, and behavior
  • Interactive Controls - Zoom, rotate, pan with intuitive controls
  • Cross-browser Support - Consistent experience across all major browsers
  • AR Mode on Mobile - USDZ for iOS, WebXR for Android (via free AR add-on)

πŸŽ₯ See It In Action

ExploreXR Demo

πŸ“Έ View More Screenshots

Admin Dashboard

Admin Dashboard

Model Management

Model Management

AR Mode on Mobile

AR Mode on Mobile

πŸš€ Quick Start Guide

Installation

# Option 1: WordPress Admin
1. Download the ZIP from GitHub
2. Go to WordPress Admin β†’ Plugins β†’ Add New β†’ Upload Plugin
3. Upload the ZIP file and click "Install Now"
4. Click "Activate Plugin"

# Option 2: Manual Installation
1. Download and unzip the plugin
2. Upload the 'explorexr' folder to /wp-content/plugins/
3. Activate through the WordPress admin interface

Your First 3D Model in 60 Seconds

  1. Navigate to "ExploreXR β†’ Create Model" in your WordPress admin
  2. Upload your GLB/GLTF file via drag-and-drop
  3. Configure basic settings (size, position, controls)
  4. Save your model and copy the generated shortcode
  5. Paste the shortcode into any post or page:
[explorexr_model id="123" width="100%" height="400px" auto-rotate="true"]

System Requirements

Requirement Minimum Recommended
WordPress 5.0+ 6.0+
PHP 7.4+ 8.0+
Memory Limit 64MB 128MB+
Browser Modern browsers with WebGL support Chrome, Firefox, Safari, Edge (latest versions)

🎨 Usage Examples

Basic Shortcode

[explorexr_model id="123"]

PHP Template Integration

<?php
// Display model in theme template
if (function_exists('explorexr_display_model')) {
    explorexr_display_model(123, array(
        'width' => '100%',
        'height' => '500px',
        'auto-rotate' => true
    ));
}
?>

πŸ”§ Configuration

Model Display Options

  • Dimensions: Custom width/height or responsive sizing
  • Controls: Orbit, zoom, pan, auto-rotate
  • Loading: Custom loading text, progress indicators
  • AR Mode: Enable/disable augmented reality viewing
  • Camera: Default position, field of view, limits

Device-Specific Settings

Configure different display options for:

  • �️ Desktop (1024px+)
  • πŸ“± Tablet (768px - 1023px)
  • πŸ“± Mobile (< 768px)

🚦 Performance Optimization

ExploreXR includes multiple features to ensure optimal performance:

  • Progressive Loading - Models load in stages to minimize perceived wait time
  • Lazy Loading - Models only load when they come into view
  • Custom Poster Images - Display static images until model loads
  • Device-Specific Settings - Automatically adjust quality based on device capabilities
  • Compression Support - Compatible with Draco and other compressed formats
  • Optimized Assets - Efficient loading of required scripts and styles
  • Caching - Browser caching for improved repeat visits

πŸ”’ Security & Privacy

ExploreXR is built with security as a top priority:

  • File Validation - Strict checking of uploaded model files
  • Sanitized Input - All user inputs are properly sanitized
  • Capability Checks - WordPress permission system integration
  • NONCE Protection - Protection against CSRF attacks
  • XSS Prevention - Proper output escaping throughout
  • GDPR Compliance - No personal data collection
  • Clean Code - Following WordPress security best practices

πŸš€ Free Premium Add-on (Choose One)

ExploreXR Free includes one premium add-on of your choice. You can activate one of the following add-ons from the ExploreXR β†’ Free Add-ons admin page:

  • AR Addon β€” Enable augmented reality on mobile, including USDZ support for iOS and WebXR support for Android
  • Animation Addon β€” Play, pause, loop, and control GLTF animations directly inside the 3D viewer
  • Loading Options Addon β€” Customize the loading experience with poster images, loading behavior, and smoother model presentation

🌟 Premium Add-ons

Unlock all 12 add-ons plus priority support. Details at expoxr.com/explorexr/premium.

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“‹ Changelog (Highlights)

1.3.0

  • Fixed: GLB/GLTF/USDZ uploads failing with "Invalid file type" due to PHP finfo MIME detection mismatch
  • Added: upload_mimes filter registering correct MIME types for all 3D model formats
  • Added: wp_check_filetype_and_ext filter handling finfo returning application/octet-stream
  • Improved: Conflict notice distinguishes Premium-vs-Free from Free-vs-Free duplicate scenarios
  • Added: function_exists() guards on all file-scope functions

1.2.0

  • Fixed: GLB/GLTF/USDZ upload MIME type validation now accepts all three formats reliably
  • New: Free add-on system β€” activate one premium add-on (AR, Animation, or Loading Options) at no cost
  • New: Free Add-ons admin page with one-click install and activation
  • New: Conflict prevention blocks simultaneous activation with ExploreXR Premium

1.1.x

  • Stability and compatibility improvements
  • PHPCS escaping compliance updates

1.0.9

  • New: Canonical display size presets (Small/Medium/Large/Full) applied across create/edit/shortcode
  • New: Tablet and mobile size meta now populated for presets (no silent fallbacks)
  • New: %/% dimension guard in admin + backend + shortcode to prevent invisible viewers
  • Fixed: Loading attribute filter alignment so data-* reach the JS loader
  • Fixed: Admin CPT slug/meta casing, premium URL wrapper, and existing file constant
  • UI: Added early-adopter 50% banner on Dashboard and Go Premium pages

1.0.8

  • Database query compliance and cache-manager brace fix
  • Shared admin components CSS, grid-based layouts, and PHPCS cleanup
  • Cache management now uses WP cache APIs; improved styling and focus states

1.0.7

  • Responsive device sizes honored on frontend; admin title fixes and nonce/sanitization improvements
  • Poster previews and upload tab UX refinements

1.0.6

  • Initial public release: core 3D viewer, shortcode, admin UI, progressive loading, security framework

πŸ“ License

This project is licensed under the GPL v2 or later - see the LICENSE file for details.

πŸ”— Links

πŸ“Š Stats

GitHub stars GitHub forks GitHub issues GitHub downloads


Made with ❀️ by Ayal Othman

Transform your WordPress website with immersive 3D experiences. Start with ExploreXR today!

About

The Free Version of ExploreXR

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages