You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
THA currently includes four tha_entry_* hooks. What would you think of adding hooks for entry header, content and footer? For example when using HTML5 markup, I could have an <article>, and inside that a <header>, a <section class="content"> and a <footer>. I would propose six additional hooks:
tha_entry_header_before
tha_entry_header_after
tha_entry_content_before
tha_entry_content_after
tha_entry_footer_before
tha_entry_footer_after
In the theme I'm currently developing (Schemata) I named these a little differently: I have schemata_article_before (which is basically like tha_entry_before, schemata_article_header_before, schemata_article_content_before and schemata_article_footer_before, and of course the same for *_after (I do not use *_top and *_bottom at the moment, but I would definitely like to adjust things, however I need six hooks like the above in my theme).
I'm curious about your opinions.
The text was updated successfully, but these errors were encountered:
+1 to adding some additional hooks within the entry content. Genesis has these hooks and I've found them to be pretty useful for adding and removing conditional content in the past.
THA currently includes four
tha_entry_*
hooks. What would you think of adding hooks for entry header, content and footer? For example when using HTML5 markup, I could have an<article>
, and inside that a<header>
, a<section class="content">
and a<footer>
. I would propose six additional hooks:tha_entry_header_before
tha_entry_header_after
tha_entry_content_before
tha_entry_content_after
tha_entry_footer_before
tha_entry_footer_after
In the theme I'm currently developing (Schemata) I named these a little differently: I have
schemata_article_before
(which is basically liketha_entry_before
,schemata_article_header_before
,schemata_article_content_before
andschemata_article_footer_before
, and of course the same for*_after
(I do not use*_top
and*_bottom
at the moment, but I would definitely like to adjust things, however I need six hooks like the above in my theme).I'm curious about your opinions.
The text was updated successfully, but these errors were encountered: