• 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

'hooking' before the entry-title

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 › 'hooking' before the entry-title

This topic is: resolved

Tagged: genesis_entry_content, genesis_entry_header, grid loop, hook

  • This topic has 1 reply, 1 voice, and was last updated 11 years, 6 months ago by thoughtwell.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 31, 2013 at 11:46 am #70152
    thoughtwell
    Member

    With the new HTML 5 hooks in Genesis 2.0, I'm not sure how to hook a function before the title in my entries. The old way would have had the hook 'genesis_before_post_title' at my disposal, but w/ the new hooks, you seem to lose the fine-tuning w/ the actual entry-content. The new hook, 'genesis_entry_header' replaces these pre-existing XHTML hooks:

    genesis_before_post_title
    genesis_post_title
    genesis_after_post_title
    genesis_before_post_content

    What I'd like to do is place my post image before the title vs. following the title as done in the Genesis grid loop. If I can't use the old XHTML hooks w/ Genesis 2.0, I'm not sure how to specify that level of detail w/ only one hook where previously there were 4 of them (I didn't try using the old ones in this instance, but before I discovered they had changed, several of my hooks quit working after upgrading to 2.0 in other parts of my theme)

    Anyone experience this?

    http://localhost
    October 31, 2013 at 12:13 pm #70159
    thoughtwell
    Member

    Just in case anyone else runs across this and needs help, I've answered my own question.

    This article was a good bit of help:

    http://davidchu.net/blog/genesis-2-0-html5-hooks/

    You have to set priority and it will do what you (and I) wanted it to do.

    badomp!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘'hooking' before the entry-title’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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