WordPress.org

Ready to get started?Download WordPress

Forums

Frontier Post
[resolved] Category select with checkbox (4 posts)

  1. crynos
    Member
    Posted 9 months ago #

    Hi, great plugin. I wonder how can i change the category selection to checkbox on my write post page. Can someone help me ?

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

  2. finnj
    Member
    Plugin Author

    Posted 9 months ago #

    You need to change the call to wp_category_dropdown, to wp_category_checklist in the frontier_form in forms directory

    Works if you have a small number of categories, or limit the list and most likely you will have to add some styling, it tends to look ugly....

  3. crynos
    Member
    Posted 9 months ago #

    Sorry.. i'm new in worpress... i have wp_dropdown_categories not wp_category_dropdown ... line 252

    wp_dropdown_categories(array('id'=>'cat', 'hide_empty' => 0, 'name' => 'cat', 'orderby' => 'name', 'selected' => $postcategoryid, 'hierarchical' => true, 'show_option_none' => __('None')));
    }

    well.. its the 1 step... worked. Do you know how to ident it? i mean:

    This plugin do almost all i need. But i need to exclude the Excerpt and Tag fields from the post page. Its posible ?

    - Category 1 Title (not selectable)
    - Option 1
    - Option 2
    - Option 3

    - Category 2 Title (not selectable)
    - Option 1
    - Option 2
    - Option 3

  4. finnj
    Member
    Plugin Author

    Posted 9 months ago #

    You can hide/exclude tags and exerpts by changing the settings for Frontier Post in the admin menu: settings/Frontier Post

    I don't think you can indent using the function, option could be to build you own structure as I do with $catlist and the foreach loops, and then output it.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.