Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1027840
    raeleewp
    Participant

    Hi,

    I’ve managed to add a custom menu in the top bar by following another thread. My website is currently in 2 languages. Hence, I need the top bar’s custom menu to be translated as well. How do I add a different menu to the topbar when the website is in Chinese?

    Do I register another menu the same way I added the custom menu? And call it “Topbar Menu Chinese”? I got the following from another thread, but I don’t think I have the code correct, nor do I know where to put it. Can someone please help?

    $language = get_locale();
    if ($language == ‘zh_CN’) {
    echo “topbar-menu-chinese”;
    }

    My site: https://www.huiji.com.sg/

    #1027879
    raeleewp
    Participant

    It’s okay. I’ve managed to figure out another way.

    Thanks!

    #1027947
    Joao
    Moderator

    Great.

    Let us know if you need help with anything.

    Thanks

    Joao

  • <script> jQuery(function($){ $("#no-reply-1027840 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>