Viewing 5 replies - 1 through 5 (of 5 total)
  • Don’t edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress. For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    Thread Starter camilledemondesir

    (@camilledemondesir)

    I’m aware of that, but I would still like to know where exactly in the code to make the changes I described…

    you can edit the function twentyten_posted_on() (from functions.php of the parent theme) and add the edited version to functions.php of the child theme.

    Thread Starter camilledemondesir

    (@camilledemondesir)

    Thanks! Which clause exactly do I delete so it only displays a non-hyperlinked date?

    for example, leave just this:

    function twentyten_posted_on() {
    	printf( __( '<span class="%1$s">Posted on</span> %2$s', 'twentyten' ),
    		'meta-prep meta-prep-author',
    		sprintf( '<span class="entry-date">%1$s</span>',
    			get_the_date()
    		)
    	);
    }

    (untested)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Entry-meta information’ is closed to new replies.