Forum Replies Created
-
AuthorPosts
-
mairagallMember
Thanks Lea! Yes, I read about the code snippets after I found this other code that worked for me.
mairagallMemberHello, I want to do the same as Lea Christine, I added both codes to my functions.php file, but the date below the post title is still there, now I have two post dates, any suggestion (I'm using Genesis Sample).
Thanks!
EDIT: I fixed it with this code:
//* Remove the post info function remove_action( 'genesis_before_post_content', 'genesis_post_info' ); add_action( 'genesis_entry_header', 'my_post_info', 5 ); add_filter( 'my_post_info', 'do_shortcode', 20 ); function my_post_info() { if ( 'page' === get_post_type() ) return; $output = genesis_markup( array( 'html5' => '<p %s>', 'xhtml' => '<div class="my-post-info">', 'context' => 'entry-meta-before-content', 'echo' => false, ) ); $output .= apply_filters( 'my_post_info', '[post_date]' ); $output .= genesis_html5() ? '</p>' : '</div>'; echo $output; } add_filter( 'genesis_post_info', 'lc_post_info_filter' ); function lc_post_info_filter($post_info) { $post_info = 'by [post_author_posts_link] [post_comments] [post_edit]'; return $post_info; }
mairagallMemberOk, I'm answering myself. I changed my theme to a previous one (not from Genesis) to see if the images looked bad too (they didn't) and when I activated Genesis again the logo was ok, I don't have idea what happened.
As for the PNG images, I was using them inside columns classes and when I removed the classes they look as they should again, I will try to use smaller sizes.
Excuse my English 😉
-
AuthorPosts