Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress theme – no date on posts – only time

  • @ottosen

    Participant

    I have just changed to the buddypress theme to allow the user interaction, but unfortunately all posts now only show the time it was posted and not the date.
    Does anyone know how to fix that?

Viewing 8 replies - 1 through 8 (of 8 total)
  • @mercime

    Participant

    @ottosen

    Participant

    Super it worked. Thank you for the quick help!
    I added H:i in front of the date codes to get the time of the post also

    @djpaul

    Keymaster

    I strongly recommend to build this into a child theme, otherwise you are going to regret it when BuddyPress is updated in future.

    https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    @borgopio

    Participant

    for me the same thing not only on bp-default/index.php
    even in single blog post at bp-default/single.php

    Anyway +1 for @DJPaul suggestion.

    @djpaul

    Keymaster

    Since you’ve dug up a 3 month old post, the theme for the future 1.3 release has these switched to date now :)

    @dinoraptor101

    Participant

    Gosh! omg it worked like a charm!! replacing the index.php AND single.php is a must.. to assure both pages on display or on post display.. for date to appear :) time appears when it’s less that 1 day old..

    Thanks alot!

    @jennyd

    Member

    Since this is the only thread I can find on the subject . . .

    How is this done with the current version of BuddyPress? The default index.php no longer looks much like mercime’s version above, and I quite simply can’t find the right code to tweak.

    (Works fine on the individual posts, of course.)

    I’m sure it’d be better in a child theme, but the child themes others have created don’t include an index.php, and I’m not much interested in creating my own.

    @aces

    Participant

    It would have been better to start a new thread, but….

    bp default theme index.php still has “ in it.

    If you copy the index.php from the buddypress parent (ie: http://yoursite.com/wp-content/plugins/bp-themes/bp-default/index.php or your current alternative parent) theme to the child theme then it doesn’t take much creation…..

    all you need to do then is the edit suggested by mercime…

    Edit

    to

    and you’re done.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Buddypress theme – no date on posts – only time’ is closed to new replies.
Skip to toolbar