Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/radoz-dev/wp-rado-casino-finder/archive/refs/heads/master.zipWordPress plugin for managing and displaying online casinos.
Features
Interactive Casino Finder Quiz
The main feature of this plugin is an interactive quiz that helps users find the most appropriate casino for their preferences. Use the following shortcode to display the quiz:
[online_casino_finder_quiz title="Casino Finder Quiz" description="This quiz help you find the most appropriate casino for you"]
The quiz walks users through a series of questions and matches them with the best casino from your database based on their answers.
Online Casino Custom Post Type
The plugin registers a custom post type "Online Casino" for creating and managing casino reviews. Each casino entry contains comprehensive data including:
- Casino name and logo
- Number of slot games
- Available packages
- VIP program availability
- Special offers and bonus codes
- Affiliate links
Development
Prerequisites
- Node.js and npm installed
- Composer installed
Installation
-
Install PHP dependencies:
composer install -
Install Node.js dependencies:
npm install
Building Assets
The plugin uses @wordpress/scripts to compile and minify assets.
Source files:
- SCSS:
assets/public/src/scss/main.scss - JavaScript:
assets/public/src/js/main.js
Output (dist):
- CSS:
assets/public/dist/css/main.css(+ minified + RTL version) - JavaScript:
assets/public/dist/js/main.js(minified)
Available commands:
Build for production (minified):
npm run build
Development mode with watch:
npm run watch
Or:
npm start
File Structure
wp-rado-casino-finder/
├── assets/
│ ├── admin/
│ │ ├── css/
│ │ └── js/
│ └── public/
│ ├── src/ # Source files (edit these)
│ │ ├── scss/
│ │ └── js/
│ └── dist/ # Compiled files (don't edit)
│ ├── css/
│ └── js/
├── src/
│ ├── Admin/
│ ├── Assets/
│ ├── Core/
│ └── Public/
├── languages/
├── package.json
├── webpack.config.js
└── wp-rado-casino-finder.php