Forum Replies Created
-
AuthorPosts
-
Timothy MayoMember
Great thanks Brad. I changed the hook to genesis_before_comments and this did the trick.
Here's the code for anyone who wants to add an author box to pages and have it appear before the comments. It also still displays correctly on pages where I don't have comments turned on.
========
// Add the author box on single pages before comments.
add_action( 'genesis_before_comments', 'genesis_do_author_box_page' );
function genesis_do_author_box_page() {
if ( ! is_page() ) {
return;
}
if ( get_the_author_meta( 'genesis_author_box_single', get_the_author_meta('ID') ) ) {
genesis_author_box( 'single' );
}
}
=======August 31, 2013 at 4:02 am in reply to: How to remove tagline from a single page with Minimum Pro #59858Timothy MayoMemberThat works perfectly guys! Thank you so much 🙂
Tim
Timothy MayoMemberOk I've found a solution to this, it's most likely not the cleanest, but it seems to work 🙂
I replaced this line in the functions.php:
printf( '<p %s>%s</p>', genesis_attr( 'site-description' ), esc_html( get_bloginfo( 'description' ) ) );
With this one:
printf( '<h1 %s>%s</h1>', genesis_attr( 'entry-title' ), esc_html( get_the_title() ) );
Then also added the following:
//* Remove page titles remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
This does what I was looking for.
I'll leave this open for now in case someone has a more elegant solution.
Timothy MayoMemberOne of my favourite themes and you've done a good job!
Just a couple of minor things:
1. The slider changes pretty fast. I struggle to read the text before the next slide moves in. Although after 10 years in Germany my German is still not the best 😉
2. You could make the logo clickable by changing the width of the title-area from 25% to 220px.
3. And if you want to center the logo in the smaller mobile views you could add the following to the responsive sections of the stylesheet:
#header {
background-position: center top !important; }Hope it helps.
-
AuthorPosts