This repository has been archived by the owner. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Interior Page Header Slider, Loading gif home
- Adding the ability to use metaslider as a page header - Creating a loading gif for the home page slider so that it doesn’t jump when the page loads - Enhancing default template so that it’s now similar in functionality to the full width page
- Loading branch information
briandunnigan
authored and
briandunnigan
committed
Jul 20, 2015
1 parent
79c18f7
commit 19423cd
Showing
6 changed files
with
89 additions
and
55 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
@@ -1,36 +1,31 @@ | ||
<?php | ||
/** | ||
* The template for displaying all pages. | ||
*/ | ||
get_header(); ?> | ||
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> | ||
get_header(); ?> | ||
|
||
<div class="entry-thumbnail"> | ||
<?php the_post_thumbnail(); ?> | ||
</div> | ||
<?php endif; ?> | ||
<div class="holdit"> | ||
<section class="container single-page content"> | ||
<?php /* The loop */ ?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | ||
<header class="entry-header"> | ||
<h1 class="entry-title"> | ||
<?php the_title(); ?> | ||
</h1> | ||
</header> | ||
<!-- .entry-header --> | ||
|
||
<div class="entry-content"> | ||
<?php the_content(); ?> | ||
<div id="home-interior"> | ||
<div class="row" id="row1"> | ||
|
||
<div class="page-title clear"> | ||
<h1><?php the_title(); ?></h1> | ||
</div> | ||
|
||
<div class="interior-hero"> | ||
<?php the_post_thumbnail(); ?> | ||
|
||
<?php echo do_shortcode("[metaslider id=".get_post_meta($post->ID, "metaslider-id", true)."]"); ?> | ||
</div> | ||
<!-- .entry-content --> | ||
|
||
</article> | ||
<!-- #post --> | ||
|
||
<?php endwhile; ?> | ||
</section> | ||
</div> | ||
<!-- #container --> | ||
<?php get_footer(); ?> | ||
|
||
<div class="span12 follow-hero"> | ||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | ||
<div class="post content clearfix" id="post-<?php the_ID(); ?>"> | ||
|
||
<div class="entry"> | ||
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> | ||
|
||
</div> | ||
</div> | ||
<?php endwhile; endif; ?> | ||
</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