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 | |
| add_action( 'wp_enqueue_scripts', 'THEMENAME_dequeue_sk_testimonials_styles', 999 ); | |
| /** | |
| * Dequeue the SK Testimonials default stylesheet. | |
| * | |
| * @param none | |
| * @return none | |
| */ | |
| function THEMENAME_dequeue_sk_testimonials_styles() { |
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 | |
| /** | |
| * The plugin bootstrap file | |
| * | |
| * This file is read by WordPress to generate the plugin information in the plugin | |
| * admin area. This file also includes all of the dependencies used by the plugin, | |
| * registers the activation and deactivation functions, and defines a function | |
| * that starts the plugin. | |
| * | |
| * @link http://example.com |
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 | |
| add_action( 'wp_enqueue_scripts', 'themename_dequeue_easy_testimonials_scripts' ); | |
| /** | |
| * Dequeues the default styles provided by the Easy Testimonials plugin. | |
| * | |
| * We're styling the widgets and posts ourselves, so we don't need their | |
| * extra stylesheet. | |
| * | |
| * @since 1.0.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 | |
| add_action( 'wp_enqueue_scripts', 'themename_dequeue_upw_styles', 999 ); | |
| /** | |
| * Dequeues the default stylesheet from the Ultimate Posts Widget plugin. | |
| * | |
| * We're going to style the widget ourselves, so instead of loading and | |
| * overriding unnecessary styles, we're just going to remove the stylesheet. | |
| * | |
| * @since 1.0.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 | |
| /** | |
| * The plugin bootstrap file | |
| * | |
| * This file is read by WordPress to generate the plugin information in the plugin | |
| * admin area. This file also includes all of the dependencies used by the plugin, | |
| * registers the activation and deactivation functions, and defines a function | |
| * that starts the plugin. | |
| * | |
| * @since 1.0.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 | |
| /** | |
| * The plugin bootstrap file | |
| * | |
| * This file is read by WordPress to generate the plugin information in the plugin | |
| * admin area. This file also includes all of the dependencies used by the plugin, | |
| * registers the activation and deactivation functions, and defines a function | |
| * that starts the plugin. | |
| * | |
| * @link http://example.com |
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 | |
| add_filter( 'upw_wp_query_args', 'THEMENAME_exclude_images_without_featured_image' ); | |
| /** | |
| * Only show posts that have a featured image in the Ultimate Posts widget. | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param $args array | |
| * @return mixed |
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 | |
| add_action( 'wp_enqueue_scripts', 'themename_dequeue_easy_testimonials_style', 999 ); | |
| /** | |
| * Removes the Easy Testimonials CSS style because we're styling the testimonials | |
| * in our stylesheet. | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param none |
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 | |
| /** | |
| * The plugin bootstrap file | |
| * | |
| * This file is read by WordPress to generate the plugin information in the plugin | |
| * admin area. This file also includes all of the dependencies used by the plugin, | |
| * registers the activation and deactivation functions, and defines a function | |
| * that starts the plugin. | |
| * | |
| * @link http://example.com |