Post_Category is not working with FAQ
-
Hi,
Thanks for your plugin. Its looks like working pretty. What i have a problem is.
‘post_title’ => $title,
‘post_content’ => $description,
‘post_category’ => array($_POST[‘cat’]), // Usable for custom taxonomies too
‘tags_input’ => $tags,
‘post_status’ => ‘pending’,
‘post_type’ => ‘faq’, //’post’,page’ or use a custom post type if you want to
‘post_author’ => $authorid //Author IDIn the above code, When i am using with post_type =>”post” its adding new post to my “Article” page with correct categories name.
But i really wanna to post the form into “FAQ” of “arconix-faq” plugin. I tired with the above code its creating a new FAQ inside that plugin. But categories name is blank.
Can you please tell me what is ‘post_category’ => array($_POST[‘cat’]), type for FAQ
Thanks,
Rajesh
- The topic ‘Post_Category is not working with FAQ’ is closed to new replies.