Add item in Top menu

Home Forums Legacy Support Support queries How-to & Troubleshooting Add item in Top menu

Tagged: , ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #234980
    IBSP
    Spectator
    Hello, I want to add a widget in top menu with cart icon refer: https://prnt.sc/q2zamk I want to add this currency feature or the widget of this plugin here on the right of this Cart icon  
    #234984
    IBSP
    Spectator
    This reply has been marked as private.
    #235008
    logan
    Member
    Hello, try this code in customizer.php add_action('wplms_be_instructor_button', function(){ echo do_shortcode('[woocs show_flags=1 flag_position="left" txt_type="desc" style=3]'); });
    #235113
    IBSP
    Spectator
    This reply has been marked as private.
    #235213
    logan
    Member
    Hello,

    try this one in customizer.php

    add_action('wplms_header_top_login', function(){

    echo do_shortcode('[woocs show_flags=1 flag_position="left" txt_type="desc" style=3]');

    });

    #237509
    IBSP
    Spectator
    Sorry but this is not what I want, https://prnt.sc/qe33f2 This appears in login popup, But I want it here with next to cart icon https://prnt.sc/qe348m Please I want it in one row (name -- cart icon -- currency) Thanks  
    #237553
    Steve
    Member
    Hey , then you have to edit your header in the child theme, suppose you are using transparent header style. then edit your transparent.php file in a blank child theme. modify the codes. Add new li element and paste your code there. this is the only way to achieve what you are asking above.
    #237616
    IBSP
    Spectator
    Can you guide me about these steps to add my code?
    1. Installing a child theme
    2. Which file I need to edit
    3. And where i'll place this code
    I'll appreciate your help Thanks
    #237649
    Steve
    Member
    hey,
    1. upload the theme and activate it as like other WordPress themes.
    2. some of your plugins will be deactivated then, activate them again.
    3. resave permalinks.
    4. go to the wplms main theme folder and copy the transparent-header.php and paste it in child theme.
    5. now modify this transparent-header.php in child theme.
    this comes under customization request if you want me to modify the header for you then there will be a nominal cost for this. Let me know if you want thanks
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Add item in Top menu’ is closed to new replies.