Ogggeee
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remoive Posted on posted in from Twenty Eleven 1.2 themeHello David!
Thanks for your answear. I found the code as your guide described in Functions.php.
if ( ! function_exists( 'twentyeleven_posted_on' ) ) : /** * Prints HTML with meta information for the current post-date/time and author. * Create your own twentyeleven_posted_on to override in a child theme * * @since Twenty Eleven 1.0 */ function twentyeleven_posted_on() { printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), esc_html( get_the_author() ) ); } endif;My question now is what I can comment out. Tried some myself but it resulted in a blank page and I had to restore from backup.
Best Regards
Forum: Themes and Templates
In reply to: Twenty Eleven 1.2 change titel and slogan to a imageThank you very much Lisa! It worked like a charm!
Forum: Fixing WordPress
In reply to: How to remove posted date and by…Add this code to style.css under “/* =Content” to remove: Posted by, Posten on, Posted in and comments. Much more simple.
Code: .post .entry-utility, .post .entry-meta {display:none;}
Add this code to style.css under “/* =Content” to remove: Posted by, Posten on, Posted in and comments. Much more simple.
Code: .post .entry-utility, .post .entry-meta {display:none;}
Forum: Fixing WordPress
In reply to: remove “Posted on” in Twenty Ten themeAdd this code to style.css under “/* =Content” to remove: Posted by, Posten on, Posted in and comments. Much more simple.
Code:
.post .entry-utility, .post .entry-meta {display:none;}