@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