How to create new fields in Wordpress database?

Asked

Viewed 58 times

0

I am developing a system style Infojobs, Catho and CEVIU in Wordpress, based on a Theme already created for this purpose. For a user to register on the site, by default of the theme, he has to provide the following data: email, password, password confirmation and select in a select field if he is a company or candidate.

I need to implement one more field, CPF or CNPJ according to what the user selects in select.

I need to create another field in the WP database to send this data (CPF or CNPJ), which would be the most recommended table to send this information?

This field I will have to create directly in the database or to use a custom WP Fields?

Grateful.

  • It would be interesting to study Custom Post Types and custom Fields. On the link you can have a notion http://vinteum.com/wordpress-campos-personalizados-custom-fields/

  • I use this way to maintain the integrity of Wordpress

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.