How in phpMyAdmin to create an arbitrary field "photobox" for all Wordpress posts at once? Thought in what ... Plug-ins create fields using queries to the database. So can the same thing be done via the phpMyAdmin console? To not order the script. The action is still one-time.

UPDATE:

"Having created a PP, it is already available for all posts" - if you create it with your hands, only for those posts where you create it with your hands. And since there are several thousand posts, you understand ...

I have an export / import script through excel, I’ll then correct them. While the field in the database is not created, there is nothing to correct.

About the "break the site" - the database dump solves this issue.

  • What for? So no one does. When using an arbitrary field, its existence is checked and some default value is displayed. - KAGG Design
  • Forget on "create in phpMyAdmin". Do not climb the base with your hands if there is no firm desire to break the site. Everything is done only through the functions / API VP. Ida. Having created the PP, it is already available for all posts. If you need to fill it with an automatic machine, then this is another question. - SeVlad
  • Again, these questioners without a hollow in the VP came running. When will it end? Get out, get out of this tag, ignorant !!! - SeVlad
  • "Having created a PP, it is already available for all posts" - if you create it with your hands, only for those posts where you create it with your hands. And since there are several thousand posts, then you understand ... I have an export / import script through excel, I will then correct them with values. While the field in the database is not created, there is nothing to correct. About the "break the site" - the database dump solves this issue. Thought in what ... Plug-ins create fields using queries to the database. So can the same thing be done via the phpMyAdmin console? To not order the script. The action is still one-time. - Yura
  • > it is only available for those posts where the hands are created. ...... Not. Available for ALL. > dump database solves this question ... Naive .. But this is not from experience. > Plugins create fields using queries to the database. .... The correct plugins do not climb directly into the database, but use the API. - SeVlad

0