Community Forums › Forums › Archived Forums › Design Tips and Tricks › Fun theme, show sidebar on homepage
Tagged: Fun Theme, home page layout
- This topic has 1 reply, 2 voices, and was last updated 6 years, 2 months ago by Victor Font.
-
AuthorPosts
-
February 4, 2018 at 9:56 am #216065krystynParticipant
I want to use the fun theme because of the header section, but I want to use the body differently. Despite my efforts, I can't figure out how to use more traditional widgets on the homepage and have the content-sidebar on home and then use featured widgets.
You can see what I have here: http://www.krizzydesigns-test.com/test3/
I've edited the homepage php, but I'm not quite getting the sidebar to the top next to the widgets (the bottom part is just pulling the basic genesis loop), but I want to use widgets there, too.
http://www.krizzydesigns-test.com/test3/<?php add_action( 'genesis_meta', 'fun_home_genesis_meta' ); /** * Add widget support for homepage. If no widgets active, display the default loop. * */ function fun_home_genesis_meta() { if ( is_active_sidebar( 'home-featured' ) || is_active_sidebar( 'home-products' ) || is_active_sidebar( 'home-blog-featured' ) ) { // Force content-sidebar layout setting add_filter( 'genesis_site_layout', '__genesis_return_content_sidebar' ); //* remove_action( 'genesis_loop', 'genesis_do_loop' ); //* add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); } } add_action( 'genesis_after_header', 'fun_home_featured' ); function fun_home_featured() { if ( is_home() || is_front_page() ) { genesis_widget_area( 'home-featured', array( 'before' => '<div class="home-featured widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); } } add_action( 'genesis_after_header', 'fun_home_products' ); function fun_home_products() { if ( is_home() || is_front_page() ) { genesis_widget_area( 'home-products', array( 'before' => '<div class="home-products widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); } } add_action( 'genesis_after_header', 'fun_home_blog_featured' ); function fun_home_blog_featured() { if ( is_home() || is_front_page() ) { genesis_widget_area( 'home-blog-featured', array( 'before' => '<div class="home-blog-featured widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); } } genesis();
February 5, 2018 at 9:17 am #216097Victor FontModeratorThe Fun Theme is not a Studio Press theme. It is a community marketplace theme from Pretty Darn Cute. Community marketplace theme developers support their themes directly. As the creators, they will be most familiar with the theme and be able to provide you with the best support. Please contact the Pretty Darn Cute support team for further assistance.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet? -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.