Forum Replies Created
-
AuthorPosts
-
timbarryMember
Thanks, I'm well aware of that!
My point is that the code has been removed from the Genesis framework, which seems odd as it now needs adding to the child theme when upgrading.
Was it missed out on purpose?
timbarryMemberHi Anitac,
Thanks for the replies.
It's working now. Just using the options in the Genesis settings > Blog page template > Display which category - set to news. Left the others blank.
My only other preference would be to have a different sidebar for different single templates, but this is not a big one.
Tim
timbarryMemberAnyone?
timbarryMemberI use the https://soliloquywp.com slider plugin on miminum - works really well.
To get in on the home page put this in the functions.php file:
/** Add the featured image section */ add_action( 'genesis_after_header', 'minimum_featured_image' ); function minimum_featured_image() { if ( is_home() ) { echo '<div id="slide-wrap">'; if ( function_exists( 'soliloquy_slider' ) ) soliloquy_slider( '26' ); echo '</div>'; } elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){ echo '<div id="featured-image">'; echo get_the_post_thumbnail($thumbnail->ID, 'header'); echo '</div>'; } }
timbarryMemberI've had a look and only one of those solutions works.
It's a bit frustrating as I didn't want to spend so much time trying to sort something that should have just worked as it's a key part of the framework.
Appreciate you trying to help.
timbarryMemberThat's what I would expect. I'll have a look at the tutorial, thanks.
timbarryMemberHi,
I used the category ID number. Should I use the name instead?
Thanks
TIm
-
AuthorPosts