thewirelessguy / cornerstone

Cornerstone is a WordPress starter theme based on the Zurb Foundation Responsive Framework. Cornerstone aims to provide a lightweight starter theme that is responsive and SEO friendly that web designers can build great looking websites on.
GNU General Public License v2.0
155 stars 40 forks source link

Theme hooks. Do you use them? I'm considering removing them. Would welcome feedback. #32

Open alana-mullen opened 4 years ago

alana-mullen commented 4 years ago

I'm considering removing custom theme hooks, for example: do_action( 'cornerstone_before_content' );

I'd like to get an idea of how you use them and more importantly, if you use them. One option is to replace them with hooks from the Theme Hook Alliance so that your plugins are not tied to the theme.

A few months ago I removed cornerstone_after_body hook and replaced it with the new theme hook wp_body_open(). Even if we keep the custom theme hooks for now, I will be replacing them with official WordPress theme hooks as they become available.

Let me know your thoughts below.