示例#1
0
/**
 * Output the value of the reply to field
 *
 * @since bbPress (r4944)
 *
 * @uses bbp_get_form_reply_to() To get value of the reply to field
 */
function bbp_form_reply_to()
{
    echo bbp_get_form_reply_to();
}
示例#2
0
    bbp_topic_id();
    ?>
" class="bbp-reply-form">

		<form id="new-post" name="new-post" method="post" action="<?php 
    the_permalink();
    ?>
">

			<?php 
    do_action('bbp_theme_before_reply_form');
    ?>

			<fieldset class="bbp-form">
				<legend><?php 
    printf(esc_html__('Reply To: %s', 'bbpress'), bbp_get_form_reply_to() ? sprintf(esc_html__('Reply #%1$s in %2$s', 'bbpress'), bbp_get_form_reply_to(), bbp_get_topic_title()) : bbp_get_topic_title());
    ?>
</legend>

				<?php 
    do_action('bbp_theme_before_reply_form_notices');
    ?>

				<?php 
    if (!bbp_is_topic_open() && !bbp_is_reply_edit()) {
        ?>

					<div class="bbp-template-notice">
						<ul>
							<li><?php 
        esc_html_e('This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.', 'bbpress');