Jump to content
Sign in to follow this  
addwater4455

Some hooks work and some don't.

Recommended Posts

addwater4455

I have successfuly added a basic hook into my theme. The trouble is registered hooks I see in the PageLines v2 theme are not working. for example the following action does nothing. Am I missing something? What is the best way to add or alter html from the Parent theme? (http://wordpress.addwater.com/winelist/) add_action('brandnav_after_nav', 'top_nav_inset_line'); function top_nav_inset_line(){ echo '

'; }

Share this post


Link to post
Share on other sites
kastelic
Its correct but you have to have the Brandnav section active in order for it to work. You have the separate Branding and Navigation sections active.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×