Header modification - by marianaopimentel

This topic has 2 replies, 2 voices, and was last updated 8 years ago ago by Robert Hall

  • Avatar: marianaopimentel
    marianaopimentel
    Participant
    March 22, 2016 at 12:27

    Hi there,

    I really need help. My client wants to add a custom link in the header and i have no idea how to do so.

    He wants a Link right below “ACCOUNT”.

    How can i add a screenshot to explain better?

    Can you help me please. :)?

    1 Answer
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 22, 2016 at 13:33

    Hello,

    In this case you should edit etheme_top_links() function in \wp-content\themes\woopress\framework\theme-functions.php file on line 933-1005.
    For example, add this code
    <li class="popup_link "><a class="" href="your-link-here"><?php _e('Link name', ETHEME_DOMAIN); ?></a></li>
    before the following part of code

    <?php if(etheme_get_option('promo_popup')): ?>
    <li class="popup_link <?php if(!etheme_get_option('promo_link')): ?>hidden<?php endif; ?>"><a class="etheme-popup <?php echo (etheme_get_option('promo_auto_open')) ? 'open-click': '' ; ?>" href="#etheme-popup"><?php _e('Newsletter', ETHEME_DOMAIN); ?></a></li>
    <?php endif; ?>

    Regards,
    Robert Hall

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.