Changeset 789356
- Timestamp:
- 10/17/2013 03:46:18 PM (12 years ago)
- File:
-
- 1 edited
-
gcal-sidebar/trunk/gcal-sidebar.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gcal-sidebar/trunk/gcal-sidebar.php
r361754 r789356 4 4 Plugin URI: http://www.oriontechnologysolutions.com/gcal-sidebar/ 5 5 Description: Pulls a Google Calendar feed and displays it in your sidebar. 6 Version: 2. 96 Version: 2.10 7 7 Author: Orion Technology Solutions 8 8 Author URI: http://www.oriontechnologysolutions.com … … 45 45 46 46 function shortcode($atts) { 47 $rval = ""; 47 48 if(!isset($atts['feed_id'])) 48 49 return "feed_id must be set"; … … 54 55 $title = $this->get_title($calGroup, $atts['title_url_option']); 55 56 56 echo"<div class='gcal_sidebar'>";57 echo"<h2>" . $title . "</h2>";58 $ this->display_feed($calGroup, $atts);59 echo"</div>";57 $rval .= "<div class='gcal_sidebar'>"; 58 $rval .= "<h2>" . $title . "</h2>"; 59 $rval .= $this->display_feed($calGroup, $atts, false); 60 $rval .= "</div>"; 60 61 } 61 62 /** @see WP_Widget::widget */
Note: See TracChangeset
for help on using the changeset viewer.