• Resolved neweb

    (@neweb)


    Template: twentyten

    How to I remove the author from a post
    Example:
    Posted on September 11, 2010 by admin

    I want to replace it with
    Posted on September 11, 2010

    I have been at the code for hours and just can’t get it to work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • In functions.php around line 442, change this:

    function twentyten_posted_on() {
    	printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),
    		'meta-prep meta-prep-author',

    to this:

    function twentyten_posted_on() {
    	printf( __( '<span class="%1$s">Posted on</span> %2$s', 'twentyten' ),
    		'meta-prep meta-prep-author',
    Thread Starter neweb

    (@neweb)

    vtxyzzy,
    Thanks a lot. That worked perfect.

    You are welcome. Now, please use the dropdown at top right to mark this topic ‘Resolved’.

    Thread Starter neweb

    (@neweb)

    That’s done now.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove Author’ is closed to new replies.