I´m designing my ow own theme and would like to have a customized “Reply Comment” link. When I put this chunk of code, for showing the reply comments link, (<?php comment_reply_link(array_merge( $args, array(‘reply_text’ => ‘Atsakyti’ ,’depth’ => $depth, ‘max_depth’ => $args[‘max_depth’]))) ?>) I get this message. The message appears each time the loop is running.
How can I fix it?
Another thing: When I put only comment_reply_link(); I get nothing.
The message is WARNING: ARRAY_MERGE() [FUNCTION.ARRAY-MERGE]: ARGUMENT #1 IS NOT AN ARRAY IN C:\WAMP\WWW\WORDPRESS\WP-CONTENT\THEMES\NICOLASGOLUB\COMMENTS.PHP ON LINE 8
Viewing 1 replies (of 1 total)
The topic ‘Custom "Reply Comment" Link don't work’ is closed to new replies.
(@flipus)
11 years, 1 month ago
Hi,
I´m designing my ow own theme and would like to have a customized “Reply Comment” link. When I put this chunk of code, for showing the reply comments link, (<?php comment_reply_link(array_merge( $args, array(‘reply_text’ => ‘Atsakyti’ ,’depth’ => $depth, ‘max_depth’ => $args[‘max_depth’]))) ?>) I get this message. The message appears each time the loop is running.
How can I fix it?
Another thing: When I put only
comment_reply_link();
I get nothing.Here is a screenshot.
And the code for comments.php
Thanks in advance.