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

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

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?