Forum Replies Created
-
AuthorPosts
-
carrieoke13Participant
Hmm, Minimum Pro is an HTML5 theme and that doesn't seem to be how it's working. If I upload an image to the site and designate it featured image, it shows in the excerpt. But I'm wondering if I can get ANY first image to show in the excerpt; for example - if the first image I post in a post is from Flickr (using the HTML code from Flickr), is there a code snippet that can grab that image info and show it in the excerpt?
carrieoke13ParticipantNever mind - I found my mistake! here is what worked. thank you again!
//* Custom widget above top nav genesis_register_sidebar( array( 'id' => 'above_menu', 'name' => __( 'Above Menu', 'agency' ), 'description' => __( 'This is a widget area that can be placed above the top nav menu', 'agency' ), ) ); add_action( 'genesis_before_header', 'above_menu' ); function above_menu() { if ( is_front_page() ) { genesis_widget_area( 'above_menu', array( 'before' => '<div class="above_menu">', 'after' => '</div>', ) ); } }
carrieoke13ParticipantThank you. I am trying to make this work but I am getting a php error.
here's what I tried:
genesis_register_sidebar( array( 'id' => 'above-menu', 'name' => __( 'Above Menu', 'agency' ), 'description' => __( 'This is a widget area that can be placed above the top nav menu', 'agency' ), ) ); add_action( 'genesis_before_header', 'above-menu' ); function your_widget() { if ( is_front_page() ) { genesis_widget_area( 'above-menu', array( 'before' => '<div class="above-menu">', 'after' => '</div>', ) ); } }
and it returned an error. it actually just needs to display on all pages. what should I change?
carrieoke13ParticipantYes - here's what's in my functions.php for Agency:
//* Custom widget above top nav genesis_register_sidebar( array( 'id' => 'above-menu', 'name' => __( 'Above Menu', 'agency' ), 'description' => __( 'This is a widget area that can be placed above the top nav menu', 'agency' ), ) );
and here's the code I tried to use in simple hooks:
genesis_widget_area( 'above-menu', array( 'before' => '<div class="above-menu">', 'after' => '</div>',
Thank you!!
March 27, 2013 at 7:22 am in reply to: Minimum theme: Number of comments not appearing on blog page #31500carrieoke13ParticipantYes - I imported these posts from a Movable Type blog, and for some reason comments were turned off on each individual post even though I had it set to accept comments on new posts. I had to go in and turn on comments on the individual posts, but it's not a theme issue. Thank you!
-
AuthorPosts