Functions : Colon Error
-
Parse error: syntax error, unexpected ‘:’ in /wp-content/themes/test/functions.php
The code it’s referring to is:
<?php if($args['type'] == 'all' || get_comment_type() == 'comment') : comment_reply_link(array_merge($args, array( 'reply_text' => __('Reply','clean'), 'login_text' => __('Log in to reply.','clean'), 'depth' => $depth, 'before' => '<div class="comment-reply-link">', 'after' => '</div>' ))); endif; ?>
For the life of me I cannot figure out what’s wrong with the syntax.
Thanks, Bryan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Functions : Colon Error’ is closed to new replies.