ID, 'featured', TRUE)) { $img = get_post_meta($post->ID, 'featured', TRUE); return $img; } else { } } //Function to change the_excerpt length function the_content_limit($max_char, $more_link_text = '(more...)', $stripteaser = 0, $more_file = '') { $con = get_the_content($more_link_text, $stripteaser, $more_file); $con = apply_filters('the_content', $con); $con = str_replace(']]>', ']]>', $con); $con = strip_tags($con); if (strlen($_GET['p']) > 0) { echo $con; } else if ((strlen($con)>$max_char) && ($espacio = strpos($con, " ", $max_char ))) { $con = substr($con, 0, $espacio); $con = $con; echo $con; echo "..."; } else { echo $con; } } //Make new excerpt Link function change_excerpt($content) { $content = str_replace('[...]','...',$content); // remove [...], replace with ... $content = strip_tags($content); // remove HTML return $content; } add_filter('the_excerpt','change_excerpt'); //Register Sidebars register_sidebar(array( 'name' => 'Footer Sidebar', 'description' => 'Widgets in this area will be shown in the center footer column', 'before_title' => '