-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
34 lines (29 loc) · 843 Bytes
/
page.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
<?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://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Women_Owned_Wineries_Sonoma
*/
$library_logo = get_field('library_logo', 'option');
$icon = get_field('icon');
get_header(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<section class="header section">
<div class="container">
<h2 class="title">
<?php the_title(); ?>
</h2>
<div class="content">
<?php the_content(); ?>
</div>
</div>
</section>
<?php endwhile; endif; ?>
<?php get_footer(); ?>