Magento 2 : Top Navigation External LinkBest way to add On Sale link in top navigationAdd new links to top links in Magento 1.9Add custom link fields in header tab in magento 2How to add link to homepage in top menu? (Magento 2)Magento 2 Navigation Menu not showingtop link edit Luma magento 2Magento2: How do I remove 'My Orders' in Luma sidebaradding bootstrap to magento 2always show My Account & Wish List user logged in or notMagento 2: Include header and footer in external php

Do higher dimensions have axes?

What's a German word for »Sandbagger«?

Why can't I hear fret buzz through the amp?

Why is Google approaching my VPS machine?

Does unblocking power bar outlets through short extension cords increase fire risk?

Making a Dataset that emulates `ls -tlra`?

Which failed attempts have there been to find a contradiction in ZFC or ZF?

Do Australia and New Zealand have a travel ban on Somalis (like Wikipedia says)?

Why aren't there any women super GMs?

Is encryption still applied if you ignore the SSL certificate warning for self-signed certs?

We get more abuse than anyone else

Is it legal for a supermarket to refuse to sell an adult beer if an adult with them doesn’t have their ID?

Transistor power dissipation rating

You have no, but can try for yes

What is this green alien supposed to be on the American covers of the "Hitchhiker's Guide to the Galaxy"?

How to tell readers that I know my story is factually incorrect?

What could make large expeditions ineffective for exploring territory full of dangers and valuable resources?

In this iconic lunar orbit rendezvous photo of John Houbolt, why do arrows #5 and #6 point the "wrong" way?

How to not confuse readers with simultaneous events?

Can error correction and detection be done without adding extra bits?

Diagram of Methods to Solve Differential Equations

Why teach C using scanf without talking about command line arguments?

May I use a railway velocipede on actively-used British railways?

Operation Unzalgo



Magento 2 : Top Navigation External Link


