1

I have tried both plugin to make Category's Description field as editor with below plugin. but when i update the text it's remove

tag

http://wordpress.org/plugins/rich-tax-description-editor/ http://wordpress.org/plugins/categorytinymce/

tried google also but din't help

0
1

How are you outputting the category description? You might need to use something like apply_filters('the_content', category_description( $category_id )); or wpautop(category_description( $category_id )); to have paragraphs in the output.

Edit: Adding what you had in JSFiddle - note where $term->description is, I wrap it in wpautop. See if that works. If not, try apply_filters('the_content', $term->description) instead:

<?php                   
            $taxonomies=  array('taxonomy'=>'area-type');
            $terms = get_terms($taxonomies,'orderby=id&hide_empty=0');
            $count = count($terms);
            if ($count > 0) {
                    foreach ($terms as $term) {

                        $id = str_replace("#","",$term->slug);
                        $term_desc .= '<div id="nav_menu_desc_' . $id . 
                        '" class="section hidden formateIt">' . 
                        wpautop($term->description) .'</div>';    
                    }                  
                        echo $term_desc ;   
            }   ?> 
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.