WebDevStudios / WebDevStudios/custom-post-type-ui
import / export / add CPT
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 641
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
[ NEW REQUEST ]
I would ask if it is possible, to be able to expand this function.
- IMPORT: CPT UI allows you to import the code generated by another installation to transfer the fields to generate the CPTs. All with limitations.
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.
- AUTOMATION: Since many items are similar in the creation of fields (singular voice and plural voice), in the creation of fields it is not possible to automatically construct the fields by indicating only the Singular and Plural entries of the fields and then possibly being able to manually redefine the fields to we don't like the translation?
(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 ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the CPT UI import, export, and field-creation flows described in the request. Break the work into separate decisions for merging or overwriting imports, file-based export and selection, and singular/plural field automation; define the expected behavior for each before implementation. No files or tests are named, so the relevant entry points and coverage must first be located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100