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
<div class="embed-responsive embed-responsive-16by9 my-4"> | |
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe> | |
</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
<div class="carousel-inner" role="listbox"> | |
<?php | |
$i = 0; while ( $web_loop->have_posts() ) : $web_loop->the_post(); | |
$count = $web_loop->post_count; | |
// $link = get_field('link'); | |
if ( has_post_thumbnail() ) { | |
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'medium' ); | |
} | |
?> | |
<?php if ($i%15==0) { ?> |
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
/** | |
* Description: Enables fade transitions on BS3 carousel by simply adding a class to the `.carousel` div. | |
* Version: 1.0.0 | |
* Last update: 03/29/2016 | |
* Author: Reid Burnett <reid@gianthatworks.com> | |
* | |
*/ | |
.carousel-fade .carousel-inner .item { | |
opacity: 0; |
NewerOlder