Get post date and post tags on same line

Community Forums Forums Design Tips and Tricks Get post date and post tags on same line

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  dekraan 4 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #105305

    dekraan
    Member
    Post count: 14

    Hi all,

    I am looking at the post info through simple edits, and I would like to show post_date and post_categories on the same line, like this, at the top of a post:

    15 mei 2014 – category 1, category 2, category 3 etc.

    With simple edits, I can only get them underneath each other like this:

    15 mei 2014
    category 1, category 2, category 3 etc.

    Does anyone know how to edit (I think adding some code to functions.php?) my post info to look like I want it to? If possible, I would also like to remove the prefix ‘categories:’ from post_categories.

    #105310

    braddalton
    Participant
    Post count: 9916

    Which theme? Link to your site please.

    {css]
    .entry-categories {
    display: inline-block;
    }
    [/css]


    #105313

    dekraan
    Member
    Post count: 14

    Hi braddalton,

    I’m tinkering in the genesis sample. I’ve taken the ‘coming soon’ link off, and here it is!

    #105315

    braddalton
    Participant
    Post count: 9916

    Try this:

    [css]
    .entry-categories {
    display: inline-block;
    }
    [/css]


    #105325

    braddalton
    Participant
    Post count: 9916
    #105348

    dekraan
    Member
    Post count: 14

    You did it! Very nice. As an amateur I thought I had to php something, but this is great work and very easy, thank you!

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

You must be logged in to reply to this topic.