/** * anther functions and definitions * * @package Anther */ if ( ! function_exists( 'anther_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 anther_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on anther, use a find and replace * to change 'anther' to the name of your theme in all the template files */ load_theme_textdomain( 'anther', 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 custom logo. * * @link https://codex.wordpress.org/Theme_Logo */ add_theme_support( 'custom-logo', array( 'height' => 400, 'width' => 580, 'flex-height' => true, 'flex-width' => true, 'header-text' => array( 'site-title', 'site-description' ), ) ); /* * Enable support for Post Thumbnails on posts and pages. * * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails */ add_theme_support( 'post-thumbnails' ); // Theme Image Sizes add_image_size( 'anther-featured-square', 650, 650, true ); add_image_size( 'anther-featured-landscape', 650, 400, true ); add_image_size( 'anther-featured-portrait', 400, 650, true ); add_image_size( 'anther-featured-single', 1300, 0, true ); // This theme uses wp_nav_menu() in one locations. register_nav_menus( array ( 'header-menu' => esc_html__( 'Header Menu', 'anther' ), ) ); // This theme styles the visual editor to resemble the theme style. add_editor_style( array ( 'dist/css/editor-style.css', anther_fonts_url() ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array ( 'comment-form', 'comment-list', 'gallery', 'caption' ) ); // Setup the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'anther_custom_background_args', array ( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); /* * Wide Alignment Support * @see https://wordpress.org/gutenberg/handbook/extensibility/theme-support/#wide-alignment */ add_theme_support( 'align-wide' ); } endif; // anther_setup add_action( 'after_setup_theme', 'anther_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 anther_content_width() { // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedVariableFound $GLOBALS['content_width'] = apply_filters( 'anther_content_width', 864 ); } add_action( 'after_setup_theme', 'anther_content_width', 0 ); /** * Theme Bootstrap */ require get_template_directory() . '/inc/init.php'; <!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="http://www.no-stress.be/xmlrpc.php" /> <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":"http:\/\/www.no-stress.be\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.4.2"}}; /*! This file is auto-generated */ !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='http://www.no-stress.be/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all' /> <link rel='https://api.w.org/' href='http://www.no-stress.be/wp-json/' /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.no-stress.be/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.no-stress.be/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.4.2" /> </head> <body class="error404"> <div id="page" class="site-wrapper site"> <a class="skip-link screen-reader-text" href="#content">Skip to content</a> <header id="masthead" class="site-header"> <div class="container"> <div class="row"> <div class="col"> <div class="site-header-inside-wrapper"> <div class="site-branding-wrapper"> <div class="site-branding"> <p class="site-title"><a href="http://www.no-stress.be/" title="No-stress" rel="home">No-stress</a></p> <p class="site-description"> e-dentity without stress ! </p> </div> </div><!-- .site-branding-wrapper --> <nav id="site-navigation" class="main-navigation"> <div class="main-navigation-inside"> <div class="toggle-menu-wrapper"> <a href="#header-menu-responsive" title="Menu" class="toggle-menu-control"> <span class="toggle-menu-label">Menu</span> </a> </div> <div id="menu-1" class="header-menu sf-menu"><ul> <li class="page_item page-item-2"><a href="http://www.no-stress.be/about/">About me</a></li> <li class="page_item page-item-252"><a href="http://www.no-stress.be/contact/">Contact</a></li> <li class="page_item page-item-242"><a href="http://www.no-stress.be/">Gallery</a></li> <li class="page_item page-item-106"><a href="http://www.no-stress.be/category/my-bookmarks">My bookmarks</a></li> </ul></div> </div><!-- .main-navigation-inside --> </nav><!-- .main-navigation -->