/* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. */ /** * Medical Way functions and definitions. * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Medical_Way */ if ( ! function_exists( 'medical_way_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 medical_way_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on Medical Way, use a find and replace * to change 'medical-way' to the name of your theme in all the template files. */ load_theme_textdomain( 'medical-way' ); // 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 custom logo. */ add_theme_support( 'custom-logo', array( 'height' => 70, 'width' => 220, ) ); /* * 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' ); add_image_size('medical-way-large', 570, 380, true); // Register navigation menu locations. register_nav_menus( array( 'primary' => esc_html__( 'Primary Navigation', 'medical-way' ), 'top' => esc_html__( 'Top Navigation', 'medical-way' ), 'social' => esc_html__( 'Social Links', 'medical-way' ), ) ); /* * 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', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'medical_way_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); } endif; add_action( 'after_setup_theme', 'medical_way_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 medical_way_content_width() { $GLOBALS['content_width'] = apply_filters( 'medical_way_content_width', 810 ); } add_action( 'after_setup_theme', 'medical_way_content_width', 0 ); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function medical_way_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'medical-way' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here to appear in Sidebar.', 'medical-way' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => esc_html__( 'Home Page Widget Area', 'medical-way' ), 'id' => 'home-page-widget-area', 'description' => esc_html__( 'Add widgets here to appear in Home Page Widget Area.', 'medical-way' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h3 class="widget-title"><span>', 'after_title' => '</span></h3>', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'medical-way' ), 1 ), 'id' => 'footer-1', 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'medical-way' ), 2 ), 'id' => 'footer-2', 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'medical-way' ), 3 ), 'id' => 'footer-3', 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'medical-way' ), 4 ), 'id' => 'footer-4', 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); } add_action( 'widgets_init', 'medical_way_widgets_init' ); /** * Enqueue scripts and styles. */ function medical_way_scripts() { wp_enqueue_style( 'medical-way-fonts', medical_way_fonts_url(), array(), null ); wp_enqueue_style( 'jquery-meanmenu', get_template_directory_uri() . '/assets/third-party/meanmenu/meanmenu.css' ); wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/assets/third-party/font-awesome/css/font-awesome.min.css', '', '4.7.0' ); wp_enqueue_style( 'medical-way-style', get_stylesheet_uri() ); wp_enqueue_script( 'medical-way-navigation', get_template_directory_uri() . '/assets/js/navigation.js', array(), '20151215', true ); wp_enqueue_script( 'medical-way-skip-link-focus-fix', get_template_directory_uri() . '/assets/js/skip-link-focus-fix.js', array(), '20151215', true ); wp_enqueue_script( 'jquery-cycle2', get_template_directory_uri() . '/assets/third-party/cycle2/js/jquery.cycle2.min.js', array( 'jquery' ), '2.1.6', true ); wp_enqueue_script( 'jquery-waypoints', get_template_directory_uri() . '/assets/third-party/counter-up/jquery.waypoints.min.js', array('jquery'), '4.0.1', true ); wp_enqueue_script( 'jquery-counterup', get_template_directory_uri() . '/assets/third-party/counter-up/jquery.counterup.min.js', array('jquery-waypoints'), '2.0.5', true ); wp_enqueue_script( 'jquery-meanmenu', get_template_directory_uri() . '/assets/third-party/meanmenu/jquery.meanmenu.js', array('jquery'), '2.0.2', true ); wp_enqueue_script( 'medical-way-custom', get_template_directory_uri() . '/assets/js/custom.js', array( 'jquery' ), '1.1.3', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } $enable_sticky = medical_way_get_option('enable_sticky'); if (true === $enable_sticky) { wp_enqueue_script('jquery-sticky', get_template_directory_uri() . '/assets/third-party/sticky/jquery.sticky.js', array('jquery'), '1.0.4', true); wp_enqueue_script('pt-magazine-custom-sticky', get_template_directory_uri() . '/assets/third-party/sticky/custom-sticky.js', array('jquery-sticky'), '1.0.4', true); } } add_action( 'wp_enqueue_scripts', 'medical_way_scripts' ); /** * Enqueue scripts and styles for admin >> widget page only. */ function medical_way_admin_scripts( $hook ) { if( 'widgets.php' === $hook ){ wp_enqueue_style( 'medical-way-admin', get_template_directory_uri() . '/includes/widgets/css/admin.css', array(), '1.1.3' ); wp_enqueue_media(); wp_enqueue_script( 'medical-way-admin', get_template_directory_uri() . '/includes/widgets/js/admin.js', array( 'jquery' ), '1.1.3' ); } } add_action( 'admin_enqueue_scripts', 'medical_way_admin_scripts' ); // Load main file. require_once trailingslashit( get_template_directory() ) . '/includes/main.php'; /* Turn on wide images */ add_theme_support( 'align-wide' );<head> <meta name='robots' content='max-image-preview:large' /> <!-- This site is optimized with the Yoast SEO plugin v13.3 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="robots" content="max-snippet:-1, max-image-preview:large, max-video-preview:-1"/> <link rel="canonical" href="https://clearskinnewcastle.co.uk/contact-us/" /> <meta property="og:locale" content="en_GB" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Contact Us - Clearskin Newcastle" /> <meta property="og:description" content="0191 209 1572" /> <meta property="og:url" content="https://clearskinnewcastle.co.uk/contact-us/" /> <meta property="og:site_name" content="Clearskin Newcastle" /> <meta property="article:publisher" content="https://www.facebook.com/clearskinnewcastle/" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:description" content="0191 209 1572" /> <meta name="twitter:title" content="Contact Us - Clearskin Newcastle" /> <meta name="twitter:site" content="@clearskin_ne" /> <meta name="twitter:creator" content="@clearskin_ne" /> <script type='application/ld+json' class='yoast-schema-graph yoast-schema-graph--main'>{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://clearskinnewcastle.co.uk/#organization","name":"Clearskin Newcastle","url":"https://clearskinnewcastle.co.uk/","sameAs":["https://www.facebook.com/clearskinnewcastle/","https://www.instagram.com/clearskin_newcastle/","https://twitter.com/clearskin_ne"],"logo":{"@type":"ImageObject","@id":"https://clearskinnewcastle.co.uk/#logo","inLanguage":"en-GB","url":"https://clearskinnewcastle.co.uk/wp-content/uploads/2017/10/Clear-Skin-Logo-3-1.png","width":1683,"height":909,"caption":"Clearskin Newcastle"},"image":{"@id":"https://clearskinnewcastle.co.uk/#logo"}},{"@type":"WebSite","@id":"https://clearskinnewcastle.co.uk/#website","url":"https://clearskinnewcastle.co.uk/","name":"Clearskin Newcastle","inLanguage":"en-GB","description":"Own your skin","publisher":{"@id":"https://clearskinnewcastle.co.uk/#organization"},"potentialAction":[{"@type":"SearchAction","target":"https://clearskinnewcastle.co.uk/?s={search_term_string}","query-input":"required name=search_term_string"}]},{"@type":"WebPage","@id":"https://clearskinnewcastle.co.uk/contact-us/#webpage","url":"https://clearskinnewcastle.co.uk/contact-us/","name":"Contact Us - Clearskin Newcastle","isPartOf":{"@id":"https://clearskinnewcastle.co.uk/#website"},"inLanguage":"en-GB","datePublished":"2017-05-24T17:46:24+00:00","dateModified":"2017-11-24T12:25:23+00:00","potentialAction":[{"@type":"ReadAction","target":["https://clearskinnewcastle.co.uk/contact-us/"]}]}]}</script> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//www.google.com' /> <link rel='dns-prefetch' href='//s.w.org' /> <!-- This site uses the Google Analytics by MonsterInsights plugin v7.10.4 - Using Analytics tracking - https://www.monsterinsights.com/ --> <script type="text/javascript" data-cfasync="false"> var mi_version = '7.10.4'; var mi_track_user = true; var mi_no_track_reason = ''; var disableStr = 'ga-disable-UA-146595125-1'; /* Function to detect opted out users */ function __gaTrackerIsOptedOut() { return document.cookie.indexOf(disableStr + '=true') > -1; } /* Disable tracking if the opt-out cookie exists. */ if ( __gaTrackerIsOptedOut() ) { window[disableStr] = true; } /* Opt-out function */ function __gaTrackerOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; } if ( mi_track_user ) { (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','__gaTracker'); __gaTracker('create', 'UA-146595125-1', 'auto'); __gaTracker('set', 'forceSSL', true); __gaTracker('require', 'displayfeatures'); __gaTracker('send','pageview'); } else { console.log( "" ); (function() { /* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */ var noopfn = function() { return null; }; var noopnullfn = function() { return null; }; var Tracker = function() { return null; }; var p = Tracker.prototype; p.get = noopfn; p.set = noopfn; p.send = noopfn; var __gaTracker = function() { var len = arguments.length; if ( len === 0 ) { return; } var f = arguments[len-1]; if ( typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function' ) { console.log( 'Not running function __gaTracker(' + arguments[0] + " ....) because you are not being tracked. " + mi_no_track_reason ); return; } try { f.hitCallback(); } catch (ex) { } }; __gaTracker.create = function() { return new Tracker(); }; __gaTracker.getByName = noopnullfn; __gaTracker.getAll = function() { return []; }; __gaTracker.remove = noopfn; window['__gaTracker'] = __gaTracker; })(); } </script> <!-- / Google Analytics by MonsterInsights --> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/clearskinnewcastle.co.uk\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.8.1"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([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!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);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()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.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://clearskinnewcastle.co.uk/wp-includes/css/dist/block-library/style.min.css?ver=5.8.1' type='text/css' media='all' /> <link rel='stylesheet' id='contact-form-7-css' href='https://clearskinnewcastle.co.uk/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.1.7' type='text/css' media='all' /> <script type='text/javascript' id='monsterinsights-frontend-script-js-extra'> /* <![CDATA[ */ var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[]","home_url":"https:\/\/clearskinnewcastle.co.uk","hash_tracking":"false"}; /* ]]> */ </script> <script type='text/javascript' src='https://clearskinnewcastle.co.uk/wp-content/plugins/google-analytics-for-wordpress/assets/js/frontend.min.js?ver=7.10.4' id='monsterinsights-frontend-script-js'></script> <script type='text/javascript' src='https://clearskinnewcastle.co.uk/wp-includes/js/jquery/jquery.min.js?ver=3.6.0' id='jquery-core-js'></script> <script type='text/javascript' src='https://clearskinnewcastle.co.uk/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2' id='jquery-migrate-js'></script> <link rel="https://api.w.org/" href="https://clearskinnewcastle.co.uk/wp-json/" /><link rel="alternate" type="application/json" href="https://clearskinnewcastle.co.uk/wp-json/wp/v2/pages/65" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://clearskinnewcastle.co.uk/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://clearskinnewcastle.co.uk/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.8.1" /> <link rel='shortlink' href='https://clearskinnewcastle.co.uk/?p=65' /> <link rel="alternate" type="application/json+oembed" href="https://clearskinnewcastle.co.uk/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fclearskinnewcastle.co.uk%2Fcontact-us%2F" /> <link rel="alternate" type="text/xml+oembed" href="https://clearskinnewcastle.co.uk/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fclearskinnewcastle.co.uk%2Fcontact-us%2F&format=xml" /> <link rel="icon" href="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/cropped-clearskinnewcastle_logo-1-32x32.png" sizes="32x32" /> <link rel="icon" href="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/cropped-clearskinnewcastle_logo-1-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/cropped-clearskinnewcastle_logo-1-180x180.png" /> <meta name="msapplication-TileImage" content="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/cropped-clearskinnewcastle_logo-1-270x270.png" /> <style type="text/css" id="wp-custom-css"> /* fix for ipad chrome links in slider */ @media only screen and (max-width: 1024px) and (min-width: 767px) { .caption-wrap { height: 250px; } } </style> </head> <body class="page-template page-template-templates page-template-full-width-page page-template-templatesfull-width-page-php page page-id-65 wp-custom-logo"> <div id="page" class="site"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <article id="post-65" class="post-65 page type-page status-publish hentry"> <header class="entry-header"> <h1 class="entry-title">Contact Us</h1> </header><!-- .entry-header --> <div class="entry-content"> <h3><span class="fa fa-phone" aria-hidden="true"></span> <a href="tel:01912091572">0191 209 1572</a></h3> <div role="form" class="wpcf7" id="wpcf7-f108-p65-o1" lang="en-US" dir="ltr"> <div class="screen-reader-response"></div> <form action="/contact-us/#wpcf7-f108-p65-o1" method="post" class="wpcf7-form" novalidate="novalidate"> <div style="display: none;"> <input type="hidden" name="_wpcf7" value="108" /> <input type="hidden" name="_wpcf7_version" value="5.1.7" /> <input type="hidden" name="_wpcf7_locale" value="en_US" /> <input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f108-p65-o1" /> <input type="hidden" name="_wpcf7_container_post" value="65" /> <input type="hidden" name="g-recaptcha-response" value="" /> </div> <p><label> Your Name*<br /> <span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false" /></span> </label></p> <p><label> Your Mobile*<br /> <span class="wpcf7-form-control-wrap your-mobile"><input type="tel" name="your-mobile" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-tel wpcf7-validates-as-required wpcf7-validates-as-tel" aria-required="true" aria-invalid="false" /></span> </label></p> <p><label> Your Email*<br /> <span class="wpcf7-form-control-wrap your-email"><input type="email" name="your-email" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" aria-required="true" aria-invalid="false" /></span> </label></p> <p><label> Subject<br /> <span class="wpcf7-form-control-wrap your-subject"><input type="text" name="your-subject" value="" size="40" class="wpcf7-form-control wpcf7-text" aria-invalid="false" /></span> </label></p> <p><label> Your Message<br /> <span class="wpcf7-form-control-wrap your-message"><textarea name="your-message" cols="40" rows="10" class="wpcf7-form-control wpcf7-textarea" aria-invalid="false"></textarea></span> </label></p> <p><input type="submit" value="Send" class="wpcf7-form-control wpcf7-submit" /></p> <div class="wpcf7-response-output wpcf7-display-none"></div></form></div> </div><!-- .entry-content --> </article><!-- #post-## --> </main><!-- #main --> </div><!-- #primary --> <aside id="footer-widgets" class="widget-area" role="complementary"> <div class="container"> <div class="inner-wrapper"> <div class="widget-column footer-active-4"> </div> <div class="widget-column footer-active-4"> </div> <div class="widget-column footer-active-4"> </div> <div class="widget-column footer-active-4"> </div> </div><!-- .inner-wrapper --> </div><!-- .container --> </aside><!-- #footer-widgets --> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="container">