Simple method to generate posts from files

One way is to have the posts in a Json format, and use wp_insert_post(); to automatically create the posts.

documentation: https://developer.wordpress.org/reference/functions/wp_insert_post/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)