Adding content to the header
I am creating a plugin which allows user to add content to different sections of there WP site. I am giving as many options as possible for adding the content. I have posts/pages, sidebar, footer and header
My problem is that I have found all of the actions/filters to call in order to insert this content, except one for the header.
wp_meta inserts into the sidebar
wp_footer allows me to insert just before the </body> tag
the_content into posts and pages
But how do I insert at the very top of the header? Just after the <body> tag? get_header inserts content before the <html> tag and wp_head inserts content just before </head>
Is there any action/filter hooks for inserting just after <body>?
- The topic ‘Adding content to the header’ is closed to new replies.