WordPress.org

Ready to get started?Download WordPress

Forums

Remove categories and comments from blog: Completely! (2 posts)

  1. adunate
    Member
    Posted 3 years ago #

    I want the date, author, category and comment functions completely removed from my theme, customized from Twenty Ten.

    To delete the date and author, in functions.php I deleted all the code between the curly brackets in the _posted_on() [line 466] so it now looks like this:

    function twentyten_posted_on() {
    }

    This works.

    However, when I did the same for the _posted_in() [line 466] it does not work.
    function twentyten_posted_in() {
    }

    What's wrong?

  2. adunate
    Member
    Posted 3 years ago #

    Think long enough and you can answer your own question!

    I went into loop.php and blocked the code from <div class="entry-utility"> to </div><!-- .entry-utility -->

    This did it. It eliminates the category and comment functions.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.