Skip to content

whyisjake/raptorize-it

Repository files navigation

Raptorize It

WordPress Plugin Version WordPress Plugin Downloads WordPress Plugin Rating Deploy to WordPress.org License: MIT

An awesome jQuery plugin that unleashes a Raptor of Jurassic proportions on your WordPress site!

Description

You're sitting at your desk, coding up a 500 page site, knee-deep in Extreme Cheddar Doritos sipping on a liter of Code Red Mountain Dew when you realize... this page would be so much more awesome with a VELOCIRAPTOR.

Features

  • Konami Code Activation: Type ↑ ↑ ↓ ↓ ← → ← → B A to unleash the raptor
  • Click Activation: Add raptor fun to any button or link
  • Timer Activation: Automatically trigger after a set delay
  • Full audio support with the classic raptor screech

Installation

  1. Upload raptorize-it to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Visit your site and try the Konami Code (↑ ↑ ↓ ↓ ← → ← → B A)
  4. Enjoy the raptor!

Requirements

  • WordPress 5.0 or higher
  • PHP 8.0 or higher

Development

Setup

Install dependencies:

# Install PHP dependencies
composer install

# Install Node dependencies (if developing JavaScript)
npm install

Linting

Run PHP CodeSniffer to check code standards:

# Check PHP code
composer lint
# or
npm run lint:php

# Auto-fix PHP code
composer format
# or
npm run format:php

# Check JavaScript code
npm run lint:js

# Check all code
npm run lint

Testing

Open index.html in your browser to test the plugin standalone without WordPress.

Coding Standards

This plugin follows the WordPress Coding Standards.

PHP code is checked with:

  • WordPress-Core
  • WordPress-Docs
  • PHPCompatibilityWP (PHP 7.0+)

Credits

License

MIT License - Free to use under the MIT license.

About

An awesome jQuery plugin that unleashes a Raptor of Jurassic proportions on your WordPress site!

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •