Costum Button

  • Support OnlineSat-Thu / 9:30am - 5:30pm (GMT +6)
  • Your Time Our Time

Support Home Support Home EcoHosting WordPress Theme Costum Button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7083
    Merhamet yok
    Participant

    My way to add a second button next to the Costum Button.

    in eco-parts / main-menu.php

    
    
    <?php 
                if( ecohost_opt('eco_display_headerCustomBtn') ){
                    echo '<div class="login-btn hidden-lg hidden-md">';
                        echo '<a href="'.esc_url( ecohost_opt('eco_header_customBtnUrl') ).'" class="btn">'.esc_html( ecohost_opt('eco_header_customBtn') ).'</a>';
    <strong>echo '<a href="adress" class="btn">Button Name</a>';</strong>
                    echo '</div>';   
                }
                ?>
    
    // main menu custom button
                    if( ecohost_opt('eco_display_headerCustomBtn') ){  
                        echo '<ul class="secondary-menu-links nav navbar-nav navbar-right hidden-xs hidden-sm">';
                            echo '<li><a href="'.esc_url( ecohost_opt('eco_header_customBtnUrl') ).'" class="btn">'.esc_html( ecohost_opt('eco_header_customBtn') ).'</a></li>';
    					 echo '<li><a href="adress" class="btn">Button Name</a></li>';
                        echo '</ul>';    
                    }

    How do I add it like in the admin panel.

    • This topic was modified 4 years, 3 months ago by Merhamet yok.
    • This topic was modified 4 years, 3 months ago by Merhamet yok.
    • This topic was modified 4 years, 3 months ago by Merhamet yok.
    • This topic was modified 4 years, 3 months ago by Merhamet yok.
    #7098

    Hi Merhamet,

    You will get the codes for admin options for the custom button in the \inc\eco-framework\eco-option\ecohost-option.php file line number 393.

    However, we are sorry to say that it’s not covered with the item support.

    Moreover, please learn more about our support policy (item support includes & not includes), here https://www.themelooks.com/support/support-policy/ before post a topic or ask a question.

    Best Regards,
    ThemeLooks Support Team

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
happy hour