WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing the date, comments and category text from a post (3 posts)

  1. Possum7
    Member
    Posted 1 year ago #

    Hi all,

    I have spent hours trying to find how to do this without any luck, so I hope someone out there can help!

    What I am trying to do is remove the text at the top of a post that shows the date, 'comments off' and 'Categories: Uncategorized'. See here at http://www.samuellaysullivan.com

    So far I have found a plugin called 'WP date remover' that removes the date automatically from posts, however I have had no luck with removing the other text. This also is not ideal because there will be posts where I want the date displayed.

    From the research I have done it appears this can be achieved by removing the CSS somewhere. However, with my theme (picolight) I cant find where to do so in any of the following templates i have to choose from:

    404 Template
    (404.php)
    Comments
    (comments.php)
    Footer
    (footer.php)
    Theme Functions
    (functions.php)
    Header
    (header.php)
    theme-options.php
    Main Index Template
    (index.php)
    Page Template
    (page.php)
    Search Results
    (search.php)
    Search Form
    (searchform.php)
    Sidebar
    (sidebar.php)
    Single Post
    (single.php)

    Could anyone out there PLEASE point me in the right direction?

    Many thanks in advance,

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Add this to your CSS code in style.css:

    .post .meta, .pages .meta {
        display: none;
    }

    Remove the plug-in you tried to use -- the above will remove all of that line.

  3. Possum7
    Member
    Posted 1 year ago #

    THANK YOU SO MUCH WPyogi!!!!!!!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic