This file contains 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( ! class_exists( 'Testimonials_Widget' ) ) : | |
/** | |
* Create a widget to display a random testimonial post. | |
* Refer to https://gist.github.com/1971046 and https://gist.github.com/1971054 for the Custom Post Type and Meta Box Setup | |
* | |
* @since 1.0 | |
*/ | |
class Testimonials_Widget extends WP_Widget { | |
function Testimonials_Widget() { |