Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add link to cancel comment (add/edit)
- Loading branch information
1 parent
c7d6362
commit 935418e
Showing
7 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* This template is used for displaying comment form. | ||
* | ||
* @link http://anspress.io | ||
* @since 2.4 | ||
*/ | ||
?> | ||
<div class="ap-comment-submit"> | ||
<input type="submit" value="<?php _e( 'Comment', 'ap' ); ?>" name="submit"> | ||
<a href="#" data-action="cancel-comment" data-id="<?php echo $comment_post_ID; ?>"><?php _e( 'Cancel', 'ap' ); ?></a> | ||
</div> | ||
<div class="ap-comment-textarea"> | ||
<textarea name="comment" rows="3" aria-required="true" id="ap-comment-textarea" class="ap-form-control autogrow" placeholder="<?php _e( 'Respond to the post.', 'ap' ); ?>"><?php echo $content; ?></textarea> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters