Description
Displays a menu created on the ‘Appearance > Menus’ page as a list of links.
Includes advanced options to add CSS styles, modify the title and add HTML/ Text before and after each link.
Replaces the built in Menus Widget (WP_Nav_Menu_Widget).
A hook is available to filter the title: dmg_custom_menu_widget_title.
For example, to change the title on a single page or post, you could add this to your functions.php file:
function myTitleFilter( $title )
{
if( is_singular() )
{
return "<strong>$title</strong>";
}
else
{
return $title;
}
}
add_filter( 'dmg_related_pages_widget_title' , 'myTitleFilter');
More information about this plugin can be found at http://dancoded.com/wordpress-plugins/custom-menu-widget/.
Installation
- Upload the plugin files to the
/wp-content/plugins/dmg-custom-menu-widgetdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ page in the WordPress admin area
- Drag onto any active sidebar on the ‘Appearance > Widgets’ page
Reviews
There are no reviews for this plugin.
Contributors & Developers
“DMG Custom Menu Widget” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.
PenyumbangTranslate “DMG Custom Menu Widget” into your language.
Berminat dalam pembangunan?
Layari kod, periksa repositori SVN, atau langgani log pembangunan dengan RSS.
Changelog
1.0
- Initial version
