Support » Fixing WordPress » Disabling Date & Comments for Specific Posts

  • Hi,

    Is it possible to disable date, comments, categories, etc. for specific posts?

    I’m also curious why within WP-Admin, my home page does not show up among the list of pages I can edit.

    Thanks in advance for your help,

Viewing 2 replies - 1 through 2 (of 2 total)
  • To disable date output or categories may involve editing the theme files directly. Each theme may handle this differently. Usually there is a line that looks like this:

    <?php the_time('D, M j, Y'); ?>
    <?php the_category(', ') ?>

    You can comment those lines(which means in php they won’t output or do anything) like this:

    <?php //the_time('D, M j, Y'); ?>
    <?php //the_category(', ') ?>

    Obviously, if you are not comfortable editing template files, I do not recommend digging in to those.

    You can choose which posts can have comments at the bottom of the post creation page in the “Discussion” panel.

    Your home page is probably index.php. This is a dynamic file that pulls the most recent posts into your home page. You would need to have a pretty good understanding of WordPress to want to edit that file.

    You can set ANY page as your home page btw in Settings->Reading.

    VERY enlightening, racer X. I do appreciate the detailed information.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disabling Date & Comments for Specific Posts’ is closed to new replies.