• Resolved tastymouse

    (@tastymouse)


    An absolute beginners question but I can’t find information about this: how do I add fields to a post type?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    For the sake of the beginner detail, we recommend making use of Advanced Custom Fields, which can be found at https://www.advancedcustomfields.com/

    Something to note is that there is some controversy going on where their original download location at https://www.ads-software.com/plugins/advanced-custom-fields/ got taken over by a fork of Advanced Custom Fields. So the code at that specific .org URL is from the fork, and if you’re preferring the original Advanced Custom Fields, you would want to use my first link.

    ACF will have plenty of documentation available on how to use it to generate all sorts of fields that you may need.

    Thread Starter tastymouse

    (@tastymouse)

    Alas, the documentation is very poor there too. It seems to be very hard to use custom fields, custom post types and show them on a post and category page.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I know there are other plugins like Pods or Meta Box, from a search for custom fields https://www.ads-software.com/plugins/search/custom+fields/

    Both will also provide UI tools for creating the fields in the admin, and hopefully provide decent enough documentation on showing the content in the various templates.

    All of these solutions are going to require theme template file editing to show for each item.

    Definitely give this sheet a look, it’s comprehensive and goes over a lot of the options out there with a very nice comparison between each that tries to remain unbiased.

    https://comparewp.org/cck/

    Thread Starter tastymouse

    (@tastymouse)

    Okay @sc0ttkclark your sheet tells me Custom Post Type UI doesn’t have the ability to add custom fields. I’ll check Pods. Thanks

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Correct, we don’t have anything native for custom meta data outside of whatever properties and attributes are available as part of post type and taxonomy registration functions. Thus why we were recommending other seasoned field plugins.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.