[WordPress] 外掛分享: Barar Menu Visibility Rules

首頁外掛目錄 › Barar Menu Visibility Rules
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-07-31

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Barar Menu Visibility Rules」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Barar Menu Visibility Rules gives you granular control over which menu items are shown to your visitors. No coding required — configure everything directly in the WordPress menu editor.
Features

User Status — Show items to everyone, logged-in users, or logged-out users
User Roles — Target specific WordPress user roles (admin, editor, subscriber, etc.)
Specific Pages — Show or hide items on specific pages or URLs
Devices — Display items based on desktop, tablet, or mobile devices
Page Categories — Control visibility on category archive pages
Post Types — Show or hide on specific post type archives and single views
Date & Time — Schedule menu items to appear within specific date and time ranges
URL Parameters — Toggle visibility based on URL query parameters (e.g., ?campaign=summer)
Referral URL — Show or hide items based on the HTTP Referer header
Country — Target visitors by country using IP geolocation
City — Target visitors by city using IP geolocation
WooCommerce Cart — Show items based on cart status (requires WooCommerce)

Combine multiple conditions using AND/OR logic for advanced targeting. Lightweight, secure, and compatible with all modern WordPress themes.
Does this work with any theme?
Yes, this plugin works with any WordPress theme that uses the standard WordPress menu system.
Does it support WooCommerce?
Yes. When WooCommerce is active, a cart status condition type becomes available.
Can I combine multiple conditions?
Yes. You can add multiple conditions per menu item and choose between AND (all conditions must match) or OR (any condition must match) logic.
Does this plugin use external services?
Country and city conditions use ip-api.com (free) to determine visitor location based on IP address. Geolocation data is cached locally for 1 hour. No personal data is stored or transmitted beyond the IP address lookup. CloudFlare users can also use CF-IPCountry header.
How does country/city detection work?
The plugin detects visitor location using their IP address, checked against CloudFlare headers (if available) or the ip-api.com geolocation service. This data is cached per IP for one hour. If geolocation is unavailable, the condition is skipped (menu item remains visible).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon