This repository has been archived by the owner on Apr 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
page-full.php
71 lines (58 loc) · 2.03 KB
/
page-full.php
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php /* Template Name: Ohne Sidebar */ ?>
<?php get_header(); ?>
<?php $detect = new Mobile_Detect(); ?>
<?php if(has_post_thumbnail() && (!$detect->isMobile() || $detect->isTablet())) : ?>
<div id="title-images-wrapper">
<figure class="title-image parallax">
<?php the_post_thumbnail('featured'); ?>
<?php if(get_post(get_post_thumbnail_id())->post_excerpt) : ?>
<span class="meta-thumbnail-caption">
<?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?>
</span>
<?php endif; ?>
</figure>
<div id="title-outside">
<div id="title-inside" class="inside">
<header class="title-header">
<h2 class="post-title">
<?php the_title(); ?>
<?php edit_post_link(__('Edit','scapegoat'),'<span class="edit-link">','</span>'); ?>
</h2>
</header>
</div>
</div>
</div>
<?php else : ?>
<div id="title-outside">
<div id="title-inside" class="inside">
<header class="title-header">
<h2 class="post-title">
<?php the_title(); ?>
<?php edit_post_link(__('Edit','scapegoat'),'<span class="edit-link">','</span>'); ?>
</h2>
</header>
</div>
</div>
<?php endif; ?>
<div id="wrapper-outside">
<div id="wrapper-inside" class="inside">
<div id="container">
<div id="content" class="full" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<section id="post-<?php the_ID(); ?>" <?php post_class(); ?> role="article">
<article class="article">
<?php wp_link_pages('before=<nav class="pagination_post">'. __("Pages:","farewell") .'&after=</nav>'); ?>
<?php the_content(); ?>
<?php wp_link_pages('before=<nav class="pagination_post">'. __("Pages:","farewell") .'&after=</nav>'); ?>
</article>
</section>
<?php endwhile; ?>
<section id="replys">
<?php comments_template(); ?>
</section>
<?php endif; ?>
</div>
</div>
</div><!-- wrapper-inside -->
</div><!-- wrapper-outside -->
<?php get_footer(); ?>