This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: header addon

#1308
Jason Bobich
Keymaster

It’s best if you avoid editing header.php at all, as this is a file that often gets changed with theme updates. This is why the theme comes with such an intricate action hook system, which you can utilize from your Child theme’s functions.php.

http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

You will need basic PHP knowledge and to understand what a WordPress action hook is.

http://dev.themeblvd.com/tutorial/actions/

For example, you could create a function that contains the content you want to display, and then hook it to the “themeblvd_header_addon” action with use of WordPress’s add_action function. Again, this all happens from your Child theme’s functions.php file.