Plugin Support
Amin
(@amin7)
Hi @mxlaxe
Well, BetterDocs Import feature supports importing content via CSV, but it only reads the data as plain text from the CSV file. That means any formatting like tabs, line breaks, or accordion shortcodes will not be automatically converted into styled blocks during the import. So, if your shared doc’s plugin has differrent format, then it will not support after importing the CSV.
You will see, BetterDocs provides a sample CSV file that shows <h2> and <p> tags — currently, it supports headings and paragraphs, but not advanced layouts like accordions or tabs. You may check here, https://d.pr/v/ToypHr, you can also check the related doc here, https://betterdocs.co/docs/how-to-import-and-export-documentation/
Thanks
Thread Starter
Mxlaxe
(@mxlaxe)
Hi @amin7,
Thank you for your reply, that was helpful in understanding how BetterDocs work.
One more question, since my current docs are basically posts of type “docs” that behave like pages (they can have parent pages), would a database replace to whichever post type BetterDocs is do the trick or is it more complicated than that under the hood ?
Thanks!
Plugin Support
Amin
(@amin7)
Hi @mxlaxe
Greetings!
Well, I am not fully clear about your query – my current docs are basically posts of type “docs” that behave like pages – I guess its a custom post type you are reffering.
BetterDocs also a custom post type, but it doesn’t only rely on the post type — it also uses:
- Its own doc categories (taxonomies) for hierarchy and organization.
- Additional meta tables to store important information like analytics, user data etc
Now, if you want just change the post_type in the database from docs → betterdocs (via SQL search/replace). a direct database replace won’t give you the full BetterDocs functionality. The recommended and reliable approach is to use the BetterDocs CSV import option with proper format, which lets you bring your existing docs into BetterDocs in the right structure and format.
Thanks
Thread Starter
Mxlaxe
(@mxlaxe)
Okay that makes sense, thank you for the explanation. I’ll play with CSV feature and see what I can do !
Thanks!