You are here: WordPress Video TutorialWordpress TutorialRemove “Posted On”-”By” Under Post Title TwentyTen

Remove “Posted On”-”By” Under Post Title TwentyTen

by Kimi on August 21, 2010

How to remove “posted on” the date “by” the author under your wordpress blog’s post title in Twenty Ten theme in wordpress (latest version 3.0.1)

I have been receiving lots of comments and questions about twenty ten theme lately, and today i look at my local blog using Twenty Ten, and spotted the posted on and by text under the post title.

I then think about removing it by hiding or remove the code and probably you want to change it to “the date” only.

So here is the before and after result image:

Before and after

blog seo
  • To hide this posted on and by text it is very easy, you can open your css file:

1. Dashboard admin.
2. Look for css file, which can be found in appearance/editor/style.css

style.css file is the red highlighted.

See more visual tutorial or video how i edit css here(step 5).
3. add this code in the bottom of the file:
.entry-meta {display:none;}

The pasted Code in the very bottom of the file.

4. Hit “Update file” button.
5. Refresh your blog and this text should be gone.

  • To remove completely the code from your files, it is in loop.php file:

1. Appearance/editor/loop.php
2. Open in html editor, i use notepad ++.
3. In notepad++ it is in line 129 which said:
<div class="entry-meta">
<?php twentyten_posted_on(); ?>
</div><!-- .entry-meta -->

The code which should be deleted.

4. Remove those codes and paste back into your loop.php file in dashboard.

  • To change the text to be something else, in this tutorial i want to displaying only the “posted on following by the date” (see result image)

The new text replacing "posted on by"

1. In the step 3 above, instead of deleting those codes, i replace:
<?php twentyten_posted_on(); ?>
with:
Posted on: <?php the_time('F j, Y') ?>

The code which is replacing the old one.

2. Paste back to loop.php, and don’t forget to “update file”.

Hopefully it can be a help, i didn’t have a mood to make a video :(

Subscribe new tips via Email:

Was the post helpful? Share it to help others with:

{ 15 comments… read them below or add one }

Deepak G August 26, 2010 at 12:35 am

Thanks for nice share..I just customized my website.. have a look..

Reply

Dina August 26, 2010 at 6:58 am

@Deepak G, awesome!

Reply

Gouri September 26, 2010 at 12:33 pm

OMG! Whenever I search for something related to twenty ten, your blog turns up. Next Lorelle in the making.. :)

Reply

Dina September 26, 2010 at 3:24 pm

I wish Gouri! ahaha.

Thank you for your compliment and encouraging words.

Reply

christopher December 10, 2010 at 8:19 am

(I thought I had done this before, but can’t seem to repeat it….) I don’t want to remove the meta, but rather alter it…. change “Posted on” to “Published on” and remove “by [author]” –isn’t this possible?

Thank you in advance.
Chris

Reply

Kimi December 10, 2010 at 9:03 am

Hi there Christopher,

Yes, that’s possible, by following the step 4, or the video tutorial.

Kimi.

Reply

Allison January 21, 2011 at 6:36 pm

THANK YOU!

Reply

Kimi January 21, 2011 at 7:42 pm

Most welcome!

Reply

Gareth Morris March 1, 2011 at 10:10 pm

Many thanks for the helpful hints. I wonder if you could help me on a couple of points. I have only just started with Wordpress and have no coding experience.
1. I have managed to delete the codes and saved them on Microsoft Word as I do not understand how to paste onto loop.php. I can only see loop.php under Templates and Paste is greyed out.
2. Is it possible to delete the code to remove the Posted In and Comments leaving just my text?

Thanks

Gareth

Reply

kuntho June 21, 2011 at 11:25 pm

thank you very much :) i’m searching this answer from google from 1am-4am :P may the force be with you :)

Reply

KayR July 5, 2011 at 6:21 am

Thanks for that. I had downloaded a plugin that just did not work with my template. Solved a really irritating problem for me.

Reply

zhang July 13, 2011 at 4:17 pm

Hi, i just wanna know how to keep the plain text author name, instead of deleting it totally. Thanks in advance.

Reply

Zahid Rouf July 13, 2011 at 6:04 pm

Is there any shortcut or plugin for this job other than editing the core files ?

Reply

Marcos Ruiz July 20, 2011 at 7:22 am

Very useful, thanks a lot.

Reply

Keith September 13, 2011 at 12:48 am

Oh man I have been going crazy trying to work this out. I have locked myself out of my site about twenty times today. So THANK YOU SO VERY MUCH. One line of code from you and problem solved. I am seriously grateful and going to bed a happy man. Not sure who you are really but you’re definitely my hero.
Cheers
Keith

Reply

Know better? Feedbacks, or Questions? Shoot! :-)

Please use a name instead of blog name or SEO stuff, otherwise it will be deleted right away.

About checkbox → See more my post:how to get rid of spam bots in wordpress post.

Thank you for visiting, you're always welcomed to be here again!

Previous post:

Next post: