Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //DO pliku functions.php dodajesz:
- if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
- /* W PLIKU comments.php WYSTARCZY PODSTAWOWE WYWOŁANIE FUNKCJI wp_list_comments()
- >> http://codex.wordpress.org/Function_Reference/wp_list_comments
- JEŻELI KORZYSTA ONA Z CALLBACKA, TO TRZEBA W JEGO KODZIE DOPISAĆ SOBIE TAKI KAWAŁECZEK: */
- <div class="reply">
- <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
- </div>
- /* PRZYKŁAD JEST W: >> http://codex.wordpress.org/Function_Reference/wp_list_comments#Comments_Only_With_A_Custom_Comment_Display
- MOŻNA TEŻ PODGLĄDNĄĆ W JAKIMŚ MOTYWIE NP. Z SERII TWENTY */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement