-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import / export / add CPT #797
Comments
Just to be certain before I delve too far into parts of this, all the import/export that you are referring to is specifically the CPTUI settings blob of JSON data that we've made portable, correct? Not necessarily an export from say Pods or Toolset Types ? Regarding parts of these request items from you, I know of: That last one, #750, is kind of an offshoot of https://docs.pluginize.com/article/84-save-cptui-settings-data-to-file which we've had awhile and covers at least 2.a from your list above. |
I took a look at the post references you pointed out to me ... This externally saves the database file in JSON, but has limitations. I believe that you should carefully reread the operation requests that I have listed now and also in the main post, I believe that not only are they functions that interest me, or other users, but I strongly believe that they are functions to be taken into consideration to give greater potential and shine to YOUR PLUG-IN. The features that CPT UI offers (you know better than me) are all things that an online CPT generator or good code in functions could very well do, but since thanks to you there is this handy and extraordinary plugin I wonder why not make it anymore powerful and versatile natively without third party stunts ?? |
Will take all this into advisement and see what we can potentially come up with. I know in one's head and mind it can sound really simple to do these things, but when it comes to actually trying to achieve it, it can actually get quite complex. That's not me saying we can't or won't look into any of this, it's all a matter of figuring out how. |
Quiet, I know well that although it may seem so easy in words, then at the programming level there are various steps to overcome to make things work ... If I knew how to do it I would have done it :), but I'm also sure that these things are doable, in one way or another ... |
Re-reading through the original post at the top, some of this will be able to be handled once #891 is fully finished and released. It's not going to necessarily handle importing and automation of creation, but at least on the front of being able to save to file and everything for backup and version control purposes, yes. So I'm leaving this issue open, but wanted to chime in and say that some of it will be handled by other enhancements. |
[ NEW REQUEST ]
I would ask if it is possible, to be able to expand this function.
a) If I already have 3/4/5 CPI created in the new installation by importing the code of another installation example of 1 CPT, this imported code will delete the codes already present, I wish it were possible that the imported code would be added to the code already existing and alternatively could overwrite the existing code (as it already does).
2.EXPORT: Being able to export the code, currently it is possible in a minimized form, to copy and paste the code.
a) Would it be possible to export and save the code in a file so that it could be saved (as a backup) and imported into a new installation?
b) in the process of saving on an external file, the appearance of a menu that indicates whether to export all the CPT and Taxonomies or to select which CPT / TAX to save in a file.
(currently I do this with a find and replace in a notepad and then I import the code in CPT UI), in 30 seconds I have the basic CPT at 90% ready to use without making major changes.
It would be nice and useful something like this inside CPT UI ...
The text was updated successfully, but these errors were encountered: