/** * devolum-oral functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package devolum-oral */ if ( ! function_exists( 'devo_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function devo_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on devolum-oral, use a find and replace * to change 'devo' to the name of your theme in all the template files. */ load_theme_textdomain( 'devo', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'menu-1' => esc_html__( 'Primary', 'devo' ), ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); } endif; add_action( 'after_setup_theme', 'devo_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ function devo_content_width() { // This variable is intended to be overruled from themes. // Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}. // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound $GLOBALS['content_width'] = apply_filters( 'devo_content_width', 640 ); } add_action( 'after_setup_theme', 'devo_content_width', 0 ); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function devo_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'devo' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here.', 'devo' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); } add_action( 'widgets_init', 'devo_widgets_init' ); /** * Enqueue scripts and styles. */ function devo_scripts() { wp_enqueue_style( 'devo-style-font','//fonts.googleapis.com/css?family=Open+Sans:400,800,300' ); wp_enqueue_style( 'devo-style-bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css'); wp_enqueue_style( 'devo-style-awesome','//use.fontawesome.com/releases/v5.5.0/css/all.css'); // wp_enqueue_style( 'devo-style-owl', get_template_directory_uri() . '/assets/css/owl.carousel.min.css'); // wp_enqueue_style( 'devo-style-owl-theme', get_template_directory_uri() . '/assets/css/owl.theme.default.min.css'); wp_enqueue_style( 'devo-slick-theme','https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css'); wp_enqueue_style( 'devo-slick-main','//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css'); wp_enqueue_style( 'devo-style-fancybox', get_template_directory_uri() . '/assets/css/jquery.fancybox.min.css'); wp_enqueue_style( 'devo-style-main', get_template_directory_uri() . '/assets/css/style.css'); wp_enqueue_style( 'devo-main-css', get_template_directory_uri() . '/assets/css/main.css'); // style.css wp_enqueue_style( 'devo-style', get_stylesheet_uri() ); wp_enqueue_script( 'devo-js-popper', '//cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js', array('jquery'), '20151215', true ); wp_enqueue_script( 'devo-js-boorstrap', get_template_directory_uri() . '/assets/js/bootstrap.min.js', array('jquery'), '20151215', true ); wp_enqueue_script( 'devo-js-owl', get_template_directory_uri() . '/assets/js/owl.carousel.min.js', array('jquery'), '20151215', true ); wp_enqueue_script( 'devo-js-fancy', get_template_directory_uri() . '/assets/js/jquery.fancybox.min.js', array('jquery'), '20151215', true ); wp_enqueue_script( 'devo-js-nicescroll','//cdnjs.cloudflare.com/ajax/libs/jquery.nicescroll/3.7.6/jquery.nicescroll.min.js', array('jquery'), '20151215', true ); wp_enqueue_script( 'devo-js-slick','//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js', array('jquery'), '20151215', true ); wp_enqueue_script( 'devo-js-main', get_template_directory_uri() . '/assets/js/script.js', array('jquery'), '20151215', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'devo_scripts' ); add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } } function create_service_post_type() { register_post_type( 'services', array( 'labels' => array( 'name' => __( 'services' ), 'singular_name' => __( 'service' ) ), 'public' => true, 'has_archive' => true, 'supports' => array( 'title','editor','thumbnail') ) ); } add_action( 'init', 'create_service_post_type' ); function create_post_type() { register_post_type( 'Xrays', array( 'labels' => array( 'name' => __( 'Patient Xrays' ), 'singular_name' => __( 'Xray' ) ), 'public' => true, 'has_archive' => true, 'supports' => array( 'title') ) ); // register_taxonomy( // 'patient', // 'xrays', // array( // 'label' => __( 'Patient' ), // 'public' => true, // 'rewrite' => true, // 'hierarchical' => true, // ) // ); } add_action( 'init', 'create_post_type' ); add_role( 'doctor', __( 'Doctor' ), array( 'read' => true, // true allows this capability 'edit_posts' => false, ) ); add_action('wp_logout','auto_redirect_after_logout'); function auto_redirect_after_logout(){ wp_redirect(get_home_url()); exit(); }<!doctype html> <html lang="en-US"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <!-- This site is optimized with the Yoast SEO plugin v13.0 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="robots" content="noindex,follow"/> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="object" /> <meta property="og:title" content="Page not found - oral dashbaord" /> <meta property="og:site_name" content="oral dashbaord" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:title" content="Page not found - oral dashbaord" /> <script type='application/ld+json' class='yoast-schema-graph yoast-schema-graph--main'>{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://oral-image.com/#website","url":"https://oral-image.com/","name":"oral dashbaord","description":"Just another WordPress site","potentialAction":{"@type":"SearchAction","target":"https://oral-image.com/?s={search_term_string}","query-input":"required name=search_term_string"}}]}</script> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//s.w.org' /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/oral-image.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.3.2"}}; !function(e,a,t){var r,n,o,i,p=a.createElement("canvas"),s=p.getContext&&p.getContext("2d");function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline="top",s.font="600 32px Arial",e){case"flag":return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case"emoji":return!c([55357,56424,55356,57342,8205,55358,56605,8205,55357,56424,55356,57340],[55357,56424,55356,57342,8203,55358,56605,8203,55357,56424,55356,57340])}return!1}function d(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(i=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o<i.length;o++)t.supports[i[o]]=l(i[o]),t.supports.everything=t.supports.everything&&t.supports[i[o]],"flag"!==i[o]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[i[o]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(r=t.source||{}).concatemoji?d(r.concatemoji):r.wpemoji&&r.twemoji&&(d(r.twemoji),d(r.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://oral-image.com/wp-includes/css/dist/block-library/style.min.css?ver=5.3.2' type='text/css' media='all' /> <link rel='stylesheet' id='wppb_stylesheet-css' href='https://oral-image.com/wp-content/plugins/profile-builder/assets/css/style-front-end.css?ver=3.1.0' type='text/css' media='all' /> <script>if (document.location.protocol != "https:") {document.location = document.URL.replace(/^http:/i, "https:");}</script><link rel='https://api.w.org/' href='https://oral-image.com/wp-json/' /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://oral-image.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://oral-image.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.3.2" /> <style type="text/css" id="wp-custom-css"> section.devo-content { min-height: 50vh; } p.wppb-alert { max-width: 1200px; margin: 0 auto; padding: 100px 0px 50px; } .devo-content .x-rays .x-rays-content .img-box { padding: 10px; margin: 10px; } p#breadcrumbs a { color: #758ac3; } .post-type-archive-xrays .footer-info , .single-xrays .footer-info { margin-top: 0px; } </style> <body data-rsssl=1 class="error404"> <!-- start header--> <div class="header-container"> <header class="wrapper clearfix"> <div class="devo-nav"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-6 col-6"> <div class="logo"> <a href="https://oral-image.com"> <img class="img-fluid" src="https://oral-image.com/wp-content/themes/devolum-oral/assets/img/logo.png" alt="logo"> </a> </div> </div> <div class="col-lg-7 col-md-6 col-6"> <div class="menu menu-nav deck"> <ul id="primary-menu" class="menu menu-list list-unstyled d-flex"><li id="menu-item-135" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-135"><a href="https://oral-image.com/">Home</a></li> <li id="menu-item-137" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-137"><a href="https://oral-image.com/gallery/">Gallery</a></li> <li id="menu-item-140" class="menu-item menu-item-type-post_type menu-item-object-page current_page_parent menu-item-140"><a href="https://oral-image.com/news/">News</a></li> <li id="menu-item-136" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-136"><a href="https://oral-image.com/contact-us/">contact us</a></li> </ul> </div> <div class="mob-md"> <i class="fas fa-times times"></i> <div class="menu menu-nav"> <ul id="primary-menu" class="menu menu-list list-unstyled "><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-135"><a href="https://oral-image.com/">Home</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-137"><a href="https://oral-image.com/gallery/">Gallery</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page current_page_parent menu-item-140"><a href="https://oral-image.com/news/">News</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-136"><a href="https://oral-image.com/contact-us/">contact us</a></li> </ul> </div> <div class="doctorsarea div-botton-devo"> <a href="https://oral-image.com/xrays">Doctors Area</a> </div> </div> <div class="burger"> <i class="fas fa-bars menu-open"></i> </div> </div> <div class="col-md-2 col-6"> <div class="doctorsarea div-botton-devo deck "> <a href="https://oral-image.com/xrays">Doctors Area</a> </div> </div> <div class="over-layer"></div> </div> </div> </div> </header> </div> <!-- end header--> <!-- start content--> <div class="main-container"> <main class="main wrapper clearfix"> <div class="devo-div"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="head-titel"> <h2 class="title-h2"> Error </h2> <p class="head-p"> It looks like nothing was found at this location. </p> </div> </div> </div> </div> </div> <section class="error-page"> <div class="container"> <div class="row"> <div class="col-md-6"> <div class="p-error"> <p class="error"> 404 ERROR </p> <p class=""> Oops! That page can’t be found. </p> </div> </div> <div class="col-md-6"> <div class="error-img"> <img src="https://oral-image.com/wp-content/themes/devolum-oral/assets/img/error.svg" alt="error" class="img-fluid"> </div> </div> </div> </div> </section> </main> </div> <!-- end content--> <!-- start footer--> <div class="footer-container"> <footer class="wrapper"> <!-- start footer info --> <div class="footer-info"> <div class="container"> <div class="row"> <div class="col-lg-5 col-md-7 col-12"> <div class="card-item adress-footer"> <p class="card-p address"> 191 El-geach Street, Dahab Tower, </p> <p class="card-p address"> Beside Refaat El Gamil Bldg, Behind Egypt Air, Mansoura.</p> </div> </div> <div class="col-lg-4 col-md-5 col-12"> <div class="card-item number-footer"> <p class="card-p light-font"> <a href="tel:01558888548">01558888548</a> - <a href="tel:01023423237">01023423237</a> - </p> <p class="card-p light-font"><a href="tel:0502726545">0502726545</a></p> </div> </div> <div class="col-lg-3 col-md-6 col-12"> <div class="card-item email-footer"> <p class="card-p light-font email"> <a href="mailto:info@oralimage.com"> info@oral-image.com</a> </p> </div> </div> </div> </div> </div> <!-- end footer info --> <!-- start footer mine --> <div class="mine-footer"> <div class="container"> <div class="row"> <div class="col-lg-5 col-md-6 col-sm-6 col-6"> <div class="footer-logo"> <a href="#"> <img src="https://oral-image.com/wp-content/themes/devolum-oral/assets/img/logo.png" class="img-fluid" alt="img"> </a> </div> <div class="footer-item"> <p class="footer-p"> Welcome to the future of DIGITAL DENTISTRY Dent2 is a DLP 3D printer that allowa dental labs and clinic to strictly manufacture dental designs .We have dental X-ray unit that produces stunning images for panoramic ,cephalometic, and CBCT evaluation. </p> </div> <div class="social"> <ul class="list-unstyled"> <li class="list-item"> <a href="#" class="a-item"> <i class="fab fa-linkedin-in"></i> </a> </li> <li class="list-item"> <a href="#" class="a-item"> <i class="fas fa-phone phone"></i> </a> </li> <li class="list-item"> <a href="#" class="a-item"> <i class="fab fa-twitter"></i> </a> </li> <li class="list-item"> <a href="#" class="a-item"> <i class="fab fa-facebook-f face"></i> </a> </li> </ul> </div> </div> <div class=" col-lg-2 col-md-6 col-sm-6 col-6"> <div class="footer-list"> <p class="footer-list-p"> Services </p> <ul class="list-unstyled"> <li class="footer-list-item"> <a href="#"> 2D imaging </a> </li> <li class="footer-list-item"> <a href="#"> 3D Imaging </a> </li> <li class="footer-list-item"> <a href="#"> Surgery </a> </li> <li class="footer-list-item"> <a href="#"> Intraoral scanner </a> </li> <li class="footer-list-item"> <a href="#"> Orthodontic </a> </li> </ul> </div> </div> <div class="col-lg-3 col-md-6 col-sm-6 col-6"> <div class="footer-list"> <p class="footer-list-p"> Useful links </p> <ul class="list-unstyled"> <li class="footer-list-item"> <a href="#"> About us </a> </li> <li class="footer-list-item"> <a href="#"> Our mission </a> </li> <li class="footer-list-item"> <a href="#"> Contact us </a> </li> <li class="footer-list-item"> <a href="#"> Gallery </a> </li> </ul> </div> </div> <div class="col-lg-2 col-md-6 col-sm-6 col-6"> <div class="footer-list"> <p class="footer-list-p"> Most visited </p> <ul class="list-unstyled"> <li class="footer-list-item"> <a href="#"> Services </a> </li> <li class="footer-list-item"> <a href="#"> 3D X-ray </a> </li> <li class="footer-list-item"> <a href="#"> About Us </a> </li> <li class="footer-list-item"> <a href="#"> Surgery </a> </li> <li class="footer-list-item"> <a href="#"> Intraoral scanner </a> </li> </ul> </div> </div> </div> </div> </div> <!-- end footer mine --> <!-- start copyright footer --> <div class="copyright"> <div class="container"> <div class="row"> <div class="col-md-12"> <p class="copy-p"> All rights reserved for Oral-image.com 2019 </p> </div> </div> </div> </div> <!-- end copyright footer --> </footer> </div> <!-- end footer--> <script type='text/javascript' src='https://oral-image.com/wp-includes/js/wp-embed.min.js?ver=5.3.2'></script> </body> </html>