Support

Account

Home Forums Front-end Issues Append Inline SVG to Menu item Reply To: Append Inline SVG to Menu item

  • What happens if you change your if depth conditional from
    if ( $depth == 0 ) {
    to if ($depth == 0 && $has_children > 0) {

    As you say, the svg code is the same but the svg is called in the wrong place. So need to work out why.