• Resolved moserengineering

    (@moserengineering)


    How do I remove the following things from the TwentyTen template?

    Posted on July 19, 2010 by admin

    Posted in Uncategorized | Comments Off

    Thank you.

Viewing 13 replies - 16 through 28 (of 28 total)
  • With HTML comment <!-- --> the PHP will still run but will be hidden on the page.
    <?php //twentyten_posted_on(); ?> or <?php /* twentyten_posted_on(); */ ?> will comment out the PHP so it won’t run at all.

    Could you tell me how to remove the comment box on the twenty theme please?

    Can you please tell me how to remove this part, especially the Comments Off.

    Posted in Uncategorized | Comments Off

    I’m new to this, do you mind also helping me with the location of the RSS feed?

    Thanks!

    This worked a charme for me, to get rid of posted on / posted in. Add this at the end of style.css:

    .entry-meta {display:none;}

    .entry-utility{display:none;}

    doc4

    I tried your method and it gave me this:
    Fatal error: Call to undefined function twentyten_posted_on() in /home/…/public_html/wp-content/themes/twentyten/loop.php on line 128

    Any ideas what I did wrong?

    .entry-meta {display:none;}

    .entry-utility{display:none;}

    What does each command mean?

    Just out of curiosity: Is it possible to remove only the date and retain the author?
    I have removed the both from the homepage of my photo blog.
    Thanks all.

    redi1 deleting all of the function will cause the function to not exist thus undefined everytime the function is called.
    either delete everything inside function twentyten_posted_on() { } (but you lose it in case you need it) or just comment out <?php //twentyten_posted_on(); ?> where you dont want to use it.

    Ogggeee

    (@ogggeee)

    Add this code to style.css under “/* =Content” to remove: Posted by, Posten on, Posted in and comments. Much more simple.

    Code: .post .entry-utility, .post .entry-meta {display:none;}

    Hello moserengineering,
    The best place to remove the code is at Single.php. Look for the code around line 62 that looks like this: <?php twentyten_posted_in(); ?> and either remove it or turn it to a comment. There’s no need to edit the functions.php or any other file as this is where the function is called.

    This removes both things you asked in one shot. Good luck! ??

    Hi I just screwed my blog up momentaily
    listbuildingincomepro.com/blog/

    Parse error: syntax error, unexpected ‘.’ in /home/listb/public_html/blog/wp-content/themes/twentyten/functions.php on line 459
    Can anyone help. I was trying to delete post date.
    My screen froze that was computer so not sure what I have done. Initially I deleted the code as above,I thought, that didn’t seem to work so put code back everything was fine, then I tried /* and */ Think may have added in wrong place.
    Anyone willing to have a look for me please
    Cheers
    Graeme

    Phew I went into fantastico and the version was out of date so i upgraded to current verion fixed the error now to try deleting posts again

    hi everyone. in twentyten template, how can i move “by admin” only separated from “posted by”? which part of the code should I move?

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘How to remove posted date and by…’ is closed to new replies.