Forums

[resolved] Hiding author and date on pages? (5 posts)

  1. mysticspiritus
    Member
    Posted 2 years ago #

    Hi, how can I hide the author name and timestamp on pages? I tried removing it, but whenever I removed the code that makes it show my sidebar disappeared as well. Help?

  2. Samuel B
    moderator
    Posted 2 years ago #

    if just on Pages
    look in your theme's page.php for the code

    if on posts
    look in your theme's single.php

    if on main page
    look in theme's index.php

  3. wendyww
    Member
    Posted 2 years ago #

    Isn't there a way to do this thru the dashboard, I mean thru /wp-admin? Seems like something enough people would want, should be easy to do thru WP interface rather than hacking the pages directly.

  4. jonidontcry
    Member
    Posted 2 years ago #

    Yeah I have the same question. I don't wanna have the time, date and author's name displayed on posts. What should I do?

  5. alchymyth
    The Sweeper
    Posted 2 years ago #

    look into your theme files - as @samboll suggested - and seach for <?php the_time('F jS, Y') ?> and <?php the_author() ?>
    and then comment them out or delete the code - and be sure not to destroy the html structure.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.