Holly Cotter
Post count: 13
Been thanked: 1 time
#28288 |

None of what you suggested is the issue. I hired someone to look at it and here’s what he said:



The problem is these lines:

$item_output .= $args->link_before . apply_filters(‘the_title’, $item->title_2, $item->ID) . $args->link_after;

$item_output .= ( $args->has_children && 0 === $depth ) ? ‘ <span class=”arrow”></span>’ : ”;

The first line should return “ROI Marketing” but doesn’t. Try replacing the two lines with the following:

$label = $args->link_before . apply_filters(‘the_title’, $item->title_2, $item->ID) . $args->link_after;

if (empty($label)) {
$label =$args->link_before . apply_filters(‘the_title’, $item->post_title, $item->ID) . $args->link_after;

$item_output .= $label;

Denzel, once I replaced those lines, the problem was fixed. I STRONGLY RECOMMEND YOU FIX THIS BUG IN FUTURE VERSIONS OF THE THEME using the fix provided in this ticket.