Asign category to each form for "standard" wordpress posts.

This topic contains 5 reply and 3 voices, and was last updated by Tareq Hasan 11 years ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
April 25, 2013 at 10:42 pm 2874
Tareq Hasan Hello! At the moment I'm using the free version ( http://wordpress.org/extend/plugins/wp-user-frontend/ v 1.2) for standard wordpress posts. I have a few categories and I'm letting the users pick the category where they want to post from the front end. Now I need to create multiple forms, each one for a particular category that I will define in advance. So the frontend form will have just post title and post content, without letting the users pick or switch the category. I've been looking around the demo for the pro version but things look really different and I can't see the option to add a predefined category for a form made for a post, like on the free version. What sould I do? I don't need any other functions, I just need more forms with the exact functionality of the free version.   THX !!
April 26, 2013 at 12:02 am 2877
Tareq Hasan Tareq Hasan

Hi,

Right now, there is no settings for choosing default category for forms. But with some help of code, you can do that. I’ve already provided some code examples for other users who want’s the same thing. You can’t see them right now.

I am also thinking to get back this option (can’t say when). But you can temporarily choose the codes to solve the problem.

April 27, 2013 at 4:02 am 2925
hughs hughs

Hello,

I have the same exact requirements as Julian. I need to create multiple front end post forms for separate pre-defined categories. I noticed in the demo that in the Form Editor in the Category section there is an “Exclude Terms” field. Can you explain if this field can be used to exclude categories? If so do you place the category slugs in this field?

If not, can you let us know how difficult it is to create separate forms to display predefined categories. Gravity forms provides a list of your categories to chose from in post forms which is nice. Unfortunately you cannot edit Gravity Forms in the front end.

Thanks

Hugo

April 27, 2013 at 7:08 am 2926
Tareq Hasan Tareq Hasan

An update is coming to the plugin today as version 2.1.4. Now a default category can be set in a form.

If you want to remove some categories from the category dropdown, those category ID’s need to be inserted to the exclude list. Those categories will not be visible in frontend form.

April 27, 2013 at 8:01 pm 2943
hughs hughs

Thanks a lot. I found the category IDs and tested it out and it works great! Much obliged.
Hugo

April 28, 2013 at 1:58 am 2947
Tareq Hasan Tareq Hasan

The default post category feature has landed in version 2.1.4 🙂

Viewing 5 Posts - 1 through 5 (of 5 total)