View display.php
if ( ! empty( $data['show_title'] ) ) {
echo '<header class="entry-header">';
}
if ( ! empty( $data['show_byline'] ) && ! empty( $data['post_info'] ) ) {
printf( '<p class="entry-meta">%s</p>',
do_shortcode( $data['post_info'] )
);
}
View functions.php
add_action( 'genesis_after_entry', 'prev_next_post_nav' );
function prev_next_post_nav() {
if ( ! is_singular( 'post' ) )
return;
if ( $prev_post = get_previous_post() ):
echo'<span class="prev-next-navigation previous right">';
$prevpost = get_the_post_thumbnail( $prev_post->ID, 'thumbnail', array('class' => '.pagination-previous'));
previous_post_link( '%link',"$prevpost <p>Previous</p>", TRUE );
View page_blog.php
<?php
// Template Name: Blog
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
genesis();
View section-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 section-1.html
<div class="image-section" style="height: 739px;"><div class="flexible-widgets widget-area widget-full"><div class="wrap"><section id="text-6" class="widget widget_text"><div class="widget-wrap"><h3 class="widgettitle widget-title">A 6-Week Course</h3>
<div class="textwidget"><h4>Dominate Your Market with <br>the Rainmaker Platform</h4>
<p><a class="button" href="/altitude/#front-page-7">Sign Up Now</a> <a class="button clear white" href="/altitude/#front-page-2">Learn More</a></p>
<p><span class="small-disclaimer">Note: Text on this page is for demonstration purposes only and does not represent an actual course.</span></p>
</div></div></section></div></div></div>
View page_custom.php
'before' => '<div id="front-page-1" class="front-page-1"><div class="image-section"><div class="widget-columns widget-area"><div class="wrap">',
View functions.php
add_action( 'loop_start', 'ternary_operator_method_three' );
function ternary_operator_method_three() {
$output = is_front_page() ? 'Only on the front page' : 'Otherwise different on all others';
echo $output;
}
View front-page.php
function academy_do_widget( $id ) {
$count = academy_count_widgets( $id );
$columns = academy_alternate_widget_area_class( $id );
genesis_widget_area( $id, array(
'before' => "<div id=\"$id\" class=\"front-page-4\"><div class=\"flexible-widgets widget-area $columns\"><div class=\"wrap\">",
'after' => "</div></div></div>",
) );
View front-page.php
function academy_do_widget( $id ) {
$count = academy_count_widgets( $id );
$columns = ( 'front-page-4' === $id ) ? academy_alternate_widget_area_class( $id ) : academy_widget_area_class( $id );
genesis_widget_area( $id, array(
'before' => "<div id=\"$id\" class=\"$id\"><div class=\"flexible-widgets widget-area $columns\"><div class=\"wrap\">",
'after' => "</div></div></div>",
) );
View text_widget.html
<h1>Minimum Pro is Stylish &amp; Modern</h1>
Sign up for a free membership and you’ll get instant access to a lot more valuable information created exclusively for you!
<a class="button" href="#">Want to know more?</a>