• Hello,

    I’using Bushwick theme since yesterday. A great theme but there is one ‘minor’ thing I dislike. The date. I would like to have a full written date like september, 8th 1917…

    Can anybody help me getting this done?

    Thanks in advance.

    greetings,

    Bastiaan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter henkzonderland

    (@henkzonderland)

    That’s on the front page…

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi @ @henkzonderland) , if you have not yet done so, I would suggest creating a child theme so that any customizations you make will not be overwritten by a future theme update.

    Child Themes
    Child Theme creation plugins

    You will want to drop this into your child functions.php. If you happen to have an inc/template-tags.php then the following will have to go before that.

    function bushwick_posted_on(){
        printf( __( 'Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>.', 'bushwick' ),
            esc_url( get_permalink() ),
            esc_attr( get_the_time() ),
            esc_attr( get_the_date( 'c' ) ),
            esc_attr( get_the_date() ),
            esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
            esc_attr( sprintf( __( 'View all posts by %s', 'bushwick' ), get_the_author() ) ),
            get_the_author()
        );
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date on Bushwick theme’ is closed to new replies.