I want to create an input field in the dashboard where I can put in links or text which will update a section I define on the actual website. I know I can just edit the template but I want to make things easier for the client.
To be a bit more specific, I have a ‘latest updates’ section in the header and the client has requested that he’d like to update this manually. So I’d like to create an input box of some sort in the dashboard so he can easily enter text (or links), click save, and have it reflected on the website (in the header).
Can someone give me a starting point?
This is pretty easy to do with the Dashboard Widgets API http://codex.wordpress.org/Dashboard_Widgets_API.
Here are the steps I would take to create this:
Here’s a sample for adding a simple dashboard widget: