Support » Themes and Templates » Twentyten-removing admin text and footer

  • Resolved flutteraaron



    I would REALLY appreciate your thoughts on this!

    I am trying to do a couple of things in the twentyten theme… here is a link to my site:

    1) I would like to remove the “Posted on March 14, 2011 by admin”

    and the “Posted in Uncategorized | Leave a comment | Edit”

    I have tried inserting:

    .entry-utility {display:none; }
    .entry-meta {display:none; }

    BUT, it removes the my header and my menu tabs along with it.

    2) Also Can you tell me how to remove the footer that says “1936 Club” and the black line above it.

    THANK YOU!!!! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • make a backup copy of your theme files before editing

    if you insert these styles at the end of style.css, there should be no side effect on any header or menu tabs:

    .entry-utility {display:none; }
    .entry-meta {display:none; }

    you can do it the hard way and edit loop.php and locate and remove the code there:
    around line 135:

    <div class="entry-meta">
    				<?php twentyten_posted_on(); ?>
    			</div><!-- .entry-meta -->

    and from line 148:

    <div class="entry-utility">
    				<?php if ( count( get_the_category() ) ) : ?>

    all the way down to (inclusive):

    <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    			</div><!-- .entry-utility -->

    #site-info { display: none; }

    or edit footer.php and delete:

    <div id="site-info">
    				<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    					<?php bloginfo( 'name' ); ?>
    			</div><!-- #site-info -->

    the black line:
    in style.css;
    replace the border-top: 4px solid #000; with border-top: none; in the following style:

    #colophon {
    	border-top: 4px solid #000;
    	margin-top: -4px;
    	overflow: hidden;
    	padding: 18px 0;

    Oh my! thank you for your help… the second option is a little confusing to me… I inserted

    .entry-utility {display:none; }
    .entry-meta {display:none; }

    at the very end of my Style.css document…

    it looks like this:

    @media print {
    body {
    background: none !important;
    [Resr if CSS moderated as per the Forum Rules.]

    Nothing changed… Am I putting it in the wrong place?

    THANK YOU so much for your help!




    Forum Moderator

    Try placing it before @media print.


    I REALLY appreciate the help!

    It worked:)


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twentyten-removing admin text and footer’ is closed to new replies.