跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

My Account navigation to menu

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

My Account navigation to menu

由 MohammadJafar Khajeh 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

By default, WooCommerce builds the My Account page navigation (Orders, Downloads, Addresses, Account details, Logout, etc.) from its own internal list, and customizing it normally means writing PHP filters.

This plugin registers a dedicated WordPress menu location called Account page menu. Once you assign a menu to that location, the plugin:

  • Replaces the default My Account navigation items with the items from your menu (using the menu item’s title and URL).
  • Rewrites WooCommerce’s internal endpoint URLs so they match the URLs defined in your menu.

This means you can manage the My Account navigation the same way you manage any other menu on your site — via Appearance → Menus — including reordering items by drag-and-drop, renaming labels, and adding or removing entries.

If no menu is assigned to the Account page menu location, the plugin has no effect and WooCommerce’s default My Account navigation is used as-is.

Requirements

  • WordPress 5.8 or later
  • PHP 7.4 or later
  • WooCommerce (active)

螢幕擷圖

Intro
Intro

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/, or install the plugin zip via Plugins → Add New → Upload Plugin in your WordPress admin.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Appearance → Menus.
  4. Create a new menu (or choose an existing one) and add the items you want to appear on the My Account page.
  5. Under Menu Settings, assign the menu to the Account page menu location, then save.

常見問題集

Does this work without WooCommerce?

No, WooCommerce must be installed and active, since this plugin hooks into WooCommerce’s account navigation filters.

Can I add custom links or pages?

Yes. Any item you can normally add to a WordPress menu (pages, custom links, posts, categories) can be added to the Account page menu, as long as the corresponding endpoint exists.

What happens to endpoints not included in my menu?

Endpoints not present in your assigned menu are left to WooCommerce’s default behavior for their URL, but only items present in the menu will be pulled into the rendered navigation list.

How do I change the order of the My Account tabs?

Drag and drop the items into the order you want inside the Account page menu under Appearance → Menus, then save the menu.

How do I rename a tab, like “Orders” or “Downloads”?

Edit the corresponding menu item’s navigation label in Appearance → Menus and save. The new label will appear on the My Account page.

How do I remove a tab?

Simply leave its menu item out of (or remove it from) the menu assigned to the Account page menu location.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈My Account navigation to menu〉的開發相關工作。

參與者
  • MohammadJafar Khajeh

將〈My Account navigation to menu〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.0.0

  • Initial release.

中繼資料

  • 版本 1.0.0.0
  • 最後更新 1 週前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.0 或更新版本
  • 已測試相容的 WordPress 版本 7.0.2
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    EndpointsmenuMy accountnavigationwoocommerce
  • 進階檢視

評分

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

Your review

查看全部使用者評論

參與者

  • MohammadJafar Khajeh

技術支援

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

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.