slug] = $key->name;
}
}
return $cat_ar;
}else{
return false;
}
}
}// end function_exists
/**
* Change the Read More button
*/
if ( ! function_exists( 'caos_new_content_more' ) ){
function caos_new_content_more($more) {
global $post;
return '
' . esc_html__( 'Read more', 'caos' ) . ' ';
}
}// end function_exists
add_filter( 'the_content_more_link', 'caos_new_content_more' );
/**
* Change the_excerpt length
*/
function custom_excerpt_length( $length ) {
return 13;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );