/** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ /** * Cygni functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Cygni */ if ( ! defined( 'VERSION' ) ) { // Replace the version number of the theme on each release. define( 'VERSION', '1.0.0' ); } if ( ! function_exists( 'cygni_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 cygni_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on Cygni, use a find and replace * to change 'cygni' to the name of your theme in all the template files. */ load_theme_textdomain( 'cygni', 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', 'cygni' ), ) ); /* * 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', 'style', 'script', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'cygni_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); /** * Add support for core custom logo. * * @link https://codex.wordpress.org/Theme_Logo */ add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); } endif; add_action( 'after_setup_theme', 'cygni_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 cygni_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( 'cygni_content_width', 640 ); } add_action( 'after_setup_theme', 'cygni_content_width', 0 ); /** * Scripts and Styles */ require get_template_directory() . '/inc/static.php'; /** * Register Widgets */ require get_template_directory() . '/inc/widgets.php'; /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Functions which enhance the theme by hooking into WordPress. */ require get_template_directory() . '/inc/template-functions.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * ACF Fields */ require get_template_directory() . '/inc/acf.php'; /** * Register Demos */ require get_template_directory() . '/inc/demo-import.php'; /** * TGM Plugin activation */ require get_template_directory() . '/inc/class-tgm-plugin-activation.php'; require get_template_directory() . '/inc/cygni-add-plugins.php'; /** * Load Jetpack compatibility file. */ if ( defined( 'JETPACK__VERSION' ) ) { require get_template_directory() . '/inc/jetpack.php'; } <!doctype html> <html lang="el"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <meta name='robots' content='max-image-preview:large' /> <link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://olympusgods.gr/wp-json/oembed/1.0/embed?url=https%3A%2F%2Folympusgods.gr%2F" /> <link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://olympusgods.gr/wp-json/oembed/1.0/embed?url=https%3A%2F%2Folympusgods.gr%2F&format=xml" /> <style id='wp-img-auto-sizes-contain-inline-css' type='text/css'> img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px} /*# sourceURL=wp-img-auto-sizes-contain-inline-css */ </style> <style id='wp-emoji-styles-inline-css' 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 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } /*# sourceURL=wp-emoji-styles-inline-css */ </style> <style id='wp-block-library-inline-css' type='text/css'> :root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}} /*# sourceURL=wp-block-library-inline-css */ </style> <style id='classic-theme-styles-inline-css' type='text/css'> /*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} /*# sourceURL=/wp-includes/css/classic-themes.min.css */ </style> <link rel="https://api.w.org/" href="https://olympusgods.gr/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://olympusgods.gr/wp-json/wp/v2/pages/291" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://olympusgods.gr/xmlrpc.php?rsd" /> <meta name="generator" content="WordPress 6.9.4" /> <link rel="canonical" href="https://olympusgods.gr/" /> <link rel='shortlink' href='https://olympusgods.gr/' /> <link rel="icon" href="https://olympusgods.gr/wp-content/uploads/2022/10/12-icon-150x150.png" sizes="32x32" /> <link rel="icon" href="https://olympusgods.gr/wp-content/uploads/2022/10/12-icon.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://olympusgods.gr/wp-content/uploads/2022/10/12-icon.png" /> <meta name="msapplication-TileImage" content="https://olympusgods.gr/wp-content/uploads/2022/10/12-icon.png" /> </head> <body class="home wp-singular page-template page-template-elementor_header_footer page page-id-291 wp-theme-cygni" data-background="" data-layout="layout-light"> <div id="page" class="site ajax-disabled page-loader-disabled" data-barba="wrapper"> <!-- Loading Text --> <div data-duration="3000" class="loading-text"></div> <!-- Loading Text --> <!-- Lines (Don't Touch) --> <div class="lines"> <span class="line line-1"></span> <span class="line line-2"></span> <span class="line line-3"></span> </div> <!-- /Lines --> <!-- Overlays (Don't Touch) --> <div class="overlays"> <span class="overlay overlay-1 ov-ready"></span> <span class="overlay overlay-2 ov-ready"></span> <span class="overlay overlay-3 ov-ready"></span> <span class="overlay overlay-4 ov-ready"></span> </div> <!-- /Overlays --> <a class="skip-link screen-reader-text" href="#primary">Skip to content</a> <header id="masthead" class="site-header dark "> <div class="site-branding"> <!--Site Branding --> <div class="site-meta"> <div class="dark-logo"> <h4 class="site-title"><a href="https://olympusgods.gr/" rel="home">Διαδραστικό Μουσείο</a></h4> <p class="site-description">"Οι 12 Θεοί του Ολύμπου σε Επαυξημένη Πραγματικότητα"</p> </div> <div class="light-logo"> <h4 class="site-title"><a href="https://olympusgods.gr/" rel="home">Διαδραστικό Μουσείο</a></h4> <p class="site-description">"Οι 12 Θεοί του Ολύμπου σε Επαυξημένη Πραγματικότητα"</p> </div> </div> </div> <nav id="site-navigation" class="site-navigation classic dark"> <span class="menu-ov menu-ov-1"></span> <span class="menu-ov menu-ov-2"></span> <span class="menu-ov menu-ov-3"></span> <span class="menu-ov menu-ov-4"></span> <!-- Menu Toggle (Don't Touch) --> <div class="menu-toggle"> <span class="toggle-line toggle-line-1"></span> <span class="toggle-line toggle-line-2"></span> </div> <!-- /Menu Toggle --> <div class="menu-wrapper"> </div> <!-- Menu Widget (Left) --> <div class="menu-widget-wrapper mww-1"> <div class="menu-widget"> <div class="menu-widget-title"> </div> </div> </div> <!--/ Menu Widget (Left) --> <!-- Menu Widget (Middle) --> <div class="menu-widget-wrapper mww-2"> <div class="scrolling-button"> <a href=""></a> </div> </div> <!--/ Menu Widget (Middle) --> <!-- Menu Widget (Right --> <div class="menu-widget-wrapper mww-3"> <div class="menu-widget"> <div class="menu-widget-title"> </div> </div> </div> <!--/ Menu Widget (Right) --> </nav><!-- #site-navigation --> </header><!-- #masthead -->