wht theme are you using?
do you want to change this in index and archive pages and single posts?
I’m using a custom theme. And i want to remove it on single pages :).
custom as in
– ‘self-made’ ?
– or commercial?
– or build for you by somebody?
in either case, you need to locate the code for the author output in the single.php template.
most author related functions have the word ‘author’ in the function call.
replace what you find with the_author()
http://codex.wordpress.org/Function_Reference/the_author
you can also paste the full code of single.php into a http://pastebin.com/ and post the link to it here; how-to: http://codex.wordpress.org/Forum_Welcome#Posting_Code
if you are using a commercial theme, please contact the theme’s seller for support.
try and find this function in functions.php of your theme:
function twentyten_posted_on() {
then edit this a few lines further down:
sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
change to:
sprintf( '<span class="author vcard">%3s</span>',
That didn’t work. This is what i have in my functions.php
function twentyten_posted_on() {
printf( __( ‘ <span class=”meta-sep”>door %3$s</span>’, ‘twentyten’ ),
‘meta-prep meta-prep-author’,
sprintf( ‘<span class=”entry-date”>%3$s</span>‘,
get_permalink(),
esc_attr( get_the_time() ),
get_the_date()
),`
the code I was referring to would be in the line after what you just posted.
if this is not there, then I can’t see any other reference to ‘posted by [name]’ in the posted single.php code;
is that appearing before or after the post content?
if you can’t post a link to your site, can you provide a screenshot of the problem?
Link to the site: http://www.ngnl.nl