diff --git a/includes/navwalker.php b/includes/navwalker.php index 6aec031..9b423e2 100644 --- a/includes/navwalker.php +++ b/includes/navwalker.php @@ -30,22 +30,11 @@ function wrap_parent_menu_item_buttons($output, $item, $depth, $args) $subtitle_html = '' . $page_subtitle . ''; - if ($item->url === 'https://carhop.local/a-propos/equipe/') { - write_log($item); - write_log($subtitle_html); - write_log($icon_html); - // $icon_html = get_archive_page_icon_html($item->object); - // $subtitle_html = get_archive_page_subtitle_html($item->object); - } if ($item->type === 'post_type_archive') { $icon_html = get_archive_page_icon_html($item->object); $subtitle_html = get_archive_page_subtitle_html($item->object); } - if ($item->ID === 494) { - write_log($item); - } - $output = '' . $icon_html . ''; return $output; }