DMG Custom Menu Widget

DMG Custom Menu Widget Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,194 downloads
DMG Custom Menu Widget Icon

Try plugin: DMG Custom Menu Widget

We'll create fresh WordPress site with DMG Custom Menu Widget installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About DMG Custom Menu Widget

Display any Menu in your sidebar or widgetized area. With advanced options to add CSS classes, modify the title & add custom HTML/ Text.

0


0


0


0


0

updated: 8 years ago
since: 8 years ago
author: Dan Gifford

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/.