WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twentyten-removing admin text and footer (5 posts)

  1. flutteraaron
    Member
    Posted 3 years ago #

    Hello:)

    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: http://www.36clubfayetteville.com

    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; }
    and
    .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!!!! :)

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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 -->

    2.
    either:
    #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' ); ?>
    				</a>
    			</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;
    }
  3. flutteraaron
    Member
    Posted 3 years ago #

    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!

    Aaron:)

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Try placing it before @media print.

  5. flutteraaron
    Member
    Posted 3 years ago #

    THANK YOU SOOOO MUCH!

    I REALLY appreciate the help!

    It worked:)

    Aaron

Topic Closed

This topic has been closed to new replies.

About this Topic