Rich Category Editor

Grazie a questo plugin è possibile aggiungere l’editor TinyMCE anche alle pagine di modifica categoria e tag all’interno di WordPress.

Scaricabile da qui:

http://www.andreapernici.com/rich-category-editor.zip

oppure dal codex qui:

http://wordpress.org/extend/plugins/rich-category-editor/

Versione 1.0.2

22 Risposte so far.

  1. Teodoro scrive:

    Buongiorno Andrea,
    La domanda è banalissima, davvero, ma è che non ho capito se questo plugins possa servire al mio bisogno, mi spiego :-)

    Io ho un Blog che parla di orologi, dove ho creato qualcosa come oltre 200 categorie (corrispondenti ad ogni marchio di cui abbiamo recensito o scritto)

    In questi giorni stiamo creando delle pagine (senza che ci giro tanto intorno, è un discorso di SEO) e vorrei capire questo plugins se mi permette di inserire tag come si fa per gli articoli, e quali sono le altre funzioni.
    Scusami davvero per la domanda banalissima, ma dalla descrizione non capisco.

    Buon tutto
    Teodoro

  2. Ciao Teodoro.

    Questo plugin ti permette semplicemente di aggiungere TinyMCE all’area di testo presente nelle pagine di modifica categoria e tags all’interno del pannello admin. Un plugin che può servire solo in rari casi quando ad esempio si ha l’esigenza di avere delle categorie con delle descrizioni formattate in html.

  3. Max Bond scrive:

    Hi Andrea!
    Good plugin!
    But I want to suggest some improvements:
    1. Add
    remove_filter(‘pre_term_description’, ‘wp_filter_kses’);
    function to plugin activation section. It switchs off filters that strips out img tags from cat/tag description when saving it to db.
    2. To the RichCategoryEditor class add
    function display_desc() {
    if (is_tax() || is_tag() || is_category()) {
    global $wp_query;
    $term = $wp_query->get_queried_object();
    $taxonomy = $term->taxonomy;
    $term = $term->term_id;
    $term = get_term( $term, $taxonomy );
    echo $term->description.”.PHP_EOL;
    }
    }
    This function must be used in templates files to display cat/tag description. It aloows to bypass wp output filters wich also strips some tags.
    In result you’ll be able to insert images and other advanced html to cat/tag description. I have tested this functions on WP 2.9!

  4. Thanks Max…I’m going to cut and paste your code soon and credits you…or if you want send me the modified code so I can upgrade immediately.
    Thanks.

  5. Damiano scrive:

    Ciao Andrea,

    un bel plugin, secondo me l’unica pecca è l’assenza del tasto per fare l’upload dei media (come su qualsiasi articolo o pagina).
    Confido in un prossimo aggiornamento!

    Intanto grazie per l’ottimo lavoro.

    Damiano

  6. @Damiano grazie mille…nella prossima vediamo se riesco a farlo.

  7. Fabio Ricotta scrive:

    Hi Andrea,

    I would like to suggest you to add a HTML tab in this plugin, like we have the Visual and HTML tab when we are writing posts. Is it possible?

  8. Ok @Fabio…as soon as possible;)

  9. In wp-2.9.1 no work. i´m not view the html editor in category / tags page

  10. Hi @Armando Beltrán and Welcome. I see all working in my 2.9.1 ! Try editing a category that already exists.

  11. Yes, the plugin work fine in my home, but not in my office. I don´t know what occurred.

  12. Virendar scrive:

    Hey I have the newest version wordpress and I activated this plugin. I go to my category page and I see no editor for category description :(

    Can I gave you admin login account to my test wp and maybe you can see what is wrong ?

    Please email me Armando @ virendar1515 [at] yahoo.ca

    also reply here so I know you email :)

  13. André scrive:

    Hi, Andrea the plugin is very nice, but i can manage to display the descripition in the Category Archive, i paste the code RichCategoryEditor::display_desc()

    in archive.php of my template, but nothing happens. Thanks

  14. Hi André I’m gonna test this problem.
    Thanks.

  15. Daman scrive:

    This does not work on 2.9.2

  16. Daman scrive:

    Well I install and Activate the Plugin.

    I go to a category, click Edit, and here is the page, no rich editor option.
    http://i47.tinypic.com/2v83ksj.png

  17. Andy Stekov scrive:

    Hello Andrea.

    I’ve installed TinyMCE Advanced, but category description representing TinyMCE.

    What about TinyMCE Advanced?

  18. Thomas scrive:

    Wonderful plugin, thank you!
    In my case (2.9.2) I found that I also needed to install the Plugin “Allow HTML in Category Description”, otherwise the HTML formatting will be filtered out. Available for download at http://wordpress.org/extend/plugins/allow-html-in-category-descriptions/
    I have two questions at this point:
    a) How can I enter HTML mode so that I can format the category description with CSS styles? In your screenshot at http://twitpic.com/15hkjs/full you have an editor with an “HTML” button, in WP 2.9.2 there is a tab to switch betwenn HMTL and Visual mode. This tab is missing in the editor that is featured in your plugin. Any idea what I could do?
    b) When inserting images, I have to manually insert the image URLs. Is there any way to connect the editor with the image uploader?
    Help would be greatly appreciated

Leave a Reply