CustomPress: CPT not showing date published

I have a simple custom post type (CPT) created by CustomPress.

I'm showing these custom post types at default blog loop.

At single site settings, there is CustomPress-settings, where I have selected these:

On "Blog / Home" page, display these post types:
- posts, mycustomposttype

That's fine. I can see my CPT-posts.

BUT I can not see the date they are published.

I use special 'posted_on' function. I tried to remove it and use themes default 'posted_on' at my content.php

I use _s (underscores) theme. Guess that doesn't matter..

Shouldn't it just show the date, when it's already using the default content.php, single.php etc..?

  • richidi
    • WPMU DEV Initiate

    I'm not sure I was clear enough so... My blog page is like this:

    Normal post title 2
    30.3.2014
    Here is my post excerpt

    Normal post title 1
    29.3.2014
    Here is my post excerpt

    Customposttype title
    Here should be date. Not showing though.
    Here is my post excerpt

  • richidi
    • WPMU DEV Initiate

    Resolved. For anyone who's interested, I just commented out couple lines that were unnecessary for me at content.php (_s-theme)

    <?php // if ( 'post' == get_post_type() ) : ?>
    <div class="entry-meta">
    <?php yourtheme_posted_on(); ?>
    </div><!-- .entry-meta -->
    <?php // endif; ?>

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.