Hello,
Currently , I have the a lot troubled installing the code for the LifeStyle Studiopress theme. From reading the other post it states to install it in the home.php file but where do you actually place the code. I would greatly appreciate some assistance. Thanks Here is the code:
<?php
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'lifestyle_home_loop_helper' );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function lifestyle_home_loop_helper() {
if ( is_active_sidebar( 'home' ) || is_active_sidebar( 'home-left' ) || is_active_sidebar( 'home-right' ) ) {
dynamic_sidebar( 'home' );
if ( is_active_sidebar( 'home-left' ) ) {
echo '<div id="homepage-left">';
dynamic_sidebar( 'home-left' );
echo '</div><!-- end #homepage-left -->';
}
if ( is_active_sidebar( 'home-right' ) ) {
echo '<div id="homepage-right">';
dynamic_sidebar( 'home-right' );
echo '</div><!-- end #homepage-right -->';
}
}
else {
genesis_standard_loop();
}
}
genesis();
Installing code on the Lifestyle Studiopress Theme
2 posts • Page 1 of 1
- Thank you for using the Featured Content Gallery Forum
Re: Installing code on the Lifestyle Studiopress Theme
try this, it is similar theme
genesis-theme-3088-10.html#p11577
genesis-theme-3088-10.html#p11577
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4789
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests









