Amar Syla
Amar Syla

Reputation: 3653

How to add a custom field in the Wordpress editor, and get its value?

I want to add a custom input under the title in Wordpress editor, for pages only. (as long as it shows in pages, it's okay, it can show in other places too). Then I want to get post that value in the page if it's not equal to nothing.

I just need to know how to put the value and how to get that value in the page. It's pretty much the same with custom fields, and then called by meta data, but instead of adding a custom field, I want an input box to appear.

Thanks.

Upvotes: 2

Views: 194

Answers (1)

danyo
danyo

Reputation: 5846

Have you looked at the subheading plugin?

You can do exactly that...

http://wordpress.org/plugins/subheading/

Upvotes: 1

Related Questions