<?php

/**
 * The main template file used in archive, index, search
 *
 * @package Rhythm
 */
get_header();
?>
<!-- Home Section -->
<section class="home-section bg-dark-alfa-90 parallax-2" data-background="<?php 
echo esc_url(ts_get_opt_media('under-construction-background'));
?>
">
	<div class="js-height-full">

		<!-- Hero Content -->
		<div class="home-content container">
			<div class="home-text">
				<div class="hs-cont">

					<!-- Headings -->
					<div class="hs-wrap">

						<div class="hs-line-12 font-alt mb-10">
							<?php 
echo wp_kses_post(ts_get_opt('under-construction-title'));
?>
						</div>

						<div class="hs-line-6 no-transp font-alt mb-40">
Esempio n. 2
0
?>
';
		(function ($) {
			$(document).ready(function () {
				$('.kw').focus();
			})
		})(jQuery)
	</script>
</head>
<body <?php 
body_class();
?>
>
<?php 
if (ts_get_opt('enable-preloader') == 1) {
    $preloader_custom_image = ts_get_opt_media('preloader-custom-image');
    ?>
	<!-- Page Loader -->
	<div class="page-loader <?php 
    echo !empty($preloader_custom_image) ? 'loader-custom-image' : '';
    ?>
">
		<?php 
    if (!empty($preloader_custom_image)) {
        ?>
			<div class="loader-image">
				<img src="<?php 
        echo esc_url($preloader_custom_image);
        ?>
" alt="<?php 
        _e('Loading...', 'rhythm');
Esempio n. 3
0
    if (is_array($background) && $background['url'] != '') {
        $add_bg = true;
    }
    ?>
	<!-- Title Wrapper Section -->
	<section class="small-section pb-30 <?php 
    echo sanitize_html_classes($style_class);
    ?>
" <?php 
    echo true === $add_bg ? 'style="background-image: url(' . esc_url($background['url']) . ');"' : '';
    ?>
>

		<div class="container align-center">
			<?php 
    $image_url = ts_get_opt_media('title-wrapper-image');
    if (!empty($image_url)) {
        ?>
				<div class="mb-10">
					<img src="<?php 
        echo esc_url($image_url);
        ?>
" alt="<?php 
        echo esc_attr(get_the_title());
        ?>
" />
				</div>
			<?php 
    }
    ?>
			<h1 class="magazine-logo-text font-alt"><?php 
Esempio n. 4
0
<?php

/**
 * The template for displaying 404 pages (not found).
 *
 * @package Rhythm
 */
get_header();
?>
<!-- Home Section -->
<section class="home-section bg-dark-alfa-50 parallax-2" data-background="<?php 
echo esc_url(ts_get_opt_media('404-background'));
?>
">
	<div class="js-height-full">

		<!-- Hero Content -->
		<div class="home-content container">
			<div class="home-text">
				<div class="hs-cont">

					<!-- Headings -->
					<div class="hs-wrap">

						<div class="hs-line-13 font-alt mb-10">
							404
						</div>

						<div class="hs-line-4 font-alt mb-40">
							<?php 
_e('The page you were looking for could not be found.', 'rhythm');