Best way to add On Sale link in top navigationAdd new links to top links in Magento 1.9Add custom link fields in header tab in magento 2How to add link to homepage in top menu? (Magento 2)Magento 2 Navigation Menu not showingtop link edit Luma magento 2Magento2: How do I remove 'My Orders' in Luma sidebaradding bootstrap to magento 2always show My Account & Wish List user logged in or notMagento 2: Include header and footer in external php






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I need to add custom nav link directing to an external site (http://etc) in my top nav. Admin won't let me do this. Running locally on mac web server.



V 2.0.13 Luma child theme



Thanks










share|improve this question






























    1















    I need to add custom nav link directing to an external site (http://etc) in my top nav. Admin won't let me do this. Running locally on mac web server.



    V 2.0.13 Luma child theme



    Thanks










    share|improve this question


























      1












      1








      1








      I need to add custom nav link directing to an external site (http://etc) in my top nav. Admin won't let me do this. Running locally on mac web server.



      V 2.0.13 Luma child theme



      Thanks










      share|improve this question
















      I need to add custom nav link directing to an external site (http://etc) in my top nav. Admin won't let me do this. Running locally on mac web server.



      V 2.0.13 Luma child theme



      Thanks







      magento2 navigation toplinks






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 7 '17 at 13:25









      Dhiren Vasoya

      4,8805 gold badges19 silver badges47 bronze badges




      4,8805 gold badges19 silver badges47 bronze badges










      asked Apr 7 '17 at 12:18









      guestguest

      561 gold badge1 silver badge6 bronze badges




      561 gold badge1 silver badge6 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Do following steps:



          go to root directoryappdesignfrontendnamespacethemeMagento_Themelayout



          and open default.xml file



          Add below code in default.xml file before body tag end to add link in top links



          <referenceBlock name="top.links">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="top-links-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          Add below code in default.xml file before body tag end to add link in top menu



          <referenceBlock name="catalog.topnav">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="catalog-menu-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          like this:




          https://www.screencast.com/t/h3qLV5FUw




          hope it will help !!






          share|improve this answer

























          • I gave that a shot but it's still not showing. Flushed my cache. Do I need to do something in my admin too?

            – guest
            Apr 8 '17 at 6:50











          • Please send me your default.xml file code @guest

            – Mukesh Prajapati
            Apr 10 '17 at 5:29













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f168157%2fmagento-2-top-navigation-external-link%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Do following steps:



          go to root directoryappdesignfrontendnamespacethemeMagento_Themelayout



          and open default.xml file



          Add below code in default.xml file before body tag end to add link in top links



          <referenceBlock name="top.links">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="top-links-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          Add below code in default.xml file before body tag end to add link in top menu



          <referenceBlock name="catalog.topnav">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="catalog-menu-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          like this:




          https://www.screencast.com/t/h3qLV5FUw




          hope it will help !!






          share|improve this answer

























          • I gave that a shot but it's still not showing. Flushed my cache. Do I need to do something in my admin too?

            – guest
            Apr 8 '17 at 6:50











          • Please send me your default.xml file code @guest

            – Mukesh Prajapati
            Apr 10 '17 at 5:29















          0














          Do following steps:



          go to root directoryappdesignfrontendnamespacethemeMagento_Themelayout



          and open default.xml file



          Add below code in default.xml file before body tag end to add link in top links



          <referenceBlock name="top.links">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="top-links-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          Add below code in default.xml file before body tag end to add link in top menu



          <referenceBlock name="catalog.topnav">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="catalog-menu-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          like this:




          https://www.screencast.com/t/h3qLV5FUw




          hope it will help !!






          share|improve this answer

























          • I gave that a shot but it's still not showing. Flushed my cache. Do I need to do something in my admin too?

            – guest
            Apr 8 '17 at 6:50











          • Please send me your default.xml file code @guest

            – Mukesh Prajapati
            Apr 10 '17 at 5:29













          0












          0








          0







          Do following steps:



          go to root directoryappdesignfrontendnamespacethemeMagento_Themelayout



          and open default.xml file



          Add below code in default.xml file before body tag end to add link in top links



          <referenceBlock name="top.links">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="top-links-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          Add below code in default.xml file before body tag end to add link in top menu



          <referenceBlock name="catalog.topnav">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="catalog-menu-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          like this:




          https://www.screencast.com/t/h3qLV5FUw




          hope it will help !!






          share|improve this answer















          Do following steps:



          go to root directoryappdesignfrontendnamespacethemeMagento_Themelayout



          and open default.xml file



          Add below code in default.xml file before body tag end to add link in top links



          <referenceBlock name="top.links">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="top-links-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          Add below code in default.xml file before body tag end to add link in top menu



          <referenceBlock name="catalog.topnav">
          <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="catalog-menu-custom-link" before="-">
          <arguments>
          <argument name="label" xsi:type="string">Menu name</argument>
          <argument name="path" xsi:type="string">url</argument>
          </arguments>
          </block>
          </referenceBlock>


          like this:




          https://www.screencast.com/t/h3qLV5FUw




          hope it will help !!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 7 '17 at 13:52

























          answered Apr 7 '17 at 13:37









          Mukesh PrajapatiMukesh Prajapati

          1,3504 silver badges16 bronze badges




          1,3504 silver badges16 bronze badges












          • I gave that a shot but it's still not showing. Flushed my cache. Do I need to do something in my admin too?

            – guest
            Apr 8 '17 at 6:50











          • Please send me your default.xml file code @guest

            – Mukesh Prajapati
            Apr 10 '17 at 5:29

















          • I gave that a shot but it's still not showing. Flushed my cache. Do I need to do something in my admin too?

            – guest
            Apr 8 '17 at 6:50











          • Please send me your default.xml file code @guest

            – Mukesh Prajapati
            Apr 10 '17 at 5:29
















          I gave that a shot but it's still not showing. Flushed my cache. Do I need to do something in my admin too?

          – guest
          Apr 8 '17 at 6:50





          I gave that a shot but it's still not showing. Flushed my cache. Do I need to do something in my admin too?

          – guest
          Apr 8 '17 at 6:50













          Please send me your default.xml file code @guest

          – Mukesh Prajapati
          Apr 10 '17 at 5:29





          Please send me your default.xml file code @guest

          – Mukesh Prajapati
          Apr 10 '17 at 5:29

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f168157%2fmagento-2-top-navigation-external-link%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form