Forum Replies Created
-
AuthorPosts
-
Peter
MemberJust a guess but I think that shadow might be where the excerpt shows up.. have you set the slider to display content? If so, try turning that off and see if the shadow disappears..
Peter
MemberHi there.
Adding this code to your child theme functions.php file should do the trick;
add_filter( 'logout_url', 'custom_logout_url' ); function custom_logout_url( $logout_url ) { return add_query_arg( 'redirect_to', home_url(), $logout_url ); }Peter
MemberGlad that worked!
The "left 20px" is the horizontal and vertical positioning of the background image..
Peter
MemberYou could either edit your logo.png file to add some white space to the top, or use some CSS code to position your logo a bit lower.. something like this should work;
.header-image #header #title-area { background: url(images/logo.png) left 20px no-repeat; }Peter
MemberOops, you are quite right Wendy.. I forgot Prose had custom CSS functionality.. sorry about that @albigin and thank you Wendy!
Peter
MemberHi Chrissy.
I had a little look around and it appears you can link to specific pages.. here is an example link to page 4;
http://onlinedigitalpublishing.com/publication/?i=109026&p=4
You can get to the page links under the main Share menu.
Peter
MemberIt sounds like you are essentially wanting to change what is displayed in the sidebar? If so, I'm not sure unregistering and registering sidebars is the best approach. It might be easier to leave the sidebar in place and just change what is displayed in it.
Also, if you need to know if a visitor is logged in, the is_user_logged_in() function will probably do the job more reliably than checking for cookies.
February 21, 2013 at 10:36 am in reply to: How to show particular posts with Genesis Featured Posts #21985Peter
MemberHi Penny.
I think the easiest way would be to create a category for featured posts, then specify that category in the widget..
Peter
MemberHi there.
Do you mean the gap between the bottom of one post and the title of the next one?
If so, you could add the following to your child theme style.css file;
.post { margin-bottom:15px; }Assuming you want a 15px gap between teasers/posts..
Peter
MemberHello Amy!
Peter
MemberGreat idea guys!
A UK based directory for people who need a Genesis professional to work on their site, but also a directory for Genesis developers/designers who want to outsource some of their work..
And if we had meetups at some point in the future that would be icing on the cake 🙂
I'm more than happy to contribute..
Peter
MemberThe header-right widget area is added in the main Genesis framework so you'd have to replace that code with your own, minus the widget area..
Adding this to your child theme functions.php file should do the trick;
remove_action( 'genesis_header', 'genesis_do_header' ); add_action( 'genesis_header', 'custom_genesis_do_header' ); function custom_genesis_do_header() { echo '<div id="title-area">'; do_action( 'genesis_site_title' ); do_action( 'genesis_site_description' ); echo '</div><!-- end #title-area -->'; }February 19, 2013 at 6:12 am in reply to: Seperate Picture for Post Thumbnail rather than using image from post – Minimum #21270Peter
MemberOk. In your functions.php file on line 66 there is a function which displays the featured images.. it looks like this;
/** Add the featured image section */ add_action( 'genesis_after_header', 'minimum_featured_image' ); function minimum_featured_image() { if ( is_home() ) { echo '<div id="featured-image"><img src="'. get_stylesheet_directory_uri() . '/images/sample.jpg" /></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>'; } }If you change it to this;
/** Add the featured image section */ add_action( 'genesis_after_header', 'minimum_featured_image' ); function minimum_featured_image() { if ( is_home() ) { echo '<div id="featured-image"><img src="'. get_stylesheet_directory_uri() . '/images/sample.jpg" /></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>'; } */ }the featured images on single pages won't be shown above the title, so you can use them for the thumbnails.
Edit: the forum is mucking about with the ampersands and turning them into #038; - they should be a plain ampersand in your code..
Does that do what you need?
February 19, 2013 at 5:59 am in reply to: Seperate Picture for Post Thumbnail rather than using image from post – Minimum #21261Peter
MemberAh.. I just checked.. do you mean the featured image which appears above the post title on single posts?
February 19, 2013 at 5:35 am in reply to: Seperate Picture for Post Thumbnail rather than using image from post – Minimum #21257Peter
MemberHi Ross.
Just a quick guess here, but have you tried adding featured images to your posts? I think featured image images take precedence over images in the post content for the thumbnails..
Peter
MemberThe Featured Posts widget does let you specify the number of posts to display in the list, how much of each post content to show, whether to show a thumbnail image for each post ..etc. I think it might do what you need..
Peter
MemberHi Erik.
Genesis comes with a Featured Posts widget, available under the Appearance -> Widgets menu..
Is that the kind of thing you are looking for?
Peter
MemberHi Sean.
I think Streamline moves the post info.. try using;
remove_action( 'genesis_before_post', 'genesis_post_info' );
Peter
MemberYou can use the following code to limit the number of items returned by the archives widget;
add_filter( 'widget_archives_args', 'custom_widget_archives_args' ); function custom_widget_archives_args( $args ) { $args['limit'] = 6; return $args; } -
AuthorPosts