/* * 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="description" content="Amazing treatments for sun damaged skin in Newcastle upon Tyne. Clearskin Newcastle have helped hundreds of people achieve beutiful skin."/> <meta name="robots" content="max-snippet:-1, max-image-preview:large, max-video-preview:-1"/> <link rel="canonical" href="https://clearskinnewcastle.co.uk/treatments/pigmentation-and-sun-damage/" /> <meta property="og:locale" content="en_GB" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Sun damaged skin treatments - Clearskin Newcastle - beautiful skin" /> <meta property="og:description" content="Amazing treatments for sun damaged skin in Newcastle upon Tyne. Clearskin Newcastle have helped hundreds of people achieve beutiful skin." /> <meta property="og:url" content="https://clearskinnewcastle.co.uk/treatments/pigmentation-and-sun-damage/" /> <meta property="og:site_name" content="Clearskin Newcastle" /> <meta property="article:publisher" content="https://www.facebook.com/clearskinnewcastle/" /> <meta property="og:image" content="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation.jpg" /> <meta property="og:image:secure_url" content="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation.jpg" /> <meta property="og:image:width" content="1290" /> <meta property="og:image:height" content="860" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:description" content="Amazing treatments for sun damaged skin in Newcastle upon Tyne. Clearskin Newcastle have helped hundreds of people achieve beutiful skin." /> <meta name="twitter:title" content="Sun damaged skin treatments - Clearskin Newcastle - beautiful skin" /> <meta name="twitter:site" content="@clearskin_ne" /> <meta name="twitter:image" content="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation.jpg" /> <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":"ImageObject","@id":"https://clearskinnewcastle.co.uk/treatments/pigmentation-and-sun-damage/#primaryimage","inLanguage":"en-GB","url":"https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation.jpg","width":1290,"height":860,"caption":"Laser treatments for sun damaged skin - amazing results"},{"@type":"WebPage","@id":"https://clearskinnewcastle.co.uk/treatments/pigmentation-and-sun-damage/#webpage","url":"https://clearskinnewcastle.co.uk/treatments/pigmentation-and-sun-damage/","name":"Sun damaged skin treatments - Clearskin Newcastle - beautiful skin","isPartOf":{"@id":"https://clearskinnewcastle.co.uk/#website"},"inLanguage":"en-GB","primaryImageOfPage":{"@id":"https://clearskinnewcastle.co.uk/treatments/pigmentation-and-sun-damage/#primaryimage"},"datePublished":"2017-05-24T17:19:42+00:00","dateModified":"2019-09-16T09:42:58+00:00","description":"Amazing treatments for sun damaged skin in Newcastle upon Tyne. Clearskin Newcastle have helped hundreds of people achieve beutiful skin.","potentialAction":[{"@type":"ReadAction","target":["https://clearskinnewcastle.co.uk/treatments/pigmentation-and-sun-damage/"]}]}]}</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/24" /><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=24' /> <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%2Ftreatments%2Fpigmentation-and-sun-damage%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%2Ftreatments%2Fpigmentation-and-sun-damage%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-default page page-id-24 page-child parent-pageid-18 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-24" class="post-24 page type-page status-publish hentry"> <header class="entry-header"> <h1 class="entry-title">Pigmentation and Sun Damage</h1> </header><!-- .entry-header --> <div class="entry-content"> <img width="1024" height="683" src="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation-1024x683.jpg" class="aligncenter wp-post-image" alt="Laser treatments for sun damaged skin - amazing results" loading="lazy" srcset="https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation-1024x683.jpg 1024w, https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation-300x200.jpg 300w, https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation-768x512.jpg 768w, https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation-570x380.jpg 570w, https://clearskinnewcastle.co.uk/wp-content/uploads/2017/09/pigmentation.jpg 1290w" sizes="(max-width: 1024px) 100vw, 1024px" /> <p>Freckles, sun spots, liver or age spots, sun damaged skin, and other unwanted pigmentation are often associated with skin ageing and sun damage caused by over exposure to the sun or sunbeds. Generally, these pigmentation spots pose no health risk, however they can be unsightly and create a patchy, less youthful appearance. Freckling and age spots are successfully lightened or removed with our Q-Switched Laser</p> </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">