[theme-reviewers] Tinymce button that only adds css codes.. still plugin territory?
Ünsal Korkmaz
unsalkorkmaz at gmail.com
Sun Mar 3 19:21:44 UTC 2013
Its about choises.. As i give example before.. When i want 2 different
style button type link?
You can check examples here:
http://twitter.github.com/bootstrap/base-css.html#buttons
When you put "btn btn-primary" as class to <a> tag, it gets a color, when
you put "btn btn-success" as class to <a> tag, it gets another color. when
you put "btn btn-large" as class to <a> tag it becomes bigger. And when you
switch theme style from theme options, button colors are changing depending
on theme style.. example: http://bootswatch.com/slate/#buttons
Those are defined styles but i cant/shouldnt predict what type of button is
user want.
On Sun, Mar 3, 2013 at 9:15 PM, Chip Bennett <chip at chipbennett.net> wrote:
> All of those uses of an anchor link can already be styled by the Theme,
> without the need for <span class="foobar"></span> wrappers.
>
> The question we're asking is why does *your Theme* need the user to inject
> a button link into the post content? If YOUR THEME does not have a
> *specific purpose* for injecting a button link into the post content, then
> injection of an arbitrary button link for an arbitrary purpose is outside
> the scope of the Theme.
>
>
> On Sun, Mar 3, 2013 at 2:07 PM, Ünsal Korkmaz <unsalkorkmaz at gmail.com>wrote:
>
>> "can be anything" = Plugin territory.
>> I cant say purpose of <a> tag mate.. come on.. am i in a dream? are u
>> asking me purpose of <a> tag?
>> what can i say?
>>
>> - user can link to his company website
>> - user can link to his product
>> - user can link to a kitty picture
>> - etc..
>>
>> Seriously i didnt understand question in there i think
>>
>> On Sun, Mar 3, 2013 at 9:04 PM, Chip Bennett <chip at chipbennett.net>wrote:
>>
>>> "can be anything" = Plugin territory.
>>>
>>>
>>> On Sun, Mar 3, 2013 at 1:59 PM, Ünsal Korkmaz <unsalkorkmaz at gmail.com>wrote:
>>>
>>>> Tinymce button is just adding "btn" class to <a> tag when click.
>>>> But i think Chip was asking button purpose on post content which can be
>>>> anything (promotion etc)
>>>>
>>>>
>>>> On Sun, Mar 3, 2013 at 8:36 PM, Otto <otto at ottodestruct.com> wrote:
>>>>
>>>>> On Sun, Mar 3, 2013 at 11:13 AM, Ünsal Korkmaz <unsalkorkmaz at gmail.com>
>>>>> wrote:
>>>>> >> What is the purpose of that button?
>>>>> >
>>>>> > That can be anything.
>>>>>
>>>>> He wasn't asking about general HTML theory and the generic idea of
>>>>> "buttons".
>>>>>
>>>>> What does YOUR button do, in your theme? Specifically. What class does
>>>>> it add? What wrapper does it add? Why does it do that? Why does YOUR
>>>>> theme have or need a button?
>>>>>
>>>>> The answers to these questions *do matter*, You're not going to get a
>>>>> generic response saying "all buttons are okay" because not all buttons
>>>>> are okay. But some might be, depending on their purpose.
>>>>>
>>>>> Forget the general question. Answer the specific one for YOUR specific
>>>>> needs.
>>>>>
>>>>> -Otto
>>>>> _______________________________________________
>>>>> 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
>>
>>
>
> _______________________________________________
> 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/20130303/bbf1b0f1/attachment.htm>
More information about the theme-reviewers
mailing list