edit_post_link($text, $before . '<span class="edit-link">', '</span>' . $after); $link = ob_get_contents(); ob_end_clean(); return $link; } // Returns post reply link function stf_reply($atts) { global $post;
/** * Displays the HTML content for reply to post link. * * @since 2.7.0 * * @see get_post_reply_link() * * @param array $args Optional. Override default options, * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. * Default current post. * @return string|bool|null Link to show comment form, if successful. False, if comments are closed. */ function post_reply_link($args = array(), $post = null) { echo get_post_reply_link($args, $post); }
<span class="wpwb-tags-links wpwb-field-icon"> <?php the_tags(''); ?> </span> <br /> <?php } if ($unserialize_records['post']['hide_post_reply_link'] != 'true') { ?> <span class="wpwb-comments-link wpwb-field-icon"> <?php echo get_post_reply_link(); ?> </span> <br /> <?php } if ($unserialize_records['post']['hide_edit_post_link'] != 'true') { ?> <span class="wpwb-edit-link wpwb-field-icon"> <a href="<?php echo get_edit_post_link(); ?> ">Edit</a>