Hi,
there are 2 big mistakes.
1st The comment
/***************************************************ReOrderTabs*******************************************************
was not closed with a / and all code below wasn’t excecuted.
2nd you were using 2 hooks/functions to add and reorder tabs and both have the same names:
add_filter(‘geodir_detail_page_tab_list_extend’, ‘geodir_detail_page_tab_list_extend’) ;
function geodir_detail_page_tab_list_extend($tab_array)
{
// code here
}
While you only needed 1 hook/function to add and reorder tabs at once, by adding the code below where ever u want it in the function to re-order tabs and deleting the 1st function to add the tab:
$new_tab_array['specials'] = array(
'heading_text' => __('$10 LUNCH! Menu',GEODIRECTORY_TEXTDOMAIN),
'is_active_tab' => false,
'is_display' => apply_filters('geodir_detail_page_tab_is_display', true, 'specials'),
'tab_content' => ''
);
Needs to be $new_tab_array.
I’ve added it correctly to your website. Next time for a similar customization you should directly post in the Jobs forum.
Thank you