O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Hooking into Comments
    comment_form() is your friend
The Old
kubric
kubric
r13029
r13029
Can We Make This Better?
D.R.Y.
D.R.Y.
o
n
‘
t
D.R.Y.
o e
n   p
‘   e
t   a
    t
D.R.Y.
o e o
n   p   u
‘   e   r
t   a   s
    t   e
        l
        f
The New
r13029
•   Replying to another comment
•   Comments open/closed?
•   Registration Required?
    •   wp_login_form()!
•   User Log...
But I want to...
Filters
comment_form_default_fields
   comment_form_defaults
  comment_form_logged_in
comment_form_field_{$name}
title_reply
                                                             Filters
                                         ...
Actions
     comment_form_before
comment_form_must_log_in_after
       comment_form_top
 comment_form_logged_in_after
  co...
comment_form_before
                            Actions

comment_form_before_fields




comment_form_after_fields




     c...
Visual
Functional
FREE Set of Steak
    Knives!!!
d) All of the above
Ideas?
Questions?
Beau Lebens
    @beaulebens
beau@automattic.com
 dentedreality.com.au
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Hooking into Comments
Próximos SlideShares
Carregando em…5
×

Hooking into Comments

9.670 visualizações

Publicada em

Publicada em: Tecnologia
  • @riscphree: I included a link to download the PDF version on my site: http://dentedreality.com.au/2010/08/wordcamp-savannah-2010/
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui
  • Any chance on getting this in PPT or something for us Windows users? Absolutely no way to get Keynote files to run afaik.
       Responder 
    Tem certeza que deseja  Sim  Não
    Insira sua mensagem aqui

Hooking into Comments

  1. 1. Hooking into Comments comment_form() is your friend
  2. 2. The Old
  3. 3. kubric
  4. 4. kubric
  5. 5. r13029
  6. 6. r13029
  7. 7. Can We Make This Better?
  8. 8. D.R.Y.
  9. 9. D.R.Y. o n ‘ t
  10. 10. D.R.Y. o e n p ‘ e t a t
  11. 11. D.R.Y. o e o n p u ‘ e r t a s t e l f
  12. 12. The New
  13. 13. r13029
  14. 14. • Replying to another comment • Comments open/closed? • Registration Required? • wp_login_form()! • User Logged In? • Previously entered name/email/URL • Standardized actions/filter
  15. 15. But I want to...
  16. 16. Filters comment_form_default_fields comment_form_defaults comment_form_logged_in comment_form_field_{$name}
  17. 17. title_reply Filters comment_notes_before { comment_form_default_fields } comment_field comment_notes_after label_submit
  18. 18. Actions comment_form_before comment_form_must_log_in_after comment_form_top comment_form_logged_in_after comment_form_before_fields comment_form_after_fields comment_form comment_form_after comment_form_comments_closed
  19. 19. comment_form_before Actions comment_form_before_fields comment_form_after_fields comment_form comment_form_after
  20. 20. Visual
  21. 21. Functional
  22. 22. FREE Set of Steak Knives!!!
  23. 23. d) All of the above
  24. 24. Ideas?
  25. 25. Questions?
  26. 26. Beau Lebens @beaulebens beau@automattic.com dentedreality.com.au

×