Support » Plugins » Hacks » how to insert stuff above all content

  • I’m trying to write a plugin that prints some html inside the body, but above all of the reasonable content. I can’t find an action hook to do it!

    I tried wp_head, but that’s in the header not the body.

    I tried loop_start, but many themes seem to execute too many loops, so for instance with the thematic theme, my material appears twice in the header and once in the body. With certain widgets it can then appear again in the sidebar.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you mean graphically above the stuff in the body, or actually code-wise before the body? Fixed or variable height? Does it need to be in the seo-friendly html, or can it be inserted with JS?

    I guess you’re right: inserting it with scripts is best. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to insert stuff above all content’ is closed to new replies.