WordPress.org

Forums

Disabling Date & Comments for Specific Posts (3 posts)

  1. aeonbotanica
    Member
    Posted 5 years ago #

    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,
    Aeon

  2. racer x
    Member
    Posted 5 years ago #

    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'); ?>
    or
    <?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'); ?>
    or
    <?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.

  3. aeonbotanica
    Member
    Posted 5 years ago #

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

    Aeon

Topic Closed

This topic has been closed to new replies.

About this Topic