[theme-reviewers] Theme text domain and function name prefix

Edward Caissie edward.caissie at gmail.com
Sat Jul 27 13:13:45 UTC 2013


I would still lean towards the general rule of thumb as Theme Name ~> theme
slug = prefix = textdomain to maintain a consistency within the project's
code.

Edward Caissie
aka Cais.


On Sat, Jul 27, 2013 at 6:55 AM, Thomas from ThemeZee
<contact at themezee.com>wrote:

> Author slug as function prefix should be fine. Beside the unique text
> domain the handle (name of stylesheet) used in wp_register_style should
> also be unique. Can cause some problems with child themes if you use the
> author slug there and the user has multiple themes of your theme shop
> installed.
>
>
> 2013/7/27 Emil Uzelac <emil at uzelac.me>
>
>> There you go :-) I was thinking that some special case Themes do that,
>> but I was wrong.
>> On Jul 27, 2013 3:06 AM, "Otto" <otto at ottodestruct.com> wrote:
>>
>>> Function prefix, sure. Text domain, no. This should be unique. Prefix
>>> the text domain if you like.
>>>
>>> -Otto
>>>
>>>
>>> On Sat, Jul 27, 2013 at 1:34 AM, Srikanth Koneru <tskk79 at gmail.com>
>>> wrote:
>>> > Can the text domain and function prefix be same for all my themes and
>>> can it
>>> > possibly be my theme shop name?
>>> > It will be easy to maintain themes and create new ones.
>>> >
>>> > _______________________________________________
>>> > theme-reviewers mailing list
>>> > theme-reviewers at lists.wordpress.org
>>> > http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>> >
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> 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/20130727/d6b9caa3/attachment.html>


More information about the theme-reviewers mailing list