post date and custom post type

  • mastermillo

    #2275

    Hi there,

    for my site I created some post types and now I realised that post date is not displayed on custom post types.

    Any idea how to solve it?

    thanks, millo

    Prasanna SP

    #19585

    Please give link to your site. Can’t say anything without looking around your site..

    mastermillo

    #19586

    I just tried it with the standard twentyeleven theme and it seems to be a general issue, because there the post date is also not displayed.

    I’ll try to post it on wordpress.

    thanks,

    millo

    mastermillo

    #19587

    http://wordpress.org/support/topic/post-date-and-custom-post-type?replies=5#post-2445141

    what I found out now is:

    graphene theme uses the_date or the_time functions, which seem not to work for custom post types (just a guess)

    I now built a function with

    echo get_the_date()

    and it works for every post type.

    Mod

    Kenneth John Odle

    #19588

    Yes, this could easily be achieved with Graphene just by using Action Hook Widget areas and a PHP widget. See this tutorial.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.