'notice', // notice, warning, error, okay 'text' => '', 'modified' => false, ), $atts)); if ($modified) $contents[] = ' »» Update: ' .get_the_modified_time('l, j F Y').' «« '; if ($content) $contents[] = $content; $contents[] = $text; return '
'.$type.'
'."\n"; } // noticer mess-age ;-) function shortcode_noteaser($atts, $content = null) { if (is_single()) return ''; else return do_shortcode($content); } function shortcode_home() { return home_url().'/'; } function shortcode_linkbutton($atts, $content = null) { extract(shortcode_atts(array( 'type' => '' // compressed, word, excel, powerpoint ), $atts)); $text = __('Download...', 'oc'); if (!empty($type)) $text = ''.$text.''; if (empty($content)) $content ='#'; return '
'.$text.'
'."\n"; }