• Resolved andrew365

    (@andrew365)


    I’m on the General page of the settings for this plugin, by the “Media Library Categories. It’s asking me to define something different than categories in the Taxonomy slug. I’m trying to think of what this could be. I have created five different “blogs” within my site – not with cateogries, but with custom post types. So would I put “custom post types” or “custom-post-types” as the alternate to categories. I want to sort my pictures uploaded by the, I guess, Post-type.

Viewing 1 replies (of 1 total)
  • Plugin Author webbistro

    (@webbistro)

    @andrew365,

    Hi,

    No, your understanding of the concept of a slug is a little bit wrong. Let me explain.

    (1) EML’s options detailed description can be found here:
    Configuration: Media Library Options
    Configuration: Media Taxonomies

    (2) When you create a new taxonomy on Settings > Media > Media Taxonomies admin page, you have two fields Taxonomy Name and Rewrite Slug.

    Taxonomy Name refers to a name that will be used in WP code (functions and methods) to access your taxonomy. Taxonomy name reflects the taxonomy meaning usually, like “blog”, “genre”, “author”, “folder”, etc. It is by what you wish to categorize/classify your media files.

    EML does not provide any functionality to categorize media files by posts or post types. You cannot use your posts as a taxonomy with EML.

    The taxonomy name will be also used in a URL as a slug like this: yourdomain.com/?media_category=one or yourdomain.com/media_category/one/. Here media_category is the taxonomy name.

    Slug usually matches the name, but in case you wish your slug in the URL to be different, you can rewrite it with the field provided so that your URL will look different, for example: yourdomain.com/?mcat=one or yourdomain.com/mcat/one/. In this case, the slug is mcat but the taxonomy name is still media_category.

    I recommend using the same slug as a taxonomy name for consistency.

    Please feel free to ask for further assistance if you need it.

    Best,
    -Nadia

Viewing 1 replies (of 1 total)
  • The topic ‘just downloaded, need some clarification’ is closed to new replies.