Forum Replies Created
-
AuthorPosts
-
readytoblogdesignsMember
I have! I came here as a last resort - my thinking is that there might be some conflict with the child theme for Genesis but I'm not sure where to start looking. Even a point in the right direction would be really helpful!
readytoblogdesignsMemberI have. I'm going to give it a go again but I had no luck last time.
It's weird though as all the plugins on the dev site are active on the original site (and the original site isn't producing this error)!
readytoblogdesignsMemberI found a working solution in case this helps anyone! 🙂
readytoblogdesignsMemberOops - sorry!
Let's see if this works:
readytoblogdesignsMemberI did just a bit of tweaking and this did the trick! If anyone is after something similar, here's what gave me the result I was after!
function vt_author_box() {
global $post;
$author_id=$post->post_author;
$output = '';if( get_the_author_meta('genesis_author_box_single', $author_id) == 1 ) :
$output .= '<div class="author-box">';
$output .= '<h3 class="author-title">Staff Blog</h3>';
$output .= get_avatar(get_the_author_meta('user_email'), 75);
$output .= get_the_author();
$output .= '<div class="author-inner">';
$output .= '<div class="inner-left">';$output .= '</div>';
$output .= '<div class="inner-right">';
$output .= wpautop(get_the_author_meta('display_name', $author_id));
$output .= wpautop(get_the_author_meta('description', $author_id));$output .= '</div>';
$output .= '<div class="clear"></div>';
$output .= '</div>';
$output .= '</div>';
endif;if ( is_single() && in_category( '49' ) ) {
echo $output;
}
}Thanks a million, upthink! Let me know where I can send your virtual gift basket! 🙂
readytoblogdesignsMemberHmmm, tried that and it just puts it above the header with the data still stripped out. I'll move it to where I actually want it, the box itself is fine, it's just that the actual author name and description won't get pulled through if I hook it in anywhere above genesis_before_entry...Thanks for having a look, I really appreciate it! Not sure if it's possible to do what I'm trying to do, but I don't really see why not...
-
AuthorPosts