這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

menu shortcode

描述

From this plugin you can call menu from shortcode. Where you have option of giving it id, class etc. Read usage to know more.

  1. Write the shortcode just [listmenu menu=”menu name goes here” menu_id=”menu id goes here”]
    i.e. [listmenu menu=”quick footer” menu_id=”footer_menu”]
  2. you have variety of option to give below is it’s explanation

    'container_class' => 'menu container classname', 
    'container_id'    => menu container id', 
    'menu_class'      => 'menu class', 
    'menu_id'         => 'menu id',
    'before'          => 'before menu html',
    'after'           => 'after menu html',
    'link_before'     => 'before link title',
    'link_after'      => 'after link title'
    
  3. redirect shortcode [redirect location=”http://www.google.com” duration=”1″] or
    [redirect location=”http://localhost:1337/aaneel” duration=”0.2″]
    where you can set location and duration in post and widget as well.
    remember full url is necessary.

Usage

  1. Write the shortcode just [listmenu menu=”menu name goes here” menu_id=”menu id goes here”]
    i.e. [listmenu menu=”quick footer” menu_id=”footer_menu”]
  2. you have variety of option to give below is it’s explanation

    'container_class' => 'menu container classname', 
    'container_id'    => menu container id', 
    'menu_class'      => 'menu class', 
    'menu_id'         => 'menu id',
    'before'          => 'before menu html',
    'after'           => 'after menu html',
    'link_before'     => 'before link title',
    'link_after'      => 'after link title'
    
  3. redirect shortcode [redirect location=”http://www.google.com” duration=”1″] or
    [redirect location=”http://localhost:1337/aaneel” duration=”0.2″]
    where you can set location and duration in post and widget as well.
    remember full url is necessary.

improvment suggestion welcomed

You are always welcome for improvment suggestion.

安裝

This section describes how to install the plugin and get it working.

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can view it in sidebar

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Nirmal Bhagwani; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write mail me at nirmal4designing@gmail.com

評價

2020年7月18日
Really Nice Job. Thank you very much. Still working. I´m using wp 5.4.2
2017年1月1日
Loved the quick solution this plugin provided for adding a menu to the site I was working on. Quick, easy and nice!
閱讀全部6個評價

貢獻者及開發者

“menu shortcode” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 menu shortcode 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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