WordPress.org

Ready to get started?Download WordPress

Forums

Frontier Post
[resolved] Restrict front-end user posts to default category (5 posts)

  1. wsiebold
    Member
    Posted 10 months ago #

    I would like to restrict the multi-selection of categories (actually eliminate it) and only allow posts submitted via the Frontier Post front-end to be assigned the default category.

    I am looking at the plugin code and have some ideas on how to proceed, but would like your input. It seems to me that modifying code in the frontier_form.php file would do the trick ... ?

    Do you have suggestions?

    Thanks

    http://wordpress.org/extend/plugins/frontier-post/

  2. finnj
    Member
    Plugin Author

    Posted 10 months ago #

    I only have access to an iPad right now, but will look into it later during the weekend

    I believe the esiest for you is to add readonly to the html select statement for categorymulti:

    <select name="categorymulti[] " readonly

    I cant test it, but it should work, as WP would fill in the default category, if no category is selected, during save.

    I might consider this as a parameter in the settings

  3. wsiebold
    Member
    Posted 10 months ago #

    That should work. I'll give it a try a bit later today and check back in.

  4. finnj
    Member
    Plugin Author

    Posted 10 months ago #

    In the new version (1.4.8) you can hide category, and the post will automatic be set to the default category

  5. wsiebold
    Member
    Posted 10 months ago #

    Just updated - works exactly like I want it to. Thanks. Nice plugin. Very straightforward and dependable.

    Thanks again,

    Bill

Reply

You must log in to post.

About this Plugin

About this Topic