內容簡介
使用相對於當前 WordPress 安裝根目錄的連結建立自訂選單項目。
只需像正常添加自定義連結一樣,用%ROOT%作為前綴在連結URL前添加。例如,如果您的 WordPress 安裝在 http://mydomain.com/wp 並希望獲得 http://mydomain.com/wp/myCustomPage,您只需編寫%ROOT%/myCustomPage。
相對選單項目
使用相對於 WordPress 根目錄的連結建立自訂選單項目。
重要注意事項
未在多站點安裝中進行測試。
外掛標籤
開發者團隊
原文外掛簡介
Create custom menu items with links relative to the root url of the current wordpress installation.
Simply add a custom link as normal with the url prefixed by %ROOT%. e.g. to get http://mydomain.com/wp/myCustomPage if your wordpress lives at http://mydomain.com/wp then you just write %ROOT%/myCustomPage for your link url.
Relative Menu Item
Create custom menu items with links relative to the wordpress root url.
Important Notes
Not tested with multisite installations.
