View functions.php
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home Top', 'genesis' ),
) );
add_action( 'genesis_before_content_sidebar_wrap', 'home_page_widget' );
function home_page_widget() {
if ( is_front_page() ) {
View text_over_image.html
<section id="text-111" class="widget widget_text"><div class="widget-wrap"><h3 class="widgettitle widget-title">Unique Title Text Added Via Custom Field</h3>
<div class="textwidget"><h4>Add Front Page 1 Widget With Unique Image To Any Page</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>
View faq.html
<div class="questions">
<h3>How do I start a WordPress blog?</h3>
<div>
This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:
</div>
<h3>How much does it cost to build a WordPress website?</h3>
<div>
View functions.php
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
add_action( 'genesis_entry_header', 'genesis_do_breadcrumbs' );
View functions.php
add_action( 'genesis_after_loop', 'list_categories' );
function list_categories() {
echo '<div class="archive-description">';
wp_list_categories(
array(
'title_li' => ''
) );
View functions.php
<?php Do NOT copy this opening php tag
add_filter( 'the_content', 'filter_content', 10, 1 );
function filter_content( $content ) {
$limit = wp_trim_words( get_the_content(), 20, '.....' );
$login_form = sprintf( '<p><h4 class="register-link"><a href="%s">Register</a> or login below to view all content.</h4></p>', esc_url( wp_registration_url() ) );
View functions.php
<?php Do NOT copy this opening php tag
add_filter( 'the_content', 'filter_content', 10, 1 );
function filter_content( $content ) {
$limit = wp_trim_words( get_the_content(), 20, '.....' );
$login_form = sprintf( '<p><h4 class="restricted-post"><a href="%s">Login</a> to view the full content</h4></p>', wp_login_url( get_permalink() ) );
View coverr.css
.homepage-hero-module {
border-right: none;
border-left: none;
position: relative;
}
.no-video .video-container video,
.touch .video-container video {
display: none;
}
View functions.php
add_filter( 'genesis_seo_title', 'child_header_title', 10, 3 );
function child_header_title( $title, $inside, $wrap ) {
if ( is_page(array( '1', '4276' ) ) )
$inside = sprintf( '<a href="http://example.com/" title="%s">%s</a>', esc_attr( get_bloginfo( 'name' ) ), get_bloginfo( 'name' ) );
return sprintf( '<%1$s class="site-title">%2$s</%1$s>', $wrap, $inside );
}
View functions.php
<?php // Don't copy this opening php tag
function showcase_page_header() {
if ( is_page() ) {
$output = false;
$image = get_post_thumbnail_id();
if ( $image ) {