• javierrguez

    (@javierrguez)


    Funciona perfectamente y es fácil de usar. Para hacer que no use las categorías de las entradas y use categorías propias, hay que a?adir lo siguiente en tu fichero functions.php:

    /**
    * separate media categories from post categories
    * use a custom category called ‘category_media’ for the categories in the media library
    */
    add_filter( ‘wpmediacategory_taxonomy’, function(){ return ‘category_media’; } ); //requires PHP 5.3 or newer

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jeffrey-wp

    (@jeffrey-wp)

    Hi, I’ve translated your post to English and your complaint is that the categories are not seperated from the default WordPress categories. As you can read in the faq this is possible with the following code. You can place this code in functions.php of your (child-)theme.

    /**
    * separate media categories from post categories
    * use a custom category called 'category_media' for the categories in the media library
    */
    add_filter( 'wpmediacategory_taxonomy', function(){ return 'category_media'; } ); //requires PHP 5.3 or newer

    Please next time use the support forum. And please update your star rating. Thank you.

    Thread Starter javierrguez

    (@javierrguez)

    I tried it again and it works as expected. Thanks and sorry. Greetings.

    stafmans

    (@stafmans)

    Nice, Jeffrey, the effort you took translating. Pity the initial poster did not to the same in order to get free support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Usa las categorías del sistema’ is closed to new replies.