This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * For developers who want to display a Post's rating in a specific place, and do not wish to | |
| * use Shortcodes, the below code can be used. | |
| * | |
| * There must be a Field Group configured at Comment Rating Field Pro > Field Groups to display | |
| * rating fields for the Post Type of the Post ID specified. | |
| */ | |
| if ( function_exists( 'display_average_rating' ) ) { | |
| display_average_rating( array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * For developers and themes which do not make use of the WordPress comment_form() function, | |
| * the below code can be added to your theme's comment form. | |
| * | |
| * There must be a Field Group configured at Comment Rating Field Pro > Field Groups to display | |
| * rating fields for the Post Type the visitor is viewing. | |
| */ | |
| if ( function_exists( 'display_rating_fields' ) ) { | |
| echo display_rating_fields(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * If the aria-label argument has been specified in a wp_dropdown_categories() call, | |
| * output the aria-label option in the <select> | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param string $output HTML Output | |
| * @param array $arguments wp_dropdown_category() arguments | |
| * @return string Modified HTML Output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Adds a title attribute to iframe oembeds | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param string $html HTML | |
| * @param string $url URL to embed | |
| * @param array $attributes HTML Attributes | |
| * @param int $post_id Post ID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Adds a title attribute to iframe oembeds | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param string $html HTML | |
| * @param string $url URL to embed | |
| * @param array $attributes HTML Attributes | |
| * @param int $post_id Post ID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * If the aria-label argument has been specified in a wp_dropdown_categories() call, | |
| * output the aria-label option in the <select> | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param string $output HTML Output | |
| * @param array $arguments wp_dropdown_category() arguments | |
| * @return string Modified HTML Output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: The Events Calendar: Categories | |
| * Plugin URI: http://www.n7studios.co.uk | |
| * Version: 1.0.0 | |
| * Author: n7 Studios | |
| * Author URI: http://www.n7studios.co.uk | |
| * Description: Register WordPress' Categories Taxonomies for The Events Calendar | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class BCC_Parking { | |
| public function get() { | |
| // Fetch JSON | |
| $url = 'http://butc.opendata.onl/UTMC%20parking.json'; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Comment Rating Field Pro: Remove Schema Markup from Shortcodes | |
| * Plugin URI: http://www.wpcube.co.uk/plugins/comment-rating-field-pro-plugin | |
| * Version: 1.0.0 | |
| * Author: WP Cube | |
| * Author URI: http://www.wpcube.co.uk | |
| * Description: Removes schema markup from shortcodes. Requires CRFP Pro 3.4.0+ | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Page Generator Pro - Deregister / Dequeue Google Maps JS | |
| * Plugin URI: http://www.wpcube.co.uk/plugins/page-generator-pro | |
| * Version: 1.0.0 | |
| * Author: WP Cube | |
| * Author URI: http://www.wpcube.co.uk | |
| * Description: Page Generator Pro - Deregister / Dequeue Google Maps JS | |
| */ |