}
add_action( ‘admin_menu’, ‘register_external_link_menu_page’ );
function register_external_link_menu_page(){
add_menu_page( ‘External Link’, ‘Ana Sayfa’, ‘manage_options’, ‘external_link’, ‘external_link_menu_page’, ”, 80 );
add_submenu_page( ‘external_link’, ‘External Link 2’, ‘Canli Takip’ , ‘manage_options’, ‘external_link_menu_page’, ‘external_link_submenu_page2’);
add_submenu_page( ‘external_link’, ‘External Link 3’, ‘Email’ , ‘manage_options’, ‘external_link_menu_page’, ‘external_link_submenu_page3’);
add_submenu_page( ‘external_link’, ‘External Link 4’, ‘Sosyal Paylasim’ , ‘manage_options’, ‘external_link_menu_page’, ‘external_link_submenu_page4’);
add_submenu_page( ‘external_link’, ‘External Link 5’, ‘Egitim’ , ‘manage_options’, ‘external_link_menu_page’, ‘external_link_submenu_page5’);
add_submenu_page( ‘external_link’, ‘External Link 6’, ‘Egitim’ , ‘manage_options’, ‘external_link_menu_page’, ‘external_link_submenu_page6’);
}
function external_link_menu_page(){
echo ‘<iframe src=”https://www.godiamond.org/duyuru” scrolling=”no” frameborder=”0″ align=”center” height = “800px” width = “100%” name=”Tawk.To”, border=”0″>
</iframe>’;
}
function external_link_submenu_page2(){
echo ‘<iframe src=”https://dashboard.tawk.to” scrolling=”no” frameborder=”0″ align=”center” height = “800px” width = “100%” name=”Tawk.To”, border=”0″>
</iframe>’;
}
function external_link_submenu_page3(){
echo ‘<iframe src=”https://mail.godiamond.org/Mondo/lang/sys/Login.aspx” scrolling=”no” frameborder=”0″ align=”center” height = “800px” width = “100%” name=”Tawk.To”, border=”0″>
</iframe>’;
}
function external_link_submenu_page4(){
echo ‘<iframe src=”https://www.godiamond.org/sosyal” scrolling=”no” frameborder=”0″ align=”center” height = “800px” width = “100%” name=”Tawk.To”, border=”0″>
</iframe>’;
}
function external_link_submenu_page5(){
echo ‘<iframe src=”https://www.godiamond.org/egitim” scrolling=”no” frameborder=”0″ align=”center” height = “800px” width = “100%” name=”Tawk.To”, border=”0″>
</iframe>’;
}
function external_link_submenu_page6(){
echo ‘<iframe src=”https://foodmatters.godiamond.org” scrolling=”no” frameborder=”0″ align=”center” height = “800px” width = “100%” name=”Tawk.To”, border=”0″>
</iframe>’;
}