Skip to content

Commit

Permalink
Travis CI fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
peiche committed Jan 18, 2017
1 parent e02e614 commit 122fa4e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion inc/amp.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Set header color.
*
* @param object $amp_template The AMP template
* @param object $amp_template The AMP template.
*/
function cover_amp_post_template_css( $amp_template ) {
?>
Expand Down
6 changes: 3 additions & 3 deletions template-parts/cover-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<?php if ( $height > 600 ) { ?>
<a href="#post-<?php the_ID(); ?>" class="cover-background-jump"><i class="fa fa-fw fa-angle-down"></i></a>

<?php if ( !has_post_format( 'video' ) && function_exists( 'has_post_video' ) && has_post_video() ) { ?>
<?php if ( ! has_post_format( 'video' ) && function_exists( 'has_post_video' ) && has_post_video() ) { ?>
<a href="#video-overlay" id="video-overlay-play-button" class="cover-background-link cover-background-video" data-action="toggle-overlay" data-overlay-id="video-overlay">
<span class="svg-icon"><?php get_template_part( 'dist/svg/play', 'circle.svg' ); ?></span>
</a>
Expand All @@ -91,7 +91,7 @@

</div>

<?php if ( !has_post_format( 'video' ) && function_exists( 'has_post_video' ) && has_post_video() ) { ?>
<?php if ( ! has_post_format( 'video' ) && function_exists( 'has_post_video' ) && has_post_video() ) { ?>

<div id="video-overlay" class="overlay overlay-dark overlay-embed">
<noscript>
Expand All @@ -103,7 +103,7 @@
</noscript>

<?php
$video_oembed = wp_oembed_get( get_the_post_video_url() );
$video_oembed = wp_oembed_get( get_the_post_video_url() );
if ( '' != $video_oembed ) {
echo $video_oembed;
} else {
Expand Down
4 changes: 2 additions & 2 deletions yarpp-template-example.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* YARPP Template: Cover Grid (2 across)
*
* Description: Related posts template built for the Cover theme. Works best with multiples of two.
* @link https://wordpress.org/themes/cover/
* Author: Paul Eiche
*
* @package Cover
*/

require get_template_directory() . '/template-parts/yarpp-template-grid-2.php';
4 changes: 2 additions & 2 deletions yarpp-template-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* YARPP Template: Cover Grid (3 across)
*
* Description: Related posts template built for the Cover theme. Works best with multiples of three.
* @link https://wordpress.org/themes/cover/
* Author: Paul Eiche
*
* @package Cover
*/

require get_template_directory() . '/template-parts/yarpp-template-grid-3.php';
4 changes: 2 additions & 2 deletions yarpp-template-multilingual.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* YARPP Template: Cover Slider
*
* Description: Related posts slider built for the Cover theme.
* @link https://wordpress.org/themes/cover/
* Author: Paul Eiche
*
* @package Cover
*/

require get_template_directory() . '/template-parts/yarpp-template-slider.php';
4 changes: 2 additions & 2 deletions yarpp-template-photoblog.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* YARPP Template: Cover Full-Width Slider
*
* Description: Related posts full-width slider built for the Cover theme.
* @link https://wordpress.org/themes/cover/
* Author: Paul Eiche
*
* @package Cover
*/
require get_template_directory() . '/template-parts/yarpp-template-slider-full.php';
4 changes: 2 additions & 2 deletions yarpp-template-random.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* YARPP Template: Cover Bullet List
*
* Description: Related posts template built for the Cover theme. Displays related posts as a bullet point list.
* @link https://wordpress.org/themes/cover/
* Author: Paul Eiche
*
* @package Cover
*/

require get_template_directory() . '/template-parts/yarpp-template-list-bullet.php';
4 changes: 2 additions & 2 deletions yarpp-template-thumbnail.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* YARPP Template: Cover Inline List
*
* Description: Related posts template built for the Cover theme. Displays related posts as a comma-separated list.
* @link https://wordpress.org/themes/cover/
* Author: Paul Eiche
*
* @package Cover
*/

require get_template_directory() . '/template-parts/yarpp-template-list.php';

0 comments on commit 122fa4e

Please sign in to comment.