当前位置: 首页>>代码示例>>PHP>>正文


PHP bbp_the_content函数代码示例

本文整理汇总了PHP中bbp_the_content函数的典型用法代码示例。如果您正苦于以下问题:PHP bbp_the_content函数的具体用法?PHP bbp_the_content怎么用?PHP bbp_the_content使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了bbp_the_content函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: do_action

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

				<div>

					<?php 
    bbp_get_template_part('form', 'anonymous');
    ?>

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

					<?php 
    bbp_the_content(array('context' => 'reply'));
    ?>

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

					<?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>

						<p class="form-allowed-tags">
							<label><?php 
        esc_html_e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'monsoon');
        ?>
</label><br />
开发者ID:estrategasdigitales,项目名称:flazam,代码行数:31,代码来源:form-reply.php

示例2: bbp_title_max_length

    bbp_title_max_length();
    ?>
" placeholder="<?php 
    printf(__('Topic Title (Maximum Length: %d):', 'bbpress'), bbp_get_title_max_length());
    ?>
"/>
                        </p>
                        <?php 
    do_action('bbp_theme_after_topic_form_title');
    ?>

                        <?php 
    do_action('bbp_theme_before_topic_form_content');
    ?>
                        <?php 
    bbp_the_content(array('context' => 'topic', 'tinymce' => true, 'media_buttons' => true));
    ?>
                        <?php 
    do_action('bbp_theme_after_topic_form_content');
    ?>

                        <?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>
                            <p class="form-allowed-tags">
                                <label><?php 
        _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress');
        ?>
</label><br />
                                <code><?php 
        bbp_allowed_tags();
开发者ID:dmitry-korolev,项目名称:arreat,代码行数:31,代码来源:form-topic.php

示例3: bbp_title_max_length

" size="40" name="bbp_topic_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'topic'));
    ?>

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

					<?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>

						<p class="form-allowed-tags">
							<label><?php 
        _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress');
        ?>
</label><br />
开发者ID:severnrescue,项目名称:web,代码行数:31,代码来源:form-topic.php

示例4: do_action

					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
					    </div>
						<div class="col-xs-12 col-sm-7 col-md-7">
                    <?php 
    }
    ?>

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

					<?php 
    bbp_the_content(array('context' => 'reply', 'tinymce' => true));
    ?>

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

					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
                            </div><!-- col-xs-12 col-sm-8 col-md-8 -->
                          </div><!-- row -->
                    <?php 
    }
    ?>
开发者ID:paulmedwal,项目名称:edxforumspublic,代码行数:29,代码来源:form-reply.php

示例5: bbp_title_max_length

" size="40" name="bbp_forum_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'forum'));
    ?>

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

					<?php 
    if (!(bbp_use_wp_editor() || current_user_can('unfiltered_html'))) {
        ?>

						<p class="form-allowed-tags">
							<label><?php 
        _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'bbpress');
        ?>
</label><br />
开发者ID:severnrescue,项目名称:web,代码行数:31,代码来源:form-forum.php

示例6: bbp_form_topic_title

					<label for="bbp_topic_title"><i class="fa fa-bookmark"></i>Topic Title:</label>
					<input type="text" id="bbp_topic_title" value="<?php 
    bbp_form_topic_title();
    ?>
" tabindex="<?php 
    bbp_tab_index();
    ?>
