Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in the docs? How to place some plugin output in the header?
#3
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.
My Github Repos: Github
Website: DigiMute
Reply


Messages In This Thread
Error in the docs? How to place some plugin output in the header? - by n00dles101 - 2011-01-05, 22:45:01



Users browsing this thread: 1 Guest(s)