thanks for the question, do you mean automatically or like a manual process? If you could describe a bit more I could think about possible solutions.
I see the imported files, but I would like to create a of copy them in the main Pages or Posts area, so they look like regular pages or posts. Manual or automatic is fine.
Thanks.
-
This reply was modified 1 month, 1 week ago by
ejnwebmaster.
Following up, I installed the Post Type Switcher, and all is fine.
Thanks, again!
Oh nice, I must try that out too.
I looked at the code and it wouldbe possible to have options or filters but it is great there is a way of doing what you need.
It was a gamble. I knew about the plugin, but wasn’t sure if it worked for database entries other than “posts” and “pages”, but it turns out that it detects your “html_files”, too, so it was easy to use that tool to assign database records to the proper category, which helps with the navigation block in WP.
You might also consider having the HTML_Files be recognized by the Navigation block, but this option is quite easy to implement, so don’t rush to change your code. Just let folks know that there’s a plugin that will do the job, if needed.
All the best!