'; echo 'Customisation by SDWM.'; } add_filter( 'admin_footer_text', 'pop_admin_footer' ); // // DASHBOARD WINDOW // add_action('wp_dashboard_setup', 'designed_by_thinksoda_dashboard'); function designed_by_thinksoda_dashboard() { global $wp_meta_boxes; wp_add_dashboard_widget('custom_help_widget', 'Designed and Integrated by SDWM', 'custom_dashboard_help'); } function custom_dashboard_help() { echo '
'; echo '

 

'; echo '

www.sdwm.com.au

'; echo '

Thanks for using SDWM,
'; echo 'for support or any enquiries please click here.

'; } // CHANGES LOGO PATH FROM WORDPRESS function pop_admin_login_url() { return home_url(); } // CHANGES LOGO ALT TEXT function pop_admin_login_title() { return get_option( 'blogname' ); } // // LOGIN SCREEN // function my_login_stylesheet() { wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . '/sass/login.css' ); } add_action( 'login_enqueue_scripts', 'my_login_stylesheet' ); // // ONLY CALL AT LOGIN PAGE - otherwise we load everything in admin // //add_action( 'login_enqueue_scripts', 'pop_admin_login_css', 10 ); add_filter( 'login_headerurl', 'pop_admin_login_url' ); add_filter( 'login_headertext', 'pop_admin_login_title' ); // // REMOVE STUFF WE DONT NEED // // GUTTENBERG // add_action( 'wp_print_styles', 'wps_deregister_styles', 100 ); function wps_deregister_styles() { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'global-styles' ); } // // EMOJIES // function disable_wp_emojicons() { remove_action( 'admin_print_styles', 'print_emoji_styles' ); remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); remove_action( 'wp_print_styles', 'print_emoji_styles' ); remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' ); remove_filter( 'the_content_feed', 'wp_staticize_emoji' ); remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); // filter to remove TinyMCE emojis // add_filter( 'tiny_mce_plugins', 'disable_emojicons_tinymce' ); } add_action( 'init', 'disable_wp_emojicons' ); ?> _x( 'Project', 'post type general name' ), 'singular_name' => _x( 'Project', 'post type singular name' ), 'add_new' => _x( 'Add New', 'Project' ), 'add_new_item' => __( 'Add New Project' ), 'edit_item' => __( 'Edit Project' ), 'new_item' => __( 'New Project' ), 'all_items' => __( 'All Projects' ), 'view_item' => __( 'View Projects' ), 'search_items' => __( 'Search Projects' ), 'not_found' => __( 'No Projects found' ), 'not_found_in_trash' => __( 'No Projects found in the Trash' ), 'parent_item_colon' => '', 'menu_name' => 'Projects' ); $args = array( 'labels' => $labels, 'public' => true, 'hierarchical' => true, 'show_in_nav_menus' => true, 'supports' => array( 'title', 'author'), 'has_archive' => true ); register_post_type( 'project', $args ); } add_action( 'init', 'my_custom_post_project' ); // // CPT - TEAM // add_action( 'init', 'my_custom_post_team'); function my_custom_post_team() { $labels = array( 'name' => _x( 'Team member', 'post type general name' ), 'singular_name' => _x( 'Team member', 'post type singular name' ), 'add_new' => _x( 'Add New', 'Team member' ), 'add_new_item' => __( 'Add New Team member' ), 'edit_item' => __( 'Edit Team member' ), 'new_item' => __( 'New Team member' ), 'all_items' => __( 'All Team members' ), 'view_item' => __( 'View Team members' ), 'search_items' => __( 'Search Team members' ), 'not_found' => __( 'No Team members found' ), 'not_found_in_trash' => __( 'No Team members found in the Trash' ), 'parent_item_colon' => '', 'menu_name' => 'Team' ); $args = array( 'labels' => $labels, 'public' => true, 'hierarchical' => true, 'show_in_nav_menus' => true, 'supports' => array( 'title', 'author'), 'has_archive' => true ); register_post_type( 'team', $args ); } add_action( 'init', 'my_custom_post_team' ); ?> <? the_field('html_page_title'); ?>
'primary-nav', 'menu_id' => 'mobile_primary_nav', 'container' => '', ) ); ?>

 '

Get in contact