0

I'm a low beginner with wordpress and I have to create a custom post type with additionnal custom fields: link for social network and a field for email address.

the purpose is to have a page with the members of a team and for adding a new member we need to allow him or her to add his or her name, an email address and a her or his profil link for a social network without using a plugin like ACF.

Need some help :-) Thanks

1 Answer 1

0

Custom Post types allow to set custom fields (aka meta-data) capability. Just add 'custom-fields' capability to your arguments within the array. No need for the plugin just for adding a couple of fields.

'supports' => array( 'title', 'editor', 'custom-fields' )
1
  • as a low beginner at the time I posted this question, I should have looked well to wordpress codex but we learn from mistake Commented Nov 24, 2017 at 16:18

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.