Anybody know how to do this? I think I got it all except for the sticky. I've tried a date exclusion plugin, but it didn't work. The only thing I can see that's left is trying to remove it from functions.php, but that looks like Greek to me Any suggestions? Thanks
Try this on your index.php. Take note this is just pseudocode if (sticky()) { do not put the function that's calling the date } else { put the function that's calling the date } This is just a tip
Are you sure that you use the right function for sticky? Look here http://codex.wordpress.org/Function_Reference/is_sticky
I only know to hide them via css. If you want to hide the date only, try this: .sticky span.meta-prep-author,.sticky span.entry-date{display:none;} Code (markup): If you want to hide all the meta info: .sticky .entry-meta{display:none;} Code (markup): Add those codes right in the very bottom of your css file (style.css) However don't forget to make a copy of twenty ten, incase it is updated from wordpress.org, you still have your customisation.
Or you can remove it completely by adding a new function that just shows author information. Add this to the end of the functions.php file: if ( ! function_exists( 'twentyten_posted_by' ) ) : /** * Prints HTML with author information for the current post */ function twentyten_posted_by() { printf( __( '<span class="%1$s">Posted by</span> %2$s', 'twentyten' ), 'meta-prep meta-prep-author', sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', get_author_posts_url( get_the_author_meta( 'ID' ) ), sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), get_the_author() ) ); } endif; Code (markup): Then change line 128 in loop.php file to this: <?php if (is_sticky()) : twentyten_posted_by(); else : twentyten_posted_on(); endif; ?> Code (markup):
For your sake, I hope you're joking! But in case you're not, it's time to ditch Windows notepad and get a proper editor that has line numbering, like Notepad++