Forum Replies Created
-
AuthorPosts
-
December 12, 2012 at 7:16 pm in reply to: How do I Remove Blog, side bar, & footer from home page #4825thinktaylorMember
THAAAAAAAAAAAAAAAAAAANK YOU!!! I was able to get it now, Brian.
and a BIIIIIIIIIIIIIIIGGG THANK YOU TO Billerickson. You had it nailed, I just needed to take your two lines and add it to the original code. Everything worked perfectly.
Sweet!!
December 12, 2012 at 2:59 pm in reply to: How do I Remove Blog, side bar, & footer from home page #4773thinktaylorMemberBillerickson,
We are getting closer. Thanks, take a look at what happened now to the featured areas on the post and it took out the bolding of the intro statements.
December 12, 2012 at 2:03 pm in reply to: How do I Remove Blog, side bar, & footer from home page #4767thinktaylorMemberThis is what is inside of the Educational Child Theme's home.php
*****************************************************
<?php
add_action( 'genesis_meta', 'education_home_genesis_meta' );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function education_home_genesis_meta() {global $paged;
if( $paged < 1 ) {
if ( is_active_sidebar( 'slider' ) || is_active_sidebar( 'intro' ) || is_active_sidebar( 'featured' ) || is_active_sidebar( 'call-to-action' ) ) {add_action( 'genesis_before_content', 'education_home_loop_helper', 1 );
}
}}
function education_home_loop_helper() {
echo '<div id="home-featured">';
genesis_widget_area( 'slider', array(
'before' => '<div class="slider widget-area">'
) );
genesis_widget_area( 'intro', array(
'before' => '<div class="intro widget-area"><div class="inner">',
'after' => '<div class="clear"></div></div></div><!-- end .intro -->') );
genesis_widget_area( 'featured', array(
'before' => '<div class="featured widget-area"><div class="inner">',
'after' => '<div class="clear"></div></div></div><!-- end .featured -->') );
genesis_widget_area( 'call-to-action', array(
'before' => '<div class="call-to-action"><div class="banner-left"></div>',
'after' => '<div class="banner-right"></div></div><!-- end .call-to-action -->') );
echo '</div>';
}
genesis();December 12, 2012 at 2:00 pm in reply to: How do I Remove Blog, side bar, & footer from home page #4765thinktaylorMemberThis is the error I got when I did that, Billerickson:
Parse error: syntax error, unexpected '<' in /home/mentorso/public_html/wp-content/themes/education/home.php on line 57
-
AuthorPosts