get_var("SELECT ID FROM $wpdb->posts WHERE post_name = '".$page_name."'"); return $page_name_id; } //If more than one page exists, return TRUE. function show_post_navigation() { global $wp_query; return ($wp_query->max_num_pages>1); } function character_limiter($str,$n=550,$end_char='…') { if(strlen($str)<$n) { return $str; } $str=preg_replace("/\s+/",' ',str_replace(array("\r\n","\r","\n"),' ',$str)); if(strlen($str)<=$n) { return $str; } $out=""; foreach (explode(' ',trim($str)) as $val) { $out.=$val.' '; if(strlen($out)>=$n) { $out=trim($out); return (strlen($out)==strlen($str))?$out:$out.$end_char; } } } function get_the_content_with_formatting($more_link_text='(more...)',$character_limit=null,$stripteaser=0,$more_file='') { $content=get_the_content($more_link_text,$stripteaser,$more_file); if($tab1=get_post_meta(get_the_ID(),'_ot_multiplecontent_box-tab-1',TRUE)) $content=$tab1; if($character_limit!=null && $character_limit>0) $content=character_limiter(strip_tags(strip_shortcodes($content))); $content=apply_filters('the_content',$content); $content=str_replace(']]>',']]>',$content); return $content; } function titlecase_shortcode($atts) { extract(shortcode_atts(array( 'letter'=>'c' ),$atts)); $letter=strtolower($letter); return ''.$letter.''; } add_shortcode('titlecase','titlecase_shortcode');

Sorry, but the page you're looking for could not be found.