0

I create a new theme and I the page / post is divided to:

  • Title
  • Slogan
  • Content

I want to add a slogan field in the admin panel, where the user adds or edits a post or page. After I will use in update_option function.. just the part of adding this is the problem. I think there is a function or filter which does it but I don't know which.

Thank you.

1

1 Answer 1

1

You could also use Advanced Custom Fields Plugin. It allows you to create whatever type of field you wish, and then adds it to posts or pages (or both). After that, it is pretty simple to call within the wordpress loop.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.