[WordPress] 外掛分享: Kneejerk Menu Swapper

首頁外掛目錄 › Kneejerk Menu Swapper
WordPress 外掛 Kneejerk Menu Swapper 的封面圖片
全新外掛
安裝啟用
尚無評分
1654 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.2+ v1.1.0 上架:2020-03-08

內容簡介

KJD Menu Swapper 是什麼?

這個外掛旨在讓您能夠根據訪客是否已登入來上下文化您的佈景主題中的菜單。當您的佈景主題中沒有內建此項功能時,這個外掛特別方便!

如果您遇到任何問題或想要提供任何意見,請到底部的聯繫表單與我聯繫。或者,如果您在 Github 上,您也可以 為我建立問題。

它如何運作

安裝 KJD Menu Swapper 後,您將在左側的管理導覽列中看到「Menu Swapper」。點擊進入後,您將看到外掛程式的設定選項。以下是外掛程式的功能:

KJD 抓取您的佈景主題中已登記的菜單。無論您使用任何佈景主題,只要它正確地註冊了菜單,KJD Menu Swapper 就能夠找到它 =]
KJD 然後抓取您在「外觀」->「選單」下配置的菜單
如果某個菜單為已登記的佈景主題菜單進行配置,KJD Menu Swapper 將顯示該菜單。否則,它會顯示「未選擇」。
在主題配置旁的下拉式選單中,您可以選擇在訪客登入時「交換」菜單。
勾選該菜單的啟用核取方塊以啟用交換。
接下來,點擊「保存」按鈕,菜單交換就生效了!

任意章節
作者的話

這個外掛程式設計得相當易於使用,但它只有從像您一樣使用它的人收到建設性的反饋時,才會變得更好!

誠摯地
Ryan “Rohjay” Oeltjenbruns

外掛標籤

開發者團隊

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

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

原文外掛簡介

What is KJD Menu Swapper
This Plugin designed to allow you to contextualize the menus in your theme based on whether or not your visitor is logged in or not. It’s especially handy when this functionality is not built into your theme!
Please report any bugs or feel free to give me any feedback at https://kneejerk.dev/ via the contact form at the bottom. Alternatively, if you’re on Github, you can create an issue for me instead.
How does it work
After installing KJD Menu Swapper, you’ll see the Menu Swapper on the left admin navigation. Once you click there, you’ll be presented with the configuration for the plugin. This plugin does a few things to work:

KJD grabs the menus that your theme has registered. Whatever your theme, if it registers its menus properly, KJD Menu Swapper will find it =]
KJD then grabs the menus that you’ve configured under Appearance -> Menus
If a menu is configured for a registered theme menu, KJD Menu Swapper will show you. Otherwise, it’ll say “None Selected”.
In the dropdown next to what the theme is configured for, you have the option to “swap” it when the visitor is logged in.
Click the enable checkbox for that menu to enable the swap.
Next, bonk the “Save” button, and the menu swap is live!

Arbitrary section
A Note from the Author
It’s designed to be pretty easy to use, but this plugin will only get better with constructive feedback from people who are using it like you!
Sincerely,
Ryan “Rohjay” Oeltjenbruns

延伸相關外掛

文章
Filter
Mastodon