Skip to content
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
  • Log In
  • Free Support

[Resolved] How to place the post date above the post header

Home › Forums › Support › How to place the post date above the post header

  • This topic has 8 replies, 3 voices, and was last updated 11 months, 1 week ago by Tom.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • January 13, 2016 at 4:14 am #165513
    Peter Islin Nielsen

    Hi Tom,

    Is there a way to place the post date above the post header without editing the PHP files? It should be on both the blog page and on the post pages itself. I hope it makes sense πŸ™‚

    Thanks!

    /Peter

    January 13, 2016 at 10:24 am #165595
    Tom
    Lead Developer
    Lead Developer

    Hi Peter,

    Without using PHP it’s not possible – even with it’s kind of difficult (but possible).

    I see the need/want to do something like this, so I’ll look into making an adjustment that makes it easier πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    January 13, 2016 at 11:46 am #165615
    Peter Islin Nielsen

    Hi Tom,

    OK, thanks. It’s not a biggie, so for now I’ll just try to pursuade the designer to keep it as it is πŸ™‚

    /Peter

    January 13, 2016 at 11:43 pm #165707
    Tom
    Lead Developer
    Lead Developer

    I’ll update this post when I have something figured out πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    March 21, 2016 at 10:41 pm #180822
    Tom
    Lead Developer
    Lead Developer

    In 1.3.29 you’ll be able to do this:

    add_action( 'after_setup_theme', 'generate_move_post_meta' );
    function generate_move_post_meta()
    {
        remove_action( 'generate_after_entry_title', 'generate_post_meta' );
        add_action( 'generate_before_entry_title', 'generate_post_meta' );
    }

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    March 22, 2016 at 12:30 am #180827
    Peter Islin Nielsen

    Great, Tom! Thanks for letting me know πŸ™‚

    March 22, 2016 at 12:39 am #180830
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    March 20, 2020 at 6:17 pm #1201139
    Ariel

    To avoid making a new thread I’m hoping maybe to find help here as I am trying to do something similar. I’m looking to move the post date above the post header but only on the single article page. Anyone have any suggestions?

    March 21, 2020 at 8:18 am #1201911
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    What about the other post meta like the author? Also above the title, or still below?

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Common Issues

  • Missing style.css
  • Updating errors
  • Plugin Install Failed

Useful Articles

  • Installing GP Premium
  • Installing GeneratePress
  • How to add CSS
  • How to add PHP

GeneratePress

  • About
  • Premium
  • Site Library
  • Gutenberg
  • Affiliates
  • Reviews
  • Brand Assets
  • Blog
  • We’re Hiring!

Support

  • Documentation
  • Contact Us
  • Support Forums
  • Fastest WordPress Theme
  • Changelogs
  • Legal
  • Donate
  • Translate

Popular FAQs

  • Install GeneratePress
  • Installing GP Premium
  • Missing style.css
  • Plugin Install Failed
  • Adding CSS
  • Adding PHP
  • WordPress Hosting

Social

  • Facebook
  • Twitter
  • WordPress
  • GitHub
Made with on Vancouver Island
  • Home
  • Premium
  • Site Library
  • Install
  • Contact
  • Support Forum
  • Documentation
  • Account
  • Checkout