{"id":1332,"date":"2017-01-31T17:31:25","date_gmt":"2017-02-01T00:31:25","guid":{"rendered":"https:\/\/guide.weavertheme.com\/?p=1332"},"modified":"2017-01-31T17:32:51","modified_gmt":"2017-02-01T00:32:51","slug":"shortcode-extra_menu-x-plus","status":"publish","type":"post","link":"https:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/","title":{"rendered":"Shortcode : [extra_menu] &#8211; X-Plus"},"content":{"rendered":"<h3>Extra Menus<\/h3>\n<p><strong><code>[ extra_menu menu_name='Menu Name' menu_style='menu-options' menu_type='accordion' class='your-class']<\/code><\/strong><\/p>\n<p>You can easily add extra menus to almost any location on your site by using either the Weaver Xtreme Plus Extra Menu widget, or the [extra_manu] shortcode. Much of the description of the shortcode parameters apply equally to the widget.<\/p>\n<p>The <code>[ extra_menu]<\/code> shortcode allows you to display a menu you&#8217;ve defined in the <em>Appearance\u2192Menus<\/em> panel almost any place in your site: in a sidebar text widget, on a post or page, or in one of the <em>HTML Insertion<\/em> areas found on the <em>Weaver Admin\u2192Advanced Options<\/em> tab. Simply insert the shortcode with at least a menu name wherever you want the menu to appear.<\/p>\n<ol>\n<li><strong>menu_name=<\/strong> &#8211; Which custom menu to display as defined in the Appearance : Menus admin page.<\/li>\n<li><strong>menu_style=<\/strong> &#8211; The &#8216;menu_style&#8217; parameter is used to specify how the menu will look. There are five different styles that can be applied to any of the menu types supported by the Extra Menu shortcode and widget. The styling is based on one of the four standard menu bar styling options, or adding no styling. Any of the Styling Options can be applied to any type of menu, but the Horizontal menu only uses a subset of the options available for a Standard or Vertical Accordion menu styling. Some more details about each Menu Option area:\n<ol>\n<li><span class=\"css\"><strong>extra<\/strong><\/span> &#8211; The Extra Menu menu styling option set is provided with Weaver Xtreme Plus, and is intended to provide all styling options for your extra menus. When &#8216;extra&#8217; is specified, the options defined in the Extra Menu block will be applied to the extra menu.<\/li>\n<li><span class=\"css\"><strong>primary, secondary<\/strong><\/span> &#8211; You can also specify primary or secondary to have those styling option applied to an extra menu. This will allow you to match the main menu styling.<\/li>\n<li><span class=\"css\"><strong>header_mini<\/strong><\/span> &#8211; Specifying header_mini will use the minimal color, background, font, and hover colors specified for the Header Mini-Menu. This option is most useful for simple horizonta or verticall menus. <strong>Important note:<\/strong> this style is compatible <em>only<\/em> with the horizontal or simple vertical menu type. It will generate an error message instead of a menu if not used properly.<\/li>\n<li><strong>none<\/strong> &#8211; If you specify none, then no extra styling options are applied to the extra menu. It will use the styling from the default style-weaverx.css stylesheet.<\/li>\n<\/ol>\n<\/li>\n<li><strong>menu_type=<\/strong> &#8211; This specifies the type of menu to display. There are 4 types of menus supported: a vertical accordion menu, the standard horizontal menu bar, and simple flat horizontal or vertical menus.\n<ol>\n<li><code class=\"css\"><strong>accordion<\/strong><\/code> &#8211; Displays a Vertical Accordion menu in a width determined by the enclosing container &#8211; usually the sidebar area. In fact, the vertical accordion menu is the same menu displayed for the mobile device view, but without the open\/close icon &#8211; it is always open to the top level menu items, and will open submenus using an accordion effect. It will use the same colors as you&#8217;ve defined for your main menu bars. It is easiest to use the Weaver Xtreme Plus Extra Menu widget to add a menu to a widget area. To add a menu to an HTML insertion box, or to a normal content area, simply add <code>[ extra_menu menu_name='mymenu' menu_style='primary' menu_type='accordion']<\/code> to the content area. Using a style of &#8216;primary&#8217; means the menu will match the style of your primary menu.<\/li>\n<li><code class=\"css\"><strong>vertical<\/strong><\/code> &#8211; Displays a very simple vertical menu. This is a simple vertical list with separate menu items separated by horizontal lines, and submenu levels are indented. The styling is limited: the colors are styled using only the top-level text and hover text and background colors of the specified menu_style, and current page text styling (no bg).<\/li>\n<li><code><strong>horizontal<\/strong><\/code> &#8211; Displays a very simple horizontal one-level menu. The links are styled using the standard link colors of the specified menu_style. This style is useful for placing a simple link menu right below your main menu, for example.<\/li>\n<li><code><strong>standard<\/strong><\/code> &#8211; Displays a standard horizontal drop-down menu, just like the primary or secondary menu. When styled using primary, secondary, or extra, a standard extra menu bar will display as a horizontal menu on the desktop view, and have the standard mobile menu display for mobile devices.<\/li>\n<\/ol>\n<\/li>\n<li><strong>class=<\/strong> &#8211; If you specify a class, the class will be added to the container that wraps the menu. You can define the style using the Custom CSS option.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong>Weaver Xtreme Plus Extra Menu Widget<\/strong><\/h4>\n<p>This widget will display an extra menu in the widget. The [ extra_menu] parameters described above are included as drop-down selection boxes in the widget option box on the Widgets admin page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extra Menus [ extra_menu menu_name=&#8217;Menu Name&#8217; menu_style=&#8217;menu-options&#8217; menu_type=&#8217;accordion&#8217; class=&#8217;your-class&#8217;] You can easily add extra menus to almost any location on your site by using either the Weaver Xtreme Plus Extra Menu widget, or the [extra_manu] shortcode. Much of the description <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90,98,104,83],"tags":[32],"class_list":["post-1332","post","type-post","status-publish","format-standard","hentry","category-menus","category-shortcodes","category-user-guide","category-xtreme-plus","tag-menus"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shortcode : [extra_menu] - X-Plus - Weaver Xtreme Guide<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shortcode : [extra_menu] - X-Plus - Weaver Xtreme Guide\" \/>\n<meta property=\"og:description\" content=\"Extra Menus [ extra_menu menu_name=&#039;Menu Name&#039; menu_style=&#039;menu-options&#039; menu_type=&#039;accordion&#039; class=&#039;your-class&#039;] You can easily add extra menus to almost any location on your site by using either the Weaver Xtreme Plus Extra Menu widget, or the [extra_manu] shortcode. Much of the description &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/\" \/>\n<meta property=\"og:site_name\" content=\"Weaver Xtreme Guide\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-01T00:31:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-02-01T00:32:51+00:00\" \/>\n<meta name=\"author\" content=\"Weaver\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Weaver\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/\"},\"author\":{\"name\":\"Weaver\",\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#\\\/schema\\\/person\\\/ba142e05c232b3067ff00af1100a86d6\"},\"headline\":\"Shortcode : [extra_menu] &#8211; X-Plus\",\"datePublished\":\"2017-02-01T00:31:25+00:00\",\"dateModified\":\"2017-02-01T00:32:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/\"},\"wordCount\":767,\"publisher\":{\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#organization\"},\"keywords\":[\"Menus\"],\"articleSection\":[\"Menus\",\"Shortcodes\",\"User Guide\",\"Xtreme Plus\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/\",\"url\":\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/\",\"name\":\"Shortcode : [extra_menu] - X-Plus - Weaver Xtreme Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#website\"},\"datePublished\":\"2017-02-01T00:31:25+00:00\",\"dateModified\":\"2017-02-01T00:32:51+00:00\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/guide.weavertheme.com\\\/shortcode-extra_menu-x-plus\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/guide.weavertheme.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shortcode : [extra_menu] &#8211; X-Plus\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#website\",\"url\":\"https:\\\/\\\/guide.weavertheme.com\\\/\",\"name\":\"Weaver Xtreme Guide\",\"description\":\"One Theme to Design Them All\",\"publisher\":{\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/guide.weavertheme.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#organization\",\"name\":\"WeaverTheme\",\"url\":\"https:\\\/\\\/guide.weavertheme.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"http:\\\/\\\/guide.weavertheme.com\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/weaver-xtreme-small.jpg\",\"contentUrl\":\"http:\\\/\\\/guide.weavertheme.com\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/weaver-xtreme-small.jpg\",\"width\":320,\"height\":74,\"caption\":\"WeaverTheme\"},\"image\":{\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/guide.weavertheme.com\\\/#\\\/schema\\\/person\\\/ba142e05c232b3067ff00af1100a86d6\",\"name\":\"Weaver\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/02ce192f43948dd62f8998f2abd5781531972c11da36486249ea734d13fa2fb7?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/02ce192f43948dd62f8998f2abd5781531972c11da36486249ea734d13fa2fb7?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/02ce192f43948dd62f8998f2abd5781531972c11da36486249ea734d13fa2fb7?s=96&r=g\",\"caption\":\"Weaver\"},\"description\":\"I created the first version of Weaver in 2010, and have been improving it ever since. My goal has always been to provide the options necessary for non-programmers and non-experts to be able to create highly customized WordPress sites without the need to understand PHP or complex CSS.\",\"url\":\"https:\\\/\\\/guide.weavertheme.com\\\/author\\\/aspenco\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shortcode : [extra_menu] - X-Plus - Weaver Xtreme Guide","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Shortcode : [extra_menu] - X-Plus - Weaver Xtreme Guide","og_description":"Extra Menus [ extra_menu menu_name='Menu Name' menu_style='menu-options' menu_type='accordion' class='your-class'] You can easily add extra menus to almost any location on your site by using either the Weaver Xtreme Plus Extra Menu widget, or the [extra_manu] shortcode. Much of the description &hellip; Continue reading &rarr;","og_url":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/","og_site_name":"Weaver Xtreme Guide","article_published_time":"2017-02-01T00:31:25+00:00","article_modified_time":"2017-02-01T00:32:51+00:00","author":"Weaver","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Weaver","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/#article","isPartOf":{"@id":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/"},"author":{"name":"Weaver","@id":"https:\/\/guide.weavertheme.com\/#\/schema\/person\/ba142e05c232b3067ff00af1100a86d6"},"headline":"Shortcode : [extra_menu] &#8211; X-Plus","datePublished":"2017-02-01T00:31:25+00:00","dateModified":"2017-02-01T00:32:51+00:00","mainEntityOfPage":{"@id":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/"},"wordCount":767,"publisher":{"@id":"https:\/\/guide.weavertheme.com\/#organization"},"keywords":["Menus"],"articleSection":["Menus","Shortcodes","User Guide","Xtreme Plus"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/","url":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/","name":"Shortcode : [extra_menu] - X-Plus - Weaver Xtreme Guide","isPartOf":{"@id":"https:\/\/guide.weavertheme.com\/#website"},"datePublished":"2017-02-01T00:31:25+00:00","dateModified":"2017-02-01T00:32:51+00:00","breadcrumb":{"@id":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/guide.weavertheme.com\/shortcode-extra_menu-x-plus\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/guide.weavertheme.com\/"},{"@type":"ListItem","position":2,"name":"Shortcode : [extra_menu] &#8211; X-Plus"}]},{"@type":"WebSite","@id":"https:\/\/guide.weavertheme.com\/#website","url":"https:\/\/guide.weavertheme.com\/","name":"Weaver Xtreme Guide","description":"One Theme to Design Them All","publisher":{"@id":"https:\/\/guide.weavertheme.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/guide.weavertheme.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/guide.weavertheme.com\/#organization","name":"WeaverTheme","url":"https:\/\/guide.weavertheme.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/guide.weavertheme.com\/#\/schema\/logo\/image\/","url":"http:\/\/guide.weavertheme.com\/wp-content\/uploads\/2017\/03\/weaver-xtreme-small.jpg","contentUrl":"http:\/\/guide.weavertheme.com\/wp-content\/uploads\/2017\/03\/weaver-xtreme-small.jpg","width":320,"height":74,"caption":"WeaverTheme"},"image":{"@id":"https:\/\/guide.weavertheme.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/guide.weavertheme.com\/#\/schema\/person\/ba142e05c232b3067ff00af1100a86d6","name":"Weaver","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/02ce192f43948dd62f8998f2abd5781531972c11da36486249ea734d13fa2fb7?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/02ce192f43948dd62f8998f2abd5781531972c11da36486249ea734d13fa2fb7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/02ce192f43948dd62f8998f2abd5781531972c11da36486249ea734d13fa2fb7?s=96&r=g","caption":"Weaver"},"description":"I created the first version of Weaver in 2010, and have been improving it ever since. My goal has always been to provide the options necessary for non-programmers and non-experts to be able to create highly customized WordPress sites without the need to understand PHP or complex CSS.","url":"https:\/\/guide.weavertheme.com\/author\/aspenco\/"}]}},"_links":{"self":[{"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/posts\/1332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/comments?post=1332"}],"version-history":[{"count":0,"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/posts\/1332\/revisions"}],"wp:attachment":[{"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/media?parent=1332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/categories?post=1332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guide.weavertheme.com\/wp-json\/wp\/v2\/tags?post=1332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}