I was wondering if its possible to add a little box, like the ‘excerpt’ box to all posts in wordpress so that i can enter a URL.
Cheers,
I was wondering if its possible to add a little box, like the ‘excerpt’ box to all posts in wordpress so that i can enter a URL.
Cheers,
You must be logged in to post a comment.
You can use the add_meta_box function. You also need a callback function that outputs the form html on the post screen and a save function.
Here is a basic example that adds a URL meta box to lower right hand side of the post screen.
Edit: Corrected namespace error in code above.