Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Loads the Starability styles to enable star rating fields, see https://support.themecatcher.net/quform-wordpress-v2/guides/customization/star-rating
<?php
/*
* Plugin Name: Quform Star Rating
* Description: Loads the Starability styles to enable star rating fields.
* Version: 1.0.0
*/
add_action('wp_enqueue_scripts', function () {
wp_enqueue_style('starability', 'https://cdnjs.cloudflare.com/ajax/libs/starability/2.4.2/starability-css/starability-basic.css');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment