Title: Skip To Content Button
Author: Jon @ Twenty Eighty Online
Published: <strong>2020 年 10 月 23 日</strong>
Last modified: 2020 年 10 月 23 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/skip-to-content-button.svg)

# Skip To Content Button

 由 [Jon @ Twenty Eighty Online](https://profiles.wordpress.org/twentyeighty/) 開發

[下載](https://downloads.wordpress.org/plugin/skip-to-content-button.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/skip-to-content-button/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/skip-to-content-button/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/skip-to-content-button/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/skip-to-content-button/#developers)

 [技術支援](https://wordpress.org/support/plugin/skip-to-content-button/)

## 外掛說明

The Skip to Content Button plugin adds a visually hidden but assistive technology/
keyboard accessible button after the opening body tag that helps users using assistive
technology to skip to a defined area on the page (by default an element with the
id of “main”).

The Skip to Content Button plugin features a settings area where users can define
a custom button class, a custom target, and a custom string that is the label for
the button.

## 安裝方式

To install the Skip to Content Button plugin:

 1. Upload `skip-to-content-button.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the Skip To Content Button page within the Settings menu
 4. Assign the correct destination to the Destination ID

## 常見問題集

### How do I find out what my destination URL is?

The most straight forward way to do this would be to view the page source of the
front-end of your website (in most browsers, right click and press view page source)–
and then look for the main content area of your site (typically this should be a
element) and copy the ID of that tag.

### Can I change this programatically without using the settings page?

Absolutely! The Skip to Content Button has 3 filters:

 * stcb_skip_to_content_button_link – This filters the destination URL in the button
 * stcb_skip_to_content_button_css_class – This filters the CSS Class in the button
 * stcb_skip_to_content_button_text – This filters the Button Text in the button

### The button isn’t displaying in my theme!

This plugin requires the wp_body_open(); to be present in the theme for the button
to load. If this isn’t in your theme edit your theme (or child theme) and place 
wp_body_open(); after the opening tag.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Skip To Content Button〉的開發相關工作。

參與者

 *   [ Jon @ Twenty Eighty Online ](https://profiles.wordpress.org/twentyeighty/)

[將〈Skip To Content Button〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/skip-to-content-button)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/skip-to-content-button/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/skip-to-content-button/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/skip-to-content-button/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/skip-to-content-button/)。

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **6 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 5.2.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.5.18**
 *  語言
 * [English (US)](https://wordpress.org/plugins/skip-to-content-button/)
 * 標籤:
 * [a11y](https://tw.wordpress.org/plugins/tags/a11y/)[accessibility](https://tw.wordpress.org/plugins/tags/accessibility/)
   [wcag](https://tw.wordpress.org/plugins/tags/wcag/)
 *  [進階檢視](https://tw.wordpress.org/plugins/skip-to-content-button/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/skip-to-content-button/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/skip-to-content-button/reviews/)

## 參與者

 *   [ Jon @ Twenty Eighty Online ](https://profiles.wordpress.org/twentyeighty/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/skip-to-content-button/)