WordPress.org

Forums

Customizr
[resolved] Adding a date to post's? (8 posts)

  1. hitherehaley
    Member
    Posted 1 year ago #

    Hi I would like to add a date under my title in my posts is there any way to do this in CSS?

    http://www.hitherehaley.com

  2. rdellconsulting
    Member
    Posted 1 year ago #

    There should be post meta data (including date) showing as default.

    Did you give your posts any Category or Tags?

  3. hitherehaley
    Member
    Posted 1 year ago #

    I did give my posts categories, does that effect the date?

  4. hitherehaley
    Member
    Posted 1 year ago #

    Ok, so I wrote a draft and left it "uncategorized and the date did show up. Is there not a way to categorize a post and have the date show up?

  5. hitherehaley
    Member
    Posted 1 year ago #

    I have another factor that may be causing the dates not to show. Could scheduling the posts for a certain time (in the past or future) cause the meta data not to show?

  6. d4z_c0nf
    Member
    Posted 1 year ago #

    Look, http://www.hitherehaley.com/2014/03/
    Here you can see the date and other post metas, the thing is that customizr by default doesn't show those metas on home page.
    If you want them also in your home page, add this to your child theme functions.php:

    add_filter( 'tc_show_post_metas', 'force_show_post_metas', 10, 1 );
    function force_show_post_metas($bool){
        if ( tc__f('__is_home') )
            return true;
        return $bool;
    }

    Hope this helps.

  7. d4z_c0nf
    Member
    Posted 1 year ago #

    Ops, just saw that nicolas already provided this snippet:
    http://www.themesandco.com/snippet/display-post-metas-home-page/

  8. hitherehaley
    Member
    Posted 1 year ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.