" name="bbp_topic_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
				</div>

				<?php 
    // The TinyMCE editor
    bbp_the_content(array('context' => 'topic', 'media_buttons' => false, 'wpautop' => true, 'tinymce' => true, 'quicktags' => true, 'teeny' => false));
    ?>
				
				<?php 
    // Moderators can set topic type
    if (current_user_can('moderate')) {
        ?>
				<div class="form-left">
					<label for="bbp_stick_topic_select"><i class="fa fa-thumb-tack"></i><?php 
        _e('Topic Type: ', 'bbpress');
        ?>
</label>
					<?php 
        bbp_topic_type_select();
        ?>
				</div>
开发者ID:tamriel-foundry,项目名称:apoc2,代码行数:31,代码来源:form-topic.php

示例7: bbp_tab_index

</label><br />
                                <textarea id="bbp_topic_content" tabindex="<?php 
        bbp_tab_index();
        ?>
" name="bbp_topic_content" cols="60" rows="6"><?php 
        bbp_form_topic_content();
        ?>
</textarea>
                            </p>

                        <?php 
    } else {
        ?>

                            <?php 
        bbp_the_content(array('context' => 'topic', 'tinymce' => true, 'dfw' => false));
        ?>

                        <?php 
    }
    ?>

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

                        <?php 
    if (!current_user_can('unfiltered_html')) {
        ?>

                            <p class="form-allowed-tags">
开发者ID:kanawanzx,项目名称:support_forum,代码行数:31,代码来源:form-topic.php

示例8: bbp_tab_index

</label><br />
                                <textarea id="bbp_reply_content" tabindex="<?php 
        bbp_tab_index();
        ?>
" name="bbp_reply_content" rows="6"><?php 
        bbp_form_reply_content();
        ?>
</textarea>
                            </p>

                        <?php 
    } else {
        ?>

                            <?php 
        bbp_the_content(array('context' => 'reply', 'tinymce' => true, 'wpautop ' => true, 'dfw' => true));
        ?>

                        <?php 
    }
    ?>

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

                        <?php 
    if (!current_user_can('unfiltered_html')) {
        ?>

                            <p class="form-allowed-tags">
开发者ID:kanawanzx,项目名称:support_forum,代码行数:31,代码来源:form-reply.php

示例9: do_action

					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
					    </div>
						<div class="col-xs-12 col-sm-7 col-md-7">
                    <?php 
    }
    ?>
                    
					<?php 
    do_action('bbp_theme_before_topic_form_content');
    ?>

					<?php 
    bbp_the_content(array('context' => 'topic', 'tinymce' => true));
    ?>


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

					<?php 
    if (bbp_is_anonymous() || bbp_is_topic_edit() && bbp_is_topic_anonymous() || bbp_is_reply_edit() && bbp_is_reply_anonymous()) {
        ?>
                            </div><!-- col-xs-12 col-sm-8 col-md-8 -->
                          </div><!-- row -->
                    <?php 
    }
    ?>
开发者ID:paulmedwal,项目名称:edxforumspublic,代码行数:30,代码来源:form-topic.php

示例10: printf

    printf(__('Reply To: %s', 'bbpress'), bbp_get_topic_title());
    ?>
</legend>

				<div>

					<?php 
    bbp_get_template_part('form', 'anonymous');
    ?>

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

					<?php 
    bbp_the_content(array('context' => 'reply', 'quicktags' => false));
    ?>

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


					<?php 
    /* if ( bbp_is_subscriptions_active() && !bbp_is_anonymous() && ( !bbp_is_reply_edit() || ( bbp_is_reply_edit() && !bbp_is_reply_anonymous() ) ) ) : ?>
    
    						<?php do_action( 'bbp_theme_before_reply_form_subscription' ); ?>
    
    						<p>
    
    							<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> tabindex="<?php bbp_tab_index(); ?>" />
开发者ID:jackrabbit-design,项目名称:jrd-sp-root,代码行数:31,代码来源:form-reply.php

示例11: bbp_title_max_length

" size="40" name="bbp_topic_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'topic', 'quicktags' => false, 'media_buttons' => true));
    ?>

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

					<?php 
    if (bbp_allow_revisions() && bbp_is_topic_edit()) {
        ?>

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

						<fieldset class="bbp-form">
开发者ID:jackrabbit-design,项目名称:jrd-sp-root,代码行数:31,代码来源:form-topic.php

示例12: bbp_title_max_length

" size="40" name="bbp_forum_title" maxlength="<?php 
    bbp_title_max_length();
    ?>
" />
					</p>

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

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

					<?php 
    bbp_the_content(array('context' => 'forum', 'tinymce' => true));
    ?>

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

					<?php 
    /*if ( ! ( bbp_use_wp_editor() || current_user_can( 'unfiltered_html' ) ) ) : ?>
    
    						<p class="form-allowed-tags">
    							<label><?php _e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'firmasite' ); ?></label><br />
    							<pre><?php bbp_allowed_tags(); ?></pre>
    						</p>
    
    					<?php endif;*/
开发者ID:paulmedwal,项目名称:edxforumspublic,代码行数:31,代码来源:form-forum.php


注:本文中的bbp_the_content函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。