2011-01-05, 22:45:01
Hi,
Your right , it should be called "theme-header"
And it will only get called if your have
<?php get_header(); ?>
somewhere in the <head> section of your template files.
You can also just create your own hooks anywhere in your templates.
just use
<?php exec_action('your-hook-name'); ?>
Then just register you plugin with your hook name.
Your right , it should be called "theme-header"
And it will only get called if your have
<?php get_header(); ?>
somewhere in the <head> section of your template files.
You can also just create your own hooks anywhere in your templates.
just use
<?php exec_action('your-hook-name'); ?>
Then just register you plugin with your hook name.