-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d589ff
commit 151f157
Showing
3 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.page-template-page-contact { | ||
background:rgba($primary-color,1); | ||
h1 { | ||
color:$white; | ||
border-color :$white; | ||
} | ||
p { | ||
color: $white; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
/** | ||
* The template for displaying all single posts and attachments | ||
* | ||
* @package FoundationPress | ||
* @since FoundationPress 1.0.0 | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
<?php get_template_part( 'template-parts/featured-image' ); ?> | ||
|
||
<div id="single-post" role="main"> | ||
|
||
<?php do_action( 'foundationpress_before_content' ); ?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<article <?php post_class('main-content') ?> id="post-<?php the_ID(); ?>"> | ||
<header> | ||
<h1 class="entry-title"><?php the_title(); ?></h1> | ||
</header> | ||
<?php do_action( 'foundationpress_post_before_entry_content' ); ?> | ||
<div class="entry-content"> | ||
<?php the_content(); ?> | ||
<?php edit_post_link( __( 'Edit', 'foundationpress' ), '<span class="edit-link">', '</span>' ); ?> | ||
</div> | ||
<footer> | ||
<?php wp_link_pages( array('before' => '<nav id="page-nav"><p>' . __( 'Pages:', 'foundationpress' ), 'after' => '</p></nav>' ) ); ?> | ||
<p><?php the_tags(); ?></p> | ||
</footer> | ||
</article> | ||
<?php endwhile;?> | ||
|
||
<?php do_action( 'foundationpress_after_content' ); ?> | ||
<?php //get_sidebar(); ?> | ||
</div> | ||
<?php get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/* | ||
Template Name: Contact | ||
*/ | ||
get_header(); ?> | ||
|
||
<?php get_template_part( 'template-parts/featured-image' ); ?> | ||
|
||
<div id="page-full-width" role="main"> | ||
|
||
<?php do_action( 'foundationpress_before_content' ); ?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<article <?php post_class('main-content') ?> id="post-<?php the_ID(); ?>"> | ||
<header> | ||
<h1 class="entry-title"><?php the_title(); ?></h1> | ||
</header> | ||
<?php do_action( 'foundationpress_page_before_entry_content' ); ?> | ||
<div class="entry-content"> | ||
<?php the_content(); ?> | ||
</div> | ||
<footer> | ||
<?php wp_link_pages( array('before' => '<nav id="page-nav"><p>' . __( 'Pages:', 'foundationpress' ), 'after' => '</p></nav>' ) ); ?> | ||
<p><?php the_tags(); ?></p> | ||
</footer> | ||
<?php do_action( 'foundationpress_page_before_comments' ); ?> | ||
<?php comments_template(); ?> | ||
<?php do_action( 'foundationpress_page_after_comments' ); ?> | ||
</article> | ||
<?php endwhile;?> | ||
|
||
<?php do_action( 'foundationpress_after_content' ); ?> | ||
|
||
</div> | ||
|
||
<?php get_footer(); |