Jump to content
Sign in to follow this  
jankowalski

hooks filters actions

Recommended Posts

jankowalski

I m not familiar with hooks filters actions so far, but anyone could give me an example how to place a php code in header in this place? brandnav_after_brand i hope i can investigate and learn how to counstruct those hooks-filters this is the code i want to display

<?php
	        global $wpdb;
	        $current_lang = $wpdb->blogid; //get current blog id
	       ?>
	        
[/code]

Share this post


Link to post
Share on other sites
Stefan
Hey there, Did you look over the "Hooks" instructions in the Theming center? Checking out how it's done in the MUD theme could give you an idea of how to achieve what you want :)

Share this post


Link to post
Share on other sites
jankowalski
ok i have this brandnav_after_brand, what do i do next? i found instructions, but still don t know how to insert my code into.

Share this post


Link to post
Share on other sites
Danny
Hi, [code]add_action('brandnav_after_brand', 'wpdb'); function wpdb(){ ?> Your Code

Please search our forums, before posting!

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  

×