Forum Replies Created
-
AuthorPosts
-
March 14, 2013 at 10:50 pm in reply to: Going green theme doubles the post images when a post is made sticky /featured #26998JamieDMember
I had this same problem. What worked for me was to comment out the code below in functions.php. This is what my code looks like now.
//add_action( 'genesis_post_content', 'goinggreen_post_image_single', 5 );
I hope this helps.
Jamie
JamieDMemberI have successfully added the Gensis Responsive Slider to the Going Green Theme. Below are some articles I read to help me, in addition to the Brian Gardner post.
Add a widget area:
http://www.studiopress.com/tutorials...er-widget-area
http://codex.wordpress.org/Widgetizing_ThemesNick's
super clear explanation: http://nickc.co/sidebarI added this to the bottom of my funchions.php
/** Add support for 3-column footer widgets */ add_theme_support( 'genesis-footer-widgets', 3 ); genesis_register_sidebar( array( 'id' => 'before-posts-sidebar', 'name' => 'Before Posts', 'description' => 'This is a sidebar that goes before the posts in the #content.', ) );
add_theme_support( 'genesis-footer-widgets', 3 ); genesis_register_sidebar( array( 'id' => 'before-posts-sidebar', 'name' => 'Before Posts', 'description' => 'This is a sidebar that goes before the posts in the #content.', ) );
I added this to the top of my home.php right below the <?php
add_action( 'genesis_before_loop', 'child_before_posts_sidebar' );
/** Loads a new sidebar before the posts in the #content */
function child_before_posts_sidebar() {echo '<div class="before-posts-sidebar">';
dynamic_sidebar( 'before-posts-sidebar' );
echo '</div>';}
I created a Category called "Home Page Images" and created posts each with one image inserted into them. Then in Genesis>Slider Settings, I chose the Home Page Images category under "Choose a term to determine what slides to include."
Then lastly, when I go to Appearance>Widgets, I now have a new widgeted area called "Before Posts" I put the Genesis Responsive Slider in that widget. For my purposes, I also put in a Genesis Featured Posts widget under the slider.
You can see my site at http://www.mediaworxav.com/greenhornets
I hope this helps.
Jamie
-
AuthorPosts