0

I have a question and answer site like ask.fm. On ask.fm when you register a new account you found that you have 6 questions (posts).

I need to make the same. Whenever a user registers I need to add 6 different posts for this user.

I failed to call wp_insert_post more than one time.

  • Show us what you have tried. – Milo Dec 16 '17 at 1:38
  • @Milo i try to insert wp_insert_post 6 times but sure this is not professional. – Michel Dec 16 '17 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.