display category taxonomy on wordpress -


I found this code at designorbital.com. This code is working great, but my problem is how can I display those custom feilds?

Please help people !!! I am starting with WordPress

   & Lt; P class = "description" & gt; Enter a custom order value. & Lt; / P & gt; & Lt; / Div & gt; & Lt ;? Php} function category_form_custom_field_edit ($ Tag, $ classification) {$ option_name = 'category_gig_order_' $ Tag- & gt; Term_id; $ Category_custom_order = get_option ($ option_name); ? & Gt; & Lt; Tr class = "form-field" & gt; & Lt; Th scope = "line" valign = "top" & gt; = "Category_custom_order" & gt; for label Value & lt; / Label & gt; & Lt; / Th & gt; & Lt; TD & gt; & Lt; Input type = "text" name = "category_custom_order" id = "category_custom_order" value = "& lt ;? Php echo esc_attr ($ category_custom_order)? Esc_attr ($ category_group_order_order): '';? & Gt;" Size = "40" area-required = "true" /> & Lt; P class = "description" & gt; Enter a custom order value. & Lt; / P & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt ;? Php} / ** Save Custom Fields of Category * / add_action ('created_category', 'category_form_custom_field_save', 10, 2); Add_action ('edited_category', 'category_form_custom_field_save', 10, 2); Function category_form_custom_field_save ($ term_id, $ tt_id) {if (isset ($ _POST ['category_custom_order'])) {$ option_name = 'category_custom_order_' $ Term_id; Update_option ($ option_name, $ _POST ['category_custom_order']); }}  


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -