Custom Page Menus Custom Page Menus

Custom Page Menus

Created by: Ray Viljoen

Rating:
Downloaded: 13k times

The included pages can be defined using the ‘Custom Page Menus’ admin panel on the page-edit screen ( see screenshots ).

The widget allows you to select whether to display the page’s featured image next to the link. (I would recommend using icon sized images for this feature)

On the page-edit screen a custom title for that specific page can also be defined. This title will be used should that page appear anywhere on one of the menus created with the plugin.

The menu can be added to any dynamic sidebar using the Custom Page Menus widget or alternatively coded into themes using the custom template tag:

cpMenu()

$args = array(

‘show_date’ => ,

‘date_format’ => get_option(‘date_format’),

‘child_of’ => 0,

‘exclude’ => ,

‘title_li’ => __(‘Pages’),

‘echo’ => 1,

‘authors’ => ,

‘sort_column’ => ‘menu_order, post_title’,

‘link_before’ => ,

‘link_after’ => ,

‘walker’ => );

Example Usage: http://catn.com/tech/data-centre/

Screenshots

  • Styled version used on WP page.
  • Custom Page Menus settings in page-edit screen.
  • Widget settings.

Categories

Get New Themes & Resources