-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
34 lines (31 loc) · 1.15 KB
/
page.php
File metadata and controls
34 lines (31 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/*
@package Olegs
*/
get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php get_template_part('inc/background-image'); ?>
<article itemscope="itemscope" itemtype="https://schema.org/BlogPosting" itemprop="blogPost" role="main">
<meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="<?php the_permalink() ?>"/>
<header class="gallery-cover">
<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="<?php echo $thumb_url_full; ?>">
<meta itemprop="width" content="1620px">
<meta itemprop="height" content="1080px">
</span>
<div>
<h1 itemprop="headline"><?php the_title(); ?></h1>
</div>
</header>
<div class="about-content">
<p class="excerpt"><?php echo get_the_excerpt(); ?></p>
<?php the_content(); ?>
<div class="clearfix"></div>
<p class="scroll-top"><a href="#top"><?php _e('⇡ Torna su', 'olegs'); ?></a></p>
<div class="clearfix"></div>
</div>
</article>
<?php endwhile; else: ?>
<h3>Sorry, no matched your criteria.</h3>
<?php endif; wp_reset_query(); ?>
<?php get_footer(); ?>