Title: TinyNav
Author: Beee
Published: <strong>2012 年 10 月 17 日</strong>
Last modified: 2014 年 10 月 12 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/tinynav.svg)

# TinyNav

 由 [Beee](https://profiles.wordpress.org/beee/) 開發

[下載](https://downloads.wordpress.org/plugin/tinynav.zip)

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

 [技術支援](https://wordpress.org/support/plugin/tinynav/)

## 外掛說明

This plugin adds TinyNav.js to your wp_head() so your menu(s) will be converted 
into a menu which is better readable on mobile screens.
 This plugin is based on
Viljami Salminen’s [tinynav.js](http://tinynav.viljamis.com/).

A big thanks goes out to Emil Uzelac from [ThemeID](http://themeid.com/). Thanks
to his Responsive theme I got the idea and with his help I got it working.

## 螢幕擷圖

[⌊iPhone menu⌉⌊iPhone menu⌉[

iPhone menu

[⌊iPhone menu expanded with a child and grandchild page⌉⌊iPhone menu expanded with
a child and grandchild page⌉[

iPhone menu expanded with a child and grandchild page

## 安裝方式

 1. Upload the `tinynav` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure your menu id/class and margins (if necessary) by going to the `TinyNav`
    menu that appears in your settings menu

## 常見問題集

  Installation Instructions

 1. Upload the `tinynav` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure your menu id/class and margins (if necessary) by going to the `TinyNav`
    menu that appears in your settings menu

  Which class/ID gets changed ?

Out of the box `#site-navigation ul` gets changed.

  Can I change which class/id gets changed ?

Yes, you can do this on the settings page.

  My menu shifts to the left/right, can I correct it ?

Yes, you can add a margin (in pixels) on the settings page.

  I don’t have a home button in my menu, can I get one ?

Yes, create a custom menu with a home button in WordPress menus

  Does it work on all templates ?

No. It works on most templates, but some templates prevent the plugin from hiding
the menu, which could end up in 2 menus and some themes prevent theplugin from showing
the menu.
 I can’t change that (yet) unfortunately. For example, it doens’t work
properly on TwentyEleven and TwentyTwelve, but it does work on TwentyThirteen (and
others).

For the plugin to work your template must have one of the following lines in the
header (mostly right after ‘charset’):

or

    ```
    <meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    ```

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Beee ](https://profiles.wordpress.org/beee/)

[將〈TinyNav〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tinynav)

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

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

## 變更記錄

#### 1.4

 * added an iphone 5 screensize/break points
 * added an option to add a custom screen width
 * updated tinynav.js to 1.2
 * updated tinynav.min.js to 1.2

#### 1.3

 * ???

#### 1.2

 * added more screensizes/break points
 * added option to load tinynav.min.js in wp_footer()

#### 1.1

 * updated the script which enqueues tinyman.min.js with a jquery dependency

#### 1.0

 * changed several variable names to prevent any clashing with other plugins
 * changed which selector is used out of the box, change from #access ul to #site-
   navigation ul

#### 0.9

 * removed a function which loaded an outdated jquery, which caused some other plugins
   to stop working

#### 0.8

 * renamed all variables back to their original names because it caused a bug

#### 0.7

 * enqueued js files in a function
 * added the option to add meta viewport to your header
 * renamed all variables to a more unique name
 * removed an absolete function which caused a bug with some templates
 * styled css so it’s better to read

#### 0.6

 * made some grammar corrections
 * made the screenwidth activation customizable

#### 0.5.1

 * fixed a bug for when the site’s core files are in a [subdirectory](http://https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory/)

#### 0.5

 * added an option to use a custom id/class
 * checked if child/grandchild pages work (and they do 😉 )
 * fixed the broken donate image

#### 0.4

 * added an option to add a custom top-margin in pixels
 * added an option to add a custom bottom-margin in pixels
 * styled the admin side
 * added a settings link on the plugin page

#### 0.3

 * added an option to add a custom right-margin in pixels

#### 0.2

 * updated the active menu class, so the menu sticks to its current page
 * updated names of functions so they won’t clash with any other plugin (hardly 
   likely but just in case)
 * added an option to add a custom left-margin in pixels

## 中繼資料

 *  版本 **1.4**
 *  最後更新 **12 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.0.38**
 *  語言
 * [English (US)](https://wordpress.org/plugins/tinynav/)
 * 標籤:
 * [menu](https://tw.wordpress.org/plugins/tags/menu/)[mobile](https://tw.wordpress.org/plugins/tags/mobile/)
   [navigation](https://tw.wordpress.org/plugins/tags/navigation/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tinynav/advanced/)

## 評分

 4.7 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/tinynav/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/tinynav/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/tinynav/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/tinynav/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/tinynav/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tinynav/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/tinynav/reviews/)

## 參與者

 *   [ Beee ](https://profiles.wordpress.org/beee/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tinynav/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=info%40rubber%2dlab%2ecom&lc=NL&item_name=TinyNav%20plugin&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest)