描述
From this plugin you can call menu from shortcode. Where you have option of giving it id, class etc. Read usage to know more.
- 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”] -
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'
-
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
- 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”] -
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'
-
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.
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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