I’m trying to upload a lot of information from a csv file & to have wordpress create a post from each row, which contain the title, description, etc.
The problem that I have is that all posts are assigned to the default category (the “unassigned” one when you create wordpress).
I’m guessing that this is because the php I’m trying to use below uses “post_category” which is no longer supported, so my question is what do I replace this “post_category” line with in order to make it work – I can’t get my head around the new taxonomy structure.
Can anyone help please???
The full code:
moderate code pasted at http://wordpress.pastebin.ca/1299010
Many Thanks in advance!
- The topic ‘how to upload multiple posts & assign them to categories?’ is closed to new replies.