WordPress.org

Ready to get started?Download WordPress

Forums

Trying to delet time off of post (5 posts)

  1. mpallen13
    Member
    Posted 2 years ago #

    I'm trying to delete just the time from my posts.
    photosfromyourcar.com
    Everything I read says that there should be something like this in either the page template or main index template:

    <?php the_time(); ?> or <?php the_date(); ?>

    But my neither of those templates have that code. Is there somewhere else I need to look to delete the time?

  2. Matthew Gedeon
    Member
    Posted 2 years ago #

    I believe you'll need to delete this piece from content-single.php. Be sure to get the dot and leave one space between echo and canyon.
    T'would appear that the designer liked to change things up a bit from normal.

  3. mpallen13
    Member
    Posted 2 years ago #

    hmmmm, for some reason that didn't work.
    deleting that line didn't do anything.

  4. mpallen13
    Member
    Posted 2 years ago #

    It worked when I did it in content.php
    It deleted the date and the time, so I guess it's all or nothing.
    Thanks for the help.

  5. Matthew Gedeon
    Member
    Posted 2 years ago #

    Wow, it seems I know what to do, just not where to do it ;)
    So, just put that bit of code back in, and go to utility.php in lib/funtions/ and delete This bit of code. Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.