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>
View functions.php
add_action( 'pre_get_posts', 'mjg_show_titles_only_category_pages' );
function mjg_show_titles_only_category_pages( $query ) {
if( $query->is_main_query() && $query->is_category() || $query->is_search() ) {
$query->set( 'orderby', 'title' );
$query->set( 'order', 'ASC' );
$query->set( 'posts_per_page', '-1' );
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'mjg_custom_loop' );
View functions.php
<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );
//* Setup Theme
include_once( get_stylesheet_directory() . '/lib/theme-defaults.php' );
//* Set Localization (do not remove)
load_child_theme_textdomain( 'outreach', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'outreach' ) );
View the_excerpt.php
add_action( 'genesis_entry_header', 'wpsites_excerpt', 11 );
function wpsites_excerpt() {
if ( is_singular( 'post' ) && has_excerpt() ) {
the_excerpt();
}
}
View sample.html
<p>A professionally designed mobile responsive widget area with background image.</p>
<a class="button" href="http://wpsites.net/blog">Click to learn more</a>
View anchor-point.html
Click <a href="#anchor-point">here</a> to go to your anchor point.
<a name="anchor-point"></a>
View columns.css
/* Column Classes
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */
.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
View columns.html
<div class="one-third first">
<p>Column One</p>
</div>
<div class="one-third">
<p>Column Two</p>
</div>
<div class="one-third">
<p>Column Three</p>
</div>