[theme-reviewers] Question regarding theme slugs

Edward Caissie edward.caissie at gmail.com
Mon Jun 13 19:55:37 UTC 2011


Ahh, so from my example you would like to see something like "dmm_multi_"
rather than "desk_mess_mirrored_multi_" which I would agree with, but
textdomain and namespacing prefixes' have been allowed to use more sensible
shortened version such as "dmm_" as a prefix for the Desk Mess Mirrored
theme; but, keep in mind the shorter the prefix the higher the risk of
conflict and collision.

Also, a Child-Theme would likely be over-writing a function call of the
Parent's in most cases; I would not expect it to be specifically prefixed in
reference to the Child-Theme itself. Although I imagine there would be
use-cases where the Child-Theme is introducing new functions, those IMHO
should be prefixed specifically to the Child-Theme and not carry a reference
to the Parent-Theme.

I see the Parent-Child relationship in this case as strictly one way, so the
Child-Theme has little need to reference new functions back to the Parent as
the Parent-Theme would not be making any use of them to begin with.


Cais.

PS: I feel like I'm rambling ... hopefully I am not (*grin*). EAC


On Mon, Jun 13, 2011 at 3:20 PM, Doug Stewart <zamoose at gmail.com> wrote:

> On Mon, Jun 13, 2011 at 3:03 PM, Edward Caissie
> <edward.caissie at gmail.com> wrote:
> >
> > Perhaps I am not understanding the utility you are trying to achieve or
> > explain? What are you using the "slug" for, maybe there is another method
> > that will work?
>
> It's partly an aesthetics thing, partly a sanity thing, partly a utility
> thing.
>
> I'd like my theme slug to match my standard function/variable
> namespacing prefix and really don't want to have to type a
> multi-word-hyphenated-mess before everything in order to maintain
> consistency.
>
> --
> -Doug
> @zamoose
> http://literalbarrage.org/blog/
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110613/0422f7e1/attachment.htm>


More information about the theme-reviewers mailing list