- This topic has 1 reply, 1 voice, and was last updated 9 years, 11 months ago by .
- The topic ‘'hooking' before the entry-title’ is closed to new replies.
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.
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:
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
© 2023 WPEngine, Inc.