Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

My Account navigation to menu

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

My Account navigation to menu

Bởi MohammadJafar Khajeh
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

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)

Ảnh màn hình

Intro
Intro

Cài đặt

  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.

Hỏi đáp

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.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“My Account navigation to menu” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • MohammadJafar Khajeh

Dịch “My Account navigation to menu” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0.0.0

  • Initial release.

Meta

  • Phiên bản 1.0.0.0
  • Cập nhật lần cuối 1 tuần trước
  • Số lượt cài đặt Ít hơn 10
  • Phiên bản WordPress 6.0 hoặc cao hơn
  • Đã kiểm tra lên đến 7.0.2
  • Phiên bản PHP 7.4 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    EndpointsmenuMy accountnavigationwoocommerce
  • Nâng cao

Đánh giá

Chưa có đánh giá nào được gửi.

Your review

Xem tất cả đánh giá

Những người đóng góp

  • MohammadJafar Khajeh

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.
The WordPress® trademark is the intellectual property of the WordPress Foundation.