<?php independent_publisher_posted_author_bottom_card(); ?> <footer class="entry-meta"> <?php do_action('independent_publisher_entry_meta_top'); ?> <?php if (comments_open() && !independent_publisher_hide_comments()) { ?> <div id="share-comment-button"> <button> <i class="share-comment-icon"></i><?php echo independent_publisher_comments_call_to_action_text(); ?> </button> </div> <?php } ?> <?php edit_post_link(__('Edit', 'independent-publisher'), '<span class="edit-link">', '</span>'); ?> </footer> <!-- .entry-meta --> </article><!-- #post-<?php the_ID();
/** * Recreates the comment form textarea HTML for reinclusion in comment form */ function independent_publisher_add_textarea() { echo '<div id="main-reply-title"><h3>' . independent_publisher_comments_call_to_action_text() . '</h3></div>'; echo '<div class="comment-form-reply-title"><p>' . __('Comment', 'independent-publisher') . '</p></div>'; echo '<p class="comment-form-comment" id="comment-form-field"><textarea id="comment" name="comment" cols="60" rows="6" aria-required="true"></textarea></p>'; }