{"id":1340,"date":"2020-03-06T06:15:59","date_gmt":"2020-03-06T06:15:59","guid":{"rendered":"https:\/\/grooni.com\/docs\/groovy-menu\/?page_id=1340"},"modified":"2021-01-15T05:20:48","modified_gmt":"2021-01-15T05:20:48","slug":"how-to-add-call-to-action-cta-button-in-the-wordpress-menu","status":"publish","type":"page","link":"https:\/\/grooni.com\/docs\/groovy-menu\/how-to-add-call-to-action-cta-button-in-the-wordpress-menu\/","title":{"rendered":"How to add Call To Action (CTA) button in the WordPress menu"},"content":{"rendered":"<p>A <strong>call to action button<\/strong> is in most cases a custom solution. Usually this object should be visible and attract the attention of the visitor. Groovy Menu can provide different ways to implement it.<\/p>\n<h2>Add CTA button with CSS in WordPress Menu<\/h2>\n<p>It&#8217;s a simple way to add a CTA button in WordPress menu and customize the appearance:<br \/>Essentially, this is a regular navigation menu item that will be given an additional CSS class. Further, relying on this class, you can set custom CSS styles for this button.<\/p>\n<p>To get started, go to <code>WP Dashboard -&gt; Appearance -&gt; Menus<\/code><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-55\" src=\"https:\/\/grooni.com\/docs\/wp-content\/uploads\/2020\/03\/how-to-add-css-classes-wordpress-menu.png\" alt=\"\" width=\"1265\" height=\"477\" \/><\/p>\n<p>By default, in WordPress, the &#8220;CSS Classes&#8221; input field is hidden. To see it, click on the checkbox in &#8220;Screen Options&#8221; at the top of the Menus page Next, on the last menu item that you will have the role of a CTA button, add a CSS class <code>custom-action-button<\/code><\/p>\n<div class=\"alert alert-warning\">Please note that we chose this class name just for example. It is important that this CSS class name is unique for the site pages.<\/div>\n<p>\u00a0<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-56\" src=\"https:\/\/grooni.com\/docs\/wp-content\/uploads\/2020\/03\/css-class-mega-menu-wordpress.png\" alt=\"\" width=\"1267\" height=\"504\" \/><\/p>\n<p>CSS class was assigned to the menu item<\/p>\n<p>\u00a0<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-57\" src=\"https:\/\/grooni.com\/docs\/wp-content\/uploads\/2020\/03\/mega-menu-custom-css-classes.png\" alt=\"\" width=\"1266\" height=\"950\" \/><\/p>\n<p>Now you can start styling the button. For an example, we will shift this menu item as far as possible to the right, style the appearance. Add an indent for the logo and adapt the button for the mobile menu. We will add all CSS styles in the Groovy Menu preset editor.<\/p>\n<p>\u00a0<\/p>\n\n\n<h3>CSS code<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Action button: Menu width fix *\/\n.gm-main-menu-wrapper .gm-navbar-nav {\n    width: 100%;\n}\n\/* Action button: position fix *\/\n.custom-action-button {\n    margin-left: auto;\n}\n\/* Action button: Link Styles *\/\n.custom-action-button .gm-anchor {\n    width: 140px !important;\n    background: #e5e5e5 !important;\n    height: 46px;\n    border-radius: 23px;\n    border: 2px solid #c0c0c0;\n    text-align: center;\n    margin: 0 !important;\n}\n.custom-action-button .gm-anchor .gm-menu-item__txt-wrapper {\n    margin: 0 auto !important;\n}\n\/* Action button: Link Styles on Hover *\/\n.custom-action-button .gm-anchor:hover {\n    color: #ff0000 !important;\n    background: #f9f9f9 !important;\n    border: 2px solid #a7a7a7;\n}\n\/* Action button: Logotype styles *\/\n@media (min-width: 1024px) {\n    .gm-navbar .gm-logo {\n        margin-right: 220px;\n        position: relative !important;\n    }\n}\n\/* Action button: mobile styles *\/\n.gm-navigation-drawer .custom-action-button .gm-anchor {\n    margin: 25px auto 0 auto !important;\n}<\/code><\/pre>\n\n\n\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\n\n<h2>How to add CTA button using WPBakery and Groovy Menu Blocks<\/h2>\n<p><strong>Menu Blocks<\/strong> is a special post type that allows to add the mega menu, buttons, and other any content into navigation. The same as when editing regular pages and articles in WordPress.<\/p>\n<p>To use WPBakery in Menu Blocks, you need to enable <strong>Post type setting for<\/strong> &#8220;<strong>gm_menu_block<\/strong>&#8221; in Role manager settings.\u00a0<\/p>\n<blockquote>\n<p>Note: <a href=\"https:\/\/grooni.com\/docs\/groovy-menu\/faq\/how-to-enable-wpbakery-for-menu-blocks\/\">How to enable WPBakery for Menu Blocks<\/a><\/p>\n<\/blockquote>\n<p>After that, you can create a new Menu Block using WPBakery<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1353\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu.png\" alt=\"\" width=\"1267\" height=\"932\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu.png 1267w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu-300x221.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu-1024x753.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu-768x565.png 768w\" sizes=\"(max-width: 1267px) 100vw, 1267px\" \/><\/p>\n<p>Then, go to <code>WP Dashboard &gt; Appearance &gt; Menus<\/code><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1354\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item.png\" alt=\"\" width=\"1264\" height=\"429\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item.png 1264w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item-300x102.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item-1024x348.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item-768x261.png 768w\" sizes=\"(max-width: 1264px) 100vw, 1264px\" \/><code><\/code><br \/>By default, in WordPress, the &#8220;<strong>CSS Classes<\/strong>&#8221; input field and &#8220;<strong>Menu Blocks<\/strong>&#8221; are hidden. To enable that, please set the checkboxes in the &#8220;<strong>Screen Options<\/strong>&#8221; at the top of the <code>Appearance &gt; Menus page<\/code>\u00a0<\/p>\n<p>Add the Menu Block that you created into your navigation menu\u00a0and add CSS class <code>custom-action-button<\/code><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1355\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu.png\" alt=\"\" width=\"1261\" height=\"1114\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu.png 1261w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu-300x265.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu-1024x905.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu-768x678.png 768w\" sizes=\"(max-width: 1261px) 100vw, 1261px\" \/><\/p>\n<div class=\"alert alert-warning\">We have chosen such a class name as an example. It can be any other. Also, the name of the CSS class <strong>must be unique<\/strong> for the site pages.<\/div>\n<div class=\"alert alert-warning\">Do not forget to select the &#8220;<strong>Do not show menu item title and link<\/strong>&#8221; setting for the menu item.<\/div>\n<p>Now you can start styling with Custom CSS the appearance of the button. Let&#8217;s move this menu item as far as possible to the right, and adapt the button appearance for the mobile menu.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1356\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-customize-cta-button-menu.png\" alt=\"\" width=\"1265\" height=\"838\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-customize-cta-button-menu.png 1265w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-customize-cta-button-menu-300x199.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-customize-cta-button-menu-1024x678.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-customize-cta-button-menu-768x509.png 768w\" sizes=\"(max-width: 1265px) 100vw, 1265px\" \/><\/p>\n<p>All CSS styles we will add in the <code>Groovy Menu &gt; Preset &gt; Custom CSS<\/code><\/p>\n\n\n<h3>CSS Code<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Action button: Menu width fix *\/\n.gm-main-menu-wrapper .gm-navbar-nav {\n    width: 100%;\n}\n\/* Action button: position fix *\/\n.custom-action-button {\n    margin-left: auto;\n}\n\/* Action button: Logotype styles *\/\n@media (min-width: 1024px) {\n    .gm-navbar .gm-logo {\n        margin-right: 220px;\n        position: relative !important;\n    }\n}\n\/* Action button: mobile styles *\/\n.gm-navigation-drawer .custom-action-button {\n    margin: 25px auto 0 auto !important;\n}<\/code><\/pre>\n\n\n\n<h2>How to add CTA button to the menu with Elementor<\/h2>\n\n\n<p>To use Elementor in Menu Blocks, you need to enable <strong>Post type setting for<\/strong> &#8220;<strong>Menu Blocks<\/strong>&#8221; in Elemenor General settings&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1372\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-enable-elemtor-menu-blocks.png\" alt=\"\" width=\"594\" height=\"588\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-enable-elemtor-menu-blocks.png 594w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-enable-elemtor-menu-blocks-300x297.png 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/p>\n<p>Now you can create a new Menu Block using Elementor or Elementor Pro<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1373\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-cta-button-mega-menu.png\" alt=\"\" width=\"1279\" height=\"566\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-cta-button-mega-menu.png 1279w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-cta-button-mega-menu-300x133.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-cta-button-mega-menu-1024x453.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-cta-button-mega-menu-768x340.png 768w\" sizes=\"(max-width: 1279px) 100vw, 1279px\" \/><\/p>\n<p>Add a button element and customize its appearance.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1353\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu.png\" alt=\"\" width=\"1267\" height=\"932\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu.png 1267w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu-300x221.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu-1024x753.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-create-cta-button-wpbakery-menu-768x565.png 768w\" sizes=\"(max-width: 1267px) 100vw, 1267px\" \/><\/p>\n<p>Then, go to <code>WP Dashboard &gt; Appearance &gt; Menus<\/code><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1354\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item.png\" alt=\"\" width=\"1264\" height=\"429\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item.png 1264w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item-300x102.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item-1024x348.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-css-classes-menu-item-768x261.png 768w\" sizes=\"(max-width: 1264px) 100vw, 1264px\" \/><code><\/code><br>By default, in WordPress, the &#8220;<strong>CSS Classes<\/strong>&#8221; input field and &#8220;<strong>Menu Blocks<\/strong>&#8221; are hidden. To enable that, please set the checkboxes in the &#8220;<strong>Screen Options<\/strong>&#8221; at the top of the <code>Appearance &gt; Menus page<\/code>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1374\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/custom-css-class-menu-elementor.png\" alt=\"\" width=\"1265\" height=\"1095\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/custom-css-class-menu-elementor.png 1265w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/custom-css-class-menu-elementor-300x260.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/custom-css-class-menu-elementor-1024x886.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/custom-css-class-menu-elementor-768x665.png 768w\" sizes=\"(max-width: 1265px) 100vw, 1265px\" \/><\/p>\n<p>Add the Menu Block that you created to your navigation menu<\/p>\n<p><\/p>\n<p>Add the Menu Block that you created into your navigation menu&nbsp;and add CSS class <code>custom-action-button<\/code><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1355\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu.png\" alt=\"\" width=\"1261\" height=\"1114\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu.png 1261w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu-300x265.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu-1024x905.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/how-to-add-cta-button-groovy-mega-menu-768x678.png 768w\" sizes=\"(max-width: 1261px) 100vw, 1261px\" \/><\/p>\n<div class=\"alert alert-warning\">We have chosen such a class name as an example. It can be any other. Also, the name of the CSS class <strong>must be unique<\/strong> for the site pages.<\/div>\n<div class=\"alert alert-warning\">Do not forget to select the &#8220;<strong>Do not show menu item title and link<\/strong>&#8221; setting for the menu item.<\/div>\n<div>&nbsp;<\/div>\n<div><img loading=\"lazy\" class=\"alignnone size-full wp-image-1375\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-groovy-mega-menu-cta-button.png\" alt=\"\" width=\"1277\" height=\"159\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-groovy-mega-menu-cta-button.png 1277w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-groovy-mega-menu-cta-button-300x37.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-groovy-mega-menu-cta-button-1024x127.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/elementor-groovy-mega-menu-cta-button-768x96.png 768w\" sizes=\"(max-width: 1277px) 100vw, 1277px\" \/><\/div>\n<div>Great!&nbsp;<\/div>\n<div>&nbsp;<\/div>\n<div>&nbsp;<\/div>\n<div><img loading=\"lazy\" class=\"alignnone size-full wp-image-1376\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/groovy-menu-elementor-cta-button-custom.png\" alt=\"\" width=\"1279\" height=\"863\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/groovy-menu-elementor-cta-button-custom.png 1279w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/groovy-menu-elementor-cta-button-custom-300x202.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/groovy-menu-elementor-cta-button-custom-1024x691.png 1024w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2020\/03\/groovy-menu-elementor-cta-button-custom-768x518.png 768w\" sizes=\"(max-width: 1279px) 100vw, 1279px\" \/><\/div>\n<div>Now you can start styling with Custom CSS the appearance of the button. Let&#8217;s move this menu item as far as possible to the right, change the distance between logo and menu items, and adapt the button appearance for the mobile menu.<\/div>\n\n\n<pre class=\"wp-block-code\"><code>\/* Action button: Menu width fix *\/\n.gm-main-menu-wrapper .gm-navbar-nav {\n    width: 100%;\n}\n\/* Action button: position fix *\/\n.custom-action-button {\n    margin-left: auto;\n}\n\/* Action button: Logotype styles *\/\n@media (min-width: 1024px) {\n    .gm-navbar .gm-logo {\n        margin-right: 220px;\n        position: relative !important;\n    }\n}\n\/* Action button: mobile styles *\/\n.gm-navigation-drawer .custom-action-button .gm-anchor {\n    margin: 25px auto 0 auto !important;\n}<\/code><\/pre>\n\n\n\n<h2>How to add CTA button using Actions and child theme <\/h2>\n\n\n<p>The <a href=\"https:\/\/developer.wordpress.org\/plugins\/hooks\/actions\/\">actions<\/a> in the Groovy Mega Menu Plugin are created to execute custom code at the time the Groovy menu is built on the frontend. With their help, you can display additional HTML markup in the provided places.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1253\" src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2019\/11\/2019-11-14__1267x234__005.png\" alt=\"\" width=\"1267\" height=\"234\" srcset=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2019\/11\/2019-11-14__1267x234__005.png 1267w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2019\/11\/2019-11-14__1267x234__005-300x55.png 300w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2019\/11\/2019-11-14__1267x234__005-768x142.png 768w, https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2019\/11\/2019-11-14__1267x234__005-1024x189.png 1024w\" sizes=\"(max-width: 1267px) 100vw, 1267px\" \/><\/p>\n<blockquote>\n<p>Read more &#8211; <a href=\"https:\/\/grooni.com\/docs\/groovy-menu\/mega-menu-actions\/\">Mega Menu actions<\/a><\/p>\n<\/blockquote>\n<h4>Examples<\/h4>\n<p><a href=\"https:\/\/grooni.com\/docs\/groovy-menu\/mega-menu-actions\/#gm_main_menu_nav_last\">gm_main_menu_nav_last<\/a> will help you create a hook after the last item in the navigation menu.<\/p>\n<p>gm_mobile_main_menu_nav_last &#8211; add a<a href=\"https:\/\/grooni.com\/docs\/groovy-menu\/mega-menu-actions\/#gm_mobile_main_menu_nav_last\">&nbsp;hook for mobile menu<\/a><\/p>\n\n\n<p><\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A call to action button is in most cases a custom solution. Usually this object should be visible and attract &hellip; <a href=\"https:\/\/grooni.com\/docs\/groovy-menu\/how-to-add-call-to-action-cta-button-in-the-wordpress-menu\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/1340"}],"collection":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/comments?post=1340"}],"version-history":[{"count":0,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/1340\/revisions"}],"wp:attachment":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/media?parent=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}