• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Get post date and post tags on same line

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

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

This topic is: resolved

Tagged: .post-info, categories, date

  • This topic has 5 replies, 2 voices, and was last updated 12 years, 3 months ago by dekraan.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 15, 2014 at 8:58 am #105305
    dekraan
    Participant

    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.

    May 15, 2014 at 9:16 am #105310
    Brad Dalton
    Participant

    Which theme? Link to your site please.

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


    Tutorials for StudioPress Themes.

    May 15, 2014 at 9:24 am #105313
    dekraan
    Participant

    Hi braddalton,

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

    May 15, 2014 at 9:27 am #105315
    Brad Dalton
    Participant

    Try this:

    .entry-categories {
    display: inline-block;
    }
    

    Tutorials for StudioPress Themes.

    May 15, 2014 at 9:57 am #105325
    Brad Dalton
    Participant

    Post tags or categories?


    Tutorials for StudioPress Themes.

    May 15, 2014 at 11:55 am #105348
    dekraan
    Participant

    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!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble