/** * 插件实现方法 * * @access public * @return void */ public static function render() { echo Calendar_Plugin::buildCalendar(); //echo '<a href="{url}" class="list-group-item" title="{title}" target="_blank">这里是日历插件</a>'; }
?> <h3 class="widget-title"><?php _e('友情链接'); ?> </h3> <?php Links_Plugin::output(); if (class_exists("Calendar_Plugin")) { ?> <div class="list-group"> <h3 class="widget-title"><?php _e(' '); ?> </h3> <?php Calendar_Plugin::render(); ?> </div> <?php } ?> <?php if (!empty($this->options->sidebarBlock) && in_array('ShowRecentComments', $this->options->sidebarBlock)) { ?> <section class="widget"> </section> <?php } ?>