* add_action( 'after_setup_theme', 'my_child_theme_setup' ); * function my_child_theme_setup() { * // We are providing our own filter for excerpt_length (or using the unfiltered value) * remove_filter( 'excerpt_length', 'sonar_excerpt_length' ); * ... * } * * * For more information on hooks, actions, and filters, see http://codex.wordpress.org/Plugin_API. * * ###########################-- Start editing Below --############################### */ /* Example below, you can deleate it. lets make the pagination show 5 pages instead of 4. * The child themes function.php is loaded first and sence the admired theme uses if(!function_exists(admired_pagination)): * Calling the function here will over ride Admired function. */ function admired_pagination($pages = '', $range = 4) { /* handle pagination for post pages*/ $showitems = ($range * 2)+1; global $paged; if(empty($paged)) $paged = 1; if($pages == '') { global $wp_query; $pages = $wp_query->max_num_pages; if(!$pages) { $pages = 1; } } if(1 != $pages) { echo "