This PHP code enables you to display content after the entry title but before the editor on any Edit screen using the edit_form_after_title hook.
Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
Style Your Content
If you want to style your content in any way, you will need to:
Otherwise you can use Firebug to find the admin classes already used in the backend and wrap your content using those classes in a div.
And here’s the result of using the above code:
Add Widget Before Editor
You could also hook this function to a new widget area so you can display any widget before your editor on any Edit screen.
The above code creates a new widget area which outputs the populated widget on all Edit screens.
The styling won’t be the same as your front end widgets so you would need to copy your themes widget styling into your admin.css style sheet if you wanted to use the default front end styles.
Genesis users would use this code instead:
Leave a Reply