-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
60 lines (47 loc) · 1.58 KB
/
Copy pathpage.php
File metadata and controls
60 lines (47 loc) · 1.58 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
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
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site may use a
* different template.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
get_header();
the_post();
?>
<article id="<?php global $post; echo $post->post_name; ?>" >
<div class="container" >
<div class="section">
<!-- Icon Section -->
<div class="row">
<div class="col s12">
<div class="nadpis center">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</div>
<div class="claim-box center-align">
<div class="claim-text ">
<p>
<?php echo get_post_meta($post->ID, 'perex',1); ?>
</p>
</div>
<div class="page-text">
<?php
/* translators: %s: Name of current post */
the_content();
?>
</div>
</div>
</div>
</div>
</div>
</div>
</article>
<?php get_footer();