Advertisement
Guest User

Untitled

a guest
Feb 4th, 2014
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. //DO pliku functions.php dodajesz:
  2.  
  3. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
  4.  
  5. /* W PLIKU comments.php WYSTARCZY PODSTAWOWE WYWOŁANIE FUNKCJI wp_list_comments()
  6. >> http://codex.wordpress.org/Function_Reference/wp_list_comments
  7.  
  8. JEŻELI KORZYSTA ONA Z CALLBACKA, TO TRZEBA W JEGO KODZIE DOPISAĆ SOBIE TAKI KAWAŁECZEK: */
  9.  
  10. <div class="reply">
  11. <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
  12. </div>
  13.  
  14. /* PRZYKŁAD JEST W: >> http://codex.wordpress.org/Function_Reference/wp_list_comments#Comments_Only_With_A_Custom_Comment_Display
  15.  
  16. MOŻNA TEŻ PODGLĄDNĄĆ W JAKIMŚ MOTYWIE NP. Z SERII TWENTY */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement