WordPress.org

Ready to get started?Download WordPress

Forums

Custom field meta box on post edit screen (3 posts)

  1. matthillcomer
    Member
    Posted 7 months ago #

    Hello all... My site has a pre-existing custom field, "Subhed." We use it to display secondary headlines and we use it in the default Custom Fields box on the post editing screen. I can I create a custom meta box only for the existing "Subhed" field, similar to the standard Excerpt box that appears below the post text are? I have looked at documentation to create custom meta boxes and I'm completely lost. Thanks.

  2. WilltheWebMechanic
    Member
    Posted 7 months ago #

    which documentation specifically are you looking at?
    I would use the add_meta_box function if I were trying to accomplish what you are. Is that what you're looking at?

  3. bcworkz
    Member
    Posted 7 months ago #

    As Will suggested, telling us what you tried would help us help you. If you tried to make sense of the Codex add_meta_box() reference page, I can understand you feeling lost, it's learn by example approach is not for everyone. Have you looked at the External Resources at the end? Those articles may make more sense to you.

    I can also suggest Post Meta Boxes from the still being written Plugin Developers Handbook. I am actually involved with this effort, so if there's a particular section (or even the entire thing?) of this article that you find confusing, please let me know so we can try to improve it.

Reply

You must log in to post.

About this Topic