-
Notifications
You must be signed in to change notification settings - Fork 26
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
a790277
commit ad3d5de
Showing
7 changed files
with
199 additions
and
17 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,72 @@ | ||
<?php | ||
/* | ||
* Template Name: About Page Template | ||
*/ | ||
get_header(); | ||
?> | ||
<body <?php body_class(); ?>> | ||
<?php get_template_part( "hero-page" ); ?> | ||
|
||
<div class="posts"> | ||
<?php | ||
while ( have_posts() ) : | ||
the_post(); | ||
?> | ||
<div class="post" <?php post_class(); ?>> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-10 offset-md-1"> | ||
<h2 class="post-title text-center"> | ||
<?php the_title(); ?> | ||
</h2> | ||
<p class="text-center"> | ||
<em><?php the_author(); ?></em><br/> | ||
<?php echo get_the_date(); ?> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-10 offset-md-1"> | ||
<p> | ||
<?php | ||
if ( has_post_thumbnail() ) { | ||
$thumbnail_url = get_the_post_thumbnail_url( null, "large" ); | ||
printf( '<a class="popup" href="%s" data-featherlight="image">', $thumbnail_url ); | ||
the_post_thumbnail( "large", array( "class" => "img-fluid" ) ); | ||
echo '</a>'; | ||
} | ||
|
||
the_content(); | ||
|
||
/*next_post_link(); | ||
echo "<br/>"; | ||
previous_post_link();*/ | ||
|
||
?> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<?php | ||
endwhile; | ||
?> | ||
|
||
<div class="container post-pagination"> | ||
<div class="row"> | ||
<div class="col-md-4"></div> | ||
<div class="col-md-8"> | ||
<?php | ||
the_posts_pagination( array( | ||
"screen_reader_text" => ' ', | ||
"prev_text" => "New Posts", | ||
"next_text" => "Old Posts" | ||
) ); | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
; (function($){ | ||
$(document).ready(function(){ | ||
$(".popup").each(function(){ | ||
/*$(".popup").each(function(){ | ||
var image = $(this).find("img").attr("src"); | ||
$(this).attr("href",image); | ||
}); | ||
});*/ | ||
}); | ||
})(jQuery); |
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,34 @@ | ||
<?php | ||
$alpha_feat_image = get_the_post_thumbnail_url(null,"large"); | ||
?> | ||
<div class="header page-header" style="background-image: url(<?php echo $alpha_feat_image;?>);"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h3 class="tagline"> | ||
<?php bloginfo( "description" ); ?> | ||
</h3> | ||
<h1 class="align-self-center display-1 text-center heading"> | ||
<a href="<?php echo site_url(); ?>"><?php bloginfo( "name" ); ?></a> | ||
</h1> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="navigation"> | ||
<?php | ||
wp_nav_menu( | ||
array( | ||
'theme_location' => 'topmenu', | ||
'menu_id' => 'topmenucontainer', | ||
'menu_class' => 'list-inline text-center', | ||
) | ||
); | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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
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,67 @@ | ||
<?php get_header(); ?> | ||
<body <?php body_class(); ?>> | ||
<?php get_template_part( "hero" ); ?> | ||
|
||
<div class="posts"> | ||
<?php | ||
while ( have_posts() ) : | ||
the_post(); | ||
?> | ||
<div class="post" <?php post_class(); ?>> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-10 offset-md-1"> | ||
<h2 class="post-title text-center"> | ||
<?php the_title(); ?> | ||
</h2> | ||
<p class="text-center"> | ||
<em><?php the_author(); ?></em><br/> | ||
<?php echo get_the_date(); ?> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-10 offset-md-1"> | ||
<p> | ||
<?php | ||
if ( has_post_thumbnail() ) { | ||
$thumbnail_url = get_the_post_thumbnail_url( null, "large" ); | ||
printf( '<a class="popup" href="%s" data-featherlight="image">', $thumbnail_url ); | ||
the_post_thumbnail( "large", array( "class" => "img-fluid" ) ); | ||
echo '</a>'; | ||
} | ||
|
||
the_content(); | ||
|
||
/*next_post_link(); | ||
echo "<br/>"; | ||
previous_post_link();*/ | ||
|
||
?> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<?php | ||
endwhile; | ||
?> | ||
|
||
<div class="container post-pagination"> | ||
<div class="row"> | ||
<div class="col-md-4"></div> | ||
<div class="col-md-8"> | ||
<?php | ||
the_posts_pagination( array( | ||
"screen_reader_text" => ' ', | ||
"prev_text" => "New Posts", | ||
"next_text" => "Old Posts" | ||
) ); | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</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
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