View search.php
<?php
/**
* @author Brad Dalton
* @link http://wpsites.net/web-design/list-titles-only-on-search-results-page/
*/
//* Force full width content layout
add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
View video.html
<video loop="1" autoplay="1" preload="metadata" poster="http://local.dev/wp-content/uploads/2016/12/bg-1.jpg" src="http://wpsites.net/wp-content/uploads/2016/12/video.mp4" type="video/mp4">
View gist:e1e1e69ceea697fb20fcc6fb3b4e216a
<a class="cart-contents" href="<?php echo wc_get_cart_url(); ?>" title="<?php _e( 'View your shopping cart' ); ?>"><?php echo sprintf ( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count() ), WC()->cart->get_cart_contents_count() ); ?> - <?php echo WC()->cart->get_cart_total(); ?></a>
View front-page-1.html
<h3 class="widgettitle widget-title">Stylish &amp; Modern</h3>
<p>New York · Paris · London</p>
<p><a class="button" href="#front-page-2">Start Your Journey</a></p>
View backstretch-set.js
jQuery(document).ready(function($) {
$("body").backstretch([BackStretchImg.src],
{
duration:300,
fade:750
});
});
View mobile.js
jQuery(document).ready(function($) {
if ( ($( window).width() < 680 ) ) {
document.location = "http://example.com/mobile-front-page";
}
});
View Example of jQuery Backstretch Slideshow
var position = 0,
images = [
'image1.jpg',
'image2.jpg',
'image3.jpg'
];
$.backstretch(images[position]);
setInterval(function() {
if(position++ > images.length) position = 0;
View text.html
<h4>Learn about Paleo and a healthy lifestyle. Start here, completely free.</h4>
Get free access to our exclusive members area and go directly to work themselves. (Free Paleo beginners guide, including Paleo food list + 5 reasons why you will never lose fat + much much more valuable tips!)
View functions.php
add_action( 'loop_start', 'acf_function' );
function acf_function() {
if ( is_singular() ) {
?><img src="<?php the_field( 'image' ); ?>" /><?php
}
}
View sample.html
<div class="one-half first">
<img src="http://example.com/wp-content/uploads/2016/09/book-1024x762.png" alt="book" width="1024" height="762" class="aligncentre size-full wp-image-61555" />
</div>
<div class="one-half">
<h2>18 Ways To Convert Visitors Into Subscribers</h2>
<br>
<p>More than half the visitors to your website abandon, never to return.</p>
<p>Download this eBook and discover how to convert some of these visitors into subscribers</p>
</div>