Set a category to a post programatically
in my blog users without registration can make posts. I use a special plugin in wich you can design your post form. In this form I have a selection box(with all the categories present) in wich the user can select the category of its post.
My problem is that I don’t know how can I set this category to this post programatically.Do you know the command(sequence of commands) that allows me to do that?
Please help me, it will be very helpfull for my blog
Thanks a lot
- The topic ‘Set a category to a post programatically’ is closed to new replies.