jankowalski 3 Report post Posted July 16, 2012 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 ?> <?php echo('english'. "n"); ?> [/code] Share this post Link to post Share on other sites
Stefan 6 Report post Posted July 16, 2012 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 3 Report post Posted July 16, 2012 ok thanks Share this post Link to post Share on other sites
catrina 103 Report post Posted July 17, 2012 Let us know if you need further assistance. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
jankowalski 3 Report post Posted July 17, 2012 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+ 1,327 Report post Posted July 17, 2012 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 Login via PageLines Signup To PageLines Sign in to follow this Followers 0