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

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

  • 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(); ?>
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 :(

Share the knowledge
Share on Google+0Tweet about this on TwitterShare on Facebook0Pin on Pinterest0Share on Reddit0Email this to someonePrint this page