[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.128.95.29: ~ $
<?php
add_filter( 'comment_form_fields', 'zilom_move_comment_field_to_bottom' );

function zilom_move_comment_field_to_bottom( $fields ) {
	$comment_field = $fields['comment'];
	unset( $fields['comment'] );
	$fields['comment'] = $comment_field;
	return $fields;
}

function zilom_comment_template($comment, $args, $depth) {
	$GLOBALS['comment'] = $comment; ?>
	<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
		
		<div id="comment-<?php comment_ID(); ?>" class="the-comment media-comment">
			
			<div class="media-comment-left">
				<div class="author-image"><?php echo get_avatar($comment,$size='48'); ?></div>
			</div>

			<div class="comment-box media-comment-body">  
				
				<div class="author-meta">
				  <?php printf('<cite class="fn">%s</cite>', get_comment_author_link()) ?>
				  <span class="comment-info">
					 <a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(esc_html__('%1$s', 'zilom'), get_comment_date()) ?></a>
				  </span>
				</div> 

				<?php if ($comment->comment_approved == '0') : ?>
				  <em><?php echo esc_html__('Your comment is awaiting moderation.', 'zilom') ?></em>
				  <br />
				<?php endif; ?>

				<div class="comment-body">
				  <?php comment_text(); ?>
				</div>

				<div class="comment-action-wrap">
					<?php 
					 	$title = '<i class="far fa-edit"></i>' . esc_html__('Edit', 'zilom');
					 	edit_comment_link($title,'  ', '');
						$args['reply_text'] = '<i class="far fa-comment-dots"></i>' . esc_html__('Reply', 'zilom');
					 	comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
				  	?>
				</div>

			</div>

		</div> 
	</li>  
<?php
}

function zilom_comment_form($arg, $class=''){
	ob_start();
	comment_form($arg);
	$form = ob_get_clean();
	echo str_replace('id="submit"','id="submit" class="btn '. esc_attr($class) . '"', $form);
}

Filemanager

Name Type Size Permission Actions
assets Folder 0755
customize Folder 0755
elementor Folder 0755
menu Folder 0755
options Folder 0755
tgmpa Folder 0755
tutor Folder 0755
woocommerce Folder 0755
comment.php File 1.93 KB 0644
metaboxes.php File 14.1 KB 0644
nsl.php File 4.28 KB 0644
template.php File 8.11 KB 0644
theme-functions.php File 8 KB 0644
theme-hook.php File 11.19 KB 0644
theme-layout.php File 6.85 KB 0644