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


PHP bp_get_the_topic_poster_name函数代码示例

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


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

示例1: _e

        ?>
" title="<?php 
        _e('Permanent link to this post', 'wplms_modern');
        ?>
">

						<?php 
        bp_the_topic_title();
        ?>

					</a>

					<p class="topic-meta">
						<span class="topic-by"><?php 
        /* translators: "started by [poster] in [forum]" */
        printf(__('Started by %1$s', 'wplms_modern'), bp_get_the_topic_poster_avatar('height=20&width=20') . bp_get_the_topic_poster_name());
        ?>
</span>

						<?php 
        if (!bp_is_group_forum()) {
            ?>

							<span class="topic-in">

								<?php 
            $topic_in = '<a href="' . bp_get_the_topic_object_permalink() . '">' . bp_get_the_topic_object_avatar('type=thumb&width=20&height=20') . '</a>' . '<a href="' . bp_get_the_topic_object_permalink() . '" title="' . bp_get_the_topic_object_name() . '">' . bp_get_the_topic_object_name() . '</a>';
            /* translators: "started by [poster] in [forum]" */
            printf(__('in %1$s', 'wplms_modern'), $topic_in);
            ?>
开发者ID:nikitansk,项目名称:devschool,代码行数:30,代码来源:forums-loop.php

示例2: bp_the_topic_permalink

						<a class="topic-title" href="<?php 
        bp_the_topic_permalink();
        ?>
" title="<?php 
        _e('Permanent link to this post', 'buddypress');
        ?>
">
							<?php 
        bp_the_topic_title();
        ?>
						</a>

						<p class="topic-meta">
							<span class="topic-by"><?php 
        /* translators: "started by [poster] in [forum]" */
        printf(__('Started by %1$s', 'buddypress'), bp_get_the_topic_poster_avatar('height=20&width=20') . bp_get_the_topic_poster_name());
        ?>
</span>
							<?php 
        if (!bp_is_group_forum()) {
            ?>
								<span class="topic-in">
									<?php 
            $topic_in = '<a href="' . bp_get_the_topic_object_permalink() . '">' . bp_get_the_topic_object_avatar('type=thumb&width=20&height=20') . '</a>' . '<a href="' . bp_get_the_topic_object_permalink() . '" title="' . bp_get_the_topic_object_name() . '">' . bp_get_the_topic_object_name() . '</a>';
            /* translators: "started by [poster] in [forum]" */
            printf(__('in %1$s', 'buddypress'), $topic_in);
            ?>
								</span>
							<?php 
        }
        ?>
开发者ID:wesavetheworld,项目名称:buddypress-templates,代码行数:31,代码来源:forums-loop.php

示例3: bp_the_topic_poster_name

/**
 * Output the name of the user who posted the current topic in the loop.
 */
function bp_the_topic_poster_name()
{
    echo bp_get_the_topic_poster_name();
}
开发者ID:danielcoats,项目名称:schoolpress,代码行数:7,代码来源:bp-forums-template.php

示例4: _e

        ?>
 - <?php 
        _e('Permalink', 'logicalboneshug');
        ?>
">

						<?php 
        bp_the_topic_title();
        ?>

					</a>

					<p class="topic-meta">
						<span class="topic-by"><?php 
        /* translators: "started by [poster] in [forum]" */
        printf(__('Started by %1$s', 'logicalboneshug'), bp_get_the_topic_poster_avatar('height=20&width=20') . bp_get_the_topic_poster_name());
        ?>
</span>

						<?php 
        if (!bp_is_group_forum()) {
            ?>

							<span class="topic-in">

								<?php 
            $topic_in = '<a href="' . bp_get_the_topic_object_permalink() . '">' . bp_get_the_topic_object_avatar('type=thumb&width=20&height=20') . '</a>' . '<a href="' . bp_get_the_topic_object_permalink() . '" title="' . bp_get_the_topic_object_name() . '">' . bp_get_the_topic_object_name() . '</a>';
            /* translators: "started by [poster] in [forum]" */
            printf(__('in %1$s', 'logicalboneshug'), $topic_in);
            ?>
开发者ID:raminjan,项目名称:logicalbones_hug,代码行数:30,代码来源:forums-loop.php

示例5: bp_the_topic_title

        ?>
" title="<?php 
        bp_the_topic_title();
        ?>
 - <?php 
        _e('Permalink', 'huddle');
        ?>
">
						<?php 
        bp_the_topic_title();
        ?>
					</a>

					<p class="topic-meta">
						<span class="topic-by"><?php 
        printf(__('By &middot; %1$s', 'huddle'), bp_get_the_topic_poster_name());
        ?>
</span>,
						<span class="topic-on"><?php 
        printf(__('On &middot; %1$s', 'huddle'), date('m.d.Y', strtotime(bp_get_the_topic_time())));
        ?>
</span>
					</p>
				</td>

				<td class="td-group">
					<?php 
        if (!bp_is_group_forum()) {
            ?>

						<p class="topic-meta">
开发者ID:nxtclass,项目名称:NXTClass-themes,代码行数:31,代码来源:forums-loop.php

示例6: esc_attr_e

        ?>
" title="<?php 
        esc_attr_e('Permanent link to this post', 'firmasite');
        ?>
">

						<?php 
        bp_the_topic_title();
        ?>

					</a>

					<p class="topic-meta">
						<span class="topic-by"><?php 
        /* translators: "started by [poster] in [forum]" */
        printf(__('Started by %1$s', 'firmasite'), bp_get_the_topic_poster_avatar('height=20&width=20') . bp_get_the_topic_poster_name());
        ?>
</span>

						<?php 
        if (!bp_is_group_forum()) {
            ?>

							<span class="topic-in">

								<?php 
            $topic_in = '<a href="' . bp_get_the_topic_object_permalink() . '">' . bp_get_the_topic_object_avatar('type=thumb&width=20&height=20') . '</a>' . '<a href="' . bp_get_the_topic_object_permalink() . '" title="' . bp_get_the_topic_object_name() . '">' . bp_get_the_topic_object_name() . '</a>';
            /* translators: "started by [poster] in [forum]" */
            printf(__('in %1$s', 'firmasite'), $topic_in);
            ?>
开发者ID:jason-herndon,项目名称:bas-intranet,代码行数:30,代码来源:forums-loop.php


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