WordPress.org

Ready to get started?Download WordPress

Forums

Save Custom HierarchicalTaxonomy using checkboxes (1 post)

  1. Pathaksa
    Member
    Posted 2 years ago #

    I have a custom hierarchical taxonomy named "Job Categories".

    array( APP_POST_TYPE ),
                array('hierarchical' => true,
                        'labels' => array(
                                'name' => __( 'Job Categories', 'appthemes'),
                                'singular_name' => __( 'Job Category', 'appthemes'),
                                'search_items' =>  __( 'Search Job Categories', 'appthemes'),
                                'all_items' => __( 'All Job Categories', 'appthemes'),
                                'parent_item' => __( 'Parent Job Category', 'appthemes'),
                                'parent_item_colon' => __( 'Parent Job Category:', 'appthemes'),
                                'edit_item' => __( 'Edit Job Category', 'appthemes'),
                                'update_item' => __( 'Update Job Category', 'appthemes'),
                                'add_new_item' => __( 'Add New Job Category', 'appthemes'),
                                'new_item_name' => __( 'New Job Category Name', 'appthemes')
                        ),
                        'show_ui' => true,
                        'query_var' => true,
    					'update_count_callback' => '_update_post_term_count',
                        'rewrite' => array( 'slug' => $cat_tax_base_url, 'hierarchical' => true ),
                )
        );

    How do I save these values using checkboxes in the front-end using custom scripting instead of the Dashboard?

Topic Closed

This topic has been closed to new replies.

About this Topic