问题已解决!!!!=)
add_action(\'init\', \'evento_add_rewrite_rules\');
function evento_add_rewrite_rules( $wp_rewrite ){
// Add day archive (and pagination)
add_rewrite_rule("eventos/([0-9]{4})/([0-9]{2})/([0-9]{2})/page/?([0-9]{1,})/?",\'index.php?post_type=evento&ano=$matches[1]&mes=$matches[2]&dia=$matches[3]&paged=$matches[4]\',\'top\');
add_rewrite_rule("eventos/([0-9]{4})/([0-9]{2})/([0-9]{2})/?",\'index.php?post_type=evento&ano=$matches[1]&mes=$matches[2]&dia=$matches[3]\',\'top\');
// Add month archive (and pagination)
add_rewrite_rule("eventos/([0-9]{4})/([0-9]{2})/page/?([0-9]{1,})/?",\'index.php?post_type=evento&ano=$matches[1]&mes=$matches[2]&paged=$matches[3]\',\'top\');
add_rewrite_rule("eventos/([0-9]{4})/([0-9]{2})/?",\'index.php?post_type=evento&ano=$matches[1]&mes=$matches[2]\',\'top\');
// Add year archive (and pagination)
add_rewrite_rule("eventos/([0-9]{4})/page/?([0-9]{1,})/?",\'index.php?post_type=evento&ano=$matches[1]&paged=$matches[2]\',\'top\');
add_rewrite_rule("eventos/([0-9]{4})/?",\'index.php?post_type=evento&ano=$matches[1]\',\'top\');
}