WP SITES

3086 Coded Tutorials & 290 Plugins

Add Content Before Editor After Title In Any Admin Edit Screen

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.

Edit Post Admin Screen

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:

style admin box

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:

Related Solutions

One response to “Add Content Before Editor After Title In Any Admin Edit Screen”

  1. How To Add A Help Text Widget For WP Admin Notices

    […] Add Content Before Editor After Title In Any Admin Edit Screen […]

Leave a Reply

New Plugins