"EEEEEE")); add_filter('use_default_gallery_style', '__return_false'); } /* Blog info */ function acation_site_info($show_desc = true) { $site_title = get_bloginfo('name'); echo '
'.get_bloginfo('description').'
'; } } if($audio_list != "" || $ie_audio_list != "") return ''.$audio_list.$ie_audio_list.''; } /* Extract quotes */ function acation_post_quote() { global $post; $quote_list = ""; $quote_arr = array(); if(preg_match_all("/(.*?)<\/blockquote>/s",$post->post_content, $matches)) { $quote_arr = $matches[0]; foreach($quote_arr as $entry) { $quote_list .= $entry; } } return $quote_list; } /* Trim words function */ function acation_trim_text($input, $length = 50, $ellipses = true, $strip_html = true) { if($strip_html) { $input = strip_tags($input); } if(strlen($input) <= $length) { return $input; } $last_space = strrpos(substr($input, 0, $length), ' '); $trimmed_text = substr($input, 0, $last_space); if($ellipses) { $trimmed_text .= '...'; } return $trimmed_text; } ?>
(.*?)<\/blockquote>/s",$post->post_content, $matches)) { $quote_arr = $matches[0]; foreach($quote_arr as $entry) { $quote_list .= $entry; } } return $quote_list; } /* Trim words function */ function acation_trim_text($input, $length = 50, $ellipses = true, $strip_html = true) { if($strip_html) { $input = strip_tags($input); } if(strlen($input) <= $length) { return $input; } $last_space = strrpos(substr($input, 0, $length), ' '); $trimmed_text = substr($input, 0, $last_space); if($ellipses) { $trimmed_text .= '...'; } return $trimmed_text; } ?>