HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vcz/wp-content/themes/volonteka/templates/base/nav.twig
<header class="site-header headroom">
    <!-- <div class="container-fluid"> -->
    <div class="site-header__wrap">
      <a href="{{ site.url }}" class="site-header__logo">
        <picture>
          <source media="(min-width:992px)" srcset="{{ site.theme.link }}/frontend/img/volonteka-logo.png">
          <img class="site-header__logo-img" src="{{ site.theme.link }}/frontend/img/volonteka-logo-mobile.png" alt="Volonteka logo">
        </picture>
      </a>
      <button class="hamburger hamburger--squeeze" type="button">
        <span class="hamburger-box">
          <span class="hamburger-inner"></span>
        </span>
      </button>
    </div>    
    <nav class="site-header__nav">
      <ul class="site-header__main-nav">
        {% for item in menu.main.get_items %}
            <li class="site-header__item {{item.current ? 'active' }} {{ item.get_children ? 'dropdown' }}">
                <a class="site-header__link" href="{{ item.link }}">{{ item.title }}</a>
                {% if item.get_children %}
                    <div class="dropdown__btn">
                        <svg class="icon-arrow-right-small">
                        <use xlink:href="{{ site.theme.link }}/frontend/icons/icons.svg#icon-arrow-right-small"></use>
                        </svg>
                    </div>
                    <ul class="site-header__submenu">                    
                         {% for child in item.get_children  %}
                            <li class="site-header__submenu__item">
                                <a href="{{ child.get_link }}" class="site-header__submenu__link">{{ child.title }}</a>
                            </li>  
                        {% endfor %}                      
                    </ul>
                {% endif %}
            </li>

        {% endfor %}

        <!-- GTranslate plugin flags - for Hamburger menu (mobile, tablet) views -->
        <li class="site-header__item language-mobile">
          {{ function('do_shortcode', '[gtranslate]') }}
        </li>
      </ul>
    </nav>

    <!-- GTranslate plugin flags - for DESKTOP view -->
    <div class="language-flags-desktop">
        <li class="site-header__item language-desktop">
          {{ function('do_shortcode', '[gtranslate]') }}
        </li>
    </div>
    <!-- </div> -->
  </header>