On the wordpress admin edit posts page, I want to display some custom content and script, underneath the meta box.
I want to hand code this as the various plugins I could use (advanced custom fields for instance) take too much control away, and I don’t need an actual field to be saved.
So for example, I want to add this to the edit posts page:
<div class='mydiv'>
<img src='someImage.png' alt='someImage'/>
<script type='text/javascript'>alert('hello world!');</script>
</div>
That’s pretty much it. Nothing fancy or that contains any editable content.
What hook or function do I need to use to achieve this?
Any help greatly appreciated
As found here:
http://codex.wordpress.org/Function_Reference/add_meta_box