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


PHP bp_directory_members_search_form函数代码示例

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


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

示例1: bp_groups_members_template_part

/**
 * Output the Group members template
 *
 * @since BuddyPress (?)
 *
 * @return string html output
 */
function bp_groups_members_template_part()
{
    ?>
	<div class="item-list-tabs" id="subnav" role="navigation">
		<ul>
			<li class="groups-members-search" role="search">
				<?php 
    bp_directory_members_search_form();
    ?>
			</li>

			<?php 
    bp_groups_members_filter();
    ?>
			<?php 
    do_action('bp_members_directory_member_sub_types');
    ?>

		</ul>
	</div>

	<div id="members-group-list" class="group_members dir-list">

		<?php 
    bp_get_template_part('groups/single/members');
    ?>

	</div>
	<?php 
}
开发者ID:kd5ytx,项目名称:Empirical-Wordpress,代码行数:37,代码来源:bp-groups-template.php

示例2: _e

		<form action="" method="post" id="members-directory-form" class="dir-form">

			<h3><?php 
_e(sprintf('%1s Directory', ucfirst(buatp_get_dir_name())), 'buddypress');
?>
</h3>

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

			<div id="members-dir-search" class="dir-search" role="search">

				<?php 
bp_directory_members_search_form();
?>

			</div><!-- #members-dir-search -->

			<div class="item-list-tabs" role="navigation">
				<ul>
					<li class="selected" id="members-all"><a href="<?php 
echo trailingslashit(bp_get_root_domain() . '/' . bp_get_members_root_slug());
?>
"><?php 
printf(__('All %1s <span>%2s</span>', 'buddypress'), ucfirst(buatp_get_dir_name()), bp_get_total_member_count());
?>
</a></li>

					<?php 
开发者ID:jfeliweb,项目名称:BuddyPress-User-Account-Type,代码行数:30,代码来源:index.php

示例3: bp_groups_members_template_part

/**
 * Output the Group members template
 *
 * @since 2.0.0
 */
function bp_groups_members_template_part()
{
    ?>
	<div class="item-list-tabs" id="subnav" aria-label="<?php 
    esc_attr_e('Group secondary navigation', 'buddypress');
    ?>
" role="navigation">
		<ul>
			<li class="groups-members-search" role="search">
				<?php 
    bp_directory_members_search_form();
    ?>
			</li>

			<?php 
    bp_groups_members_filter();
    ?>
			<?php 
    /**
     * Fires at the end of the group members search unordered list.
     *
     * Part of bp_groups_members_template_part().
     *
     * @since 1.5.0
     */
    do_action('bp_members_directory_member_sub_types');
    ?>

		</ul>
	</div>

	<h2 class="bp-screen-reader-text"><?php 
    /* translators: accessibility text */
    _e('Members', 'buddypress');
    ?>
</h2>

	<div id="members-group-list" class="group_members dir-list">

		<?php 
    bp_get_template_part('groups/single/members');
    ?>

	</div>
	<?php 
}
开发者ID:CompositeUK,项目名称:clone.BuddyPress,代码行数:51,代码来源:bp-groups-template.php

示例4: bp_groups_members_template_part

/**
 * Output the Group members template
 *
 * @since 2.0.0
 */
function bp_groups_members_template_part()
{
    ?>
	<div class="item-list-tabs" id="subnav" role="navigation">
		<ul>
			<li class="groups-members-search" role="search">
				<?php 
    bp_directory_members_search_form();
    ?>
			</li>

			<?php 
    bp_groups_members_filter();
    ?>
			<?php 
    /**
     * Fires at the end of the group members search unordered list.
     *
     * Part of bp_groups_members_template_part().
     *
     * @since 1.5.0
     */
    do_action('bp_members_directory_member_sub_types');
    ?>

		</ul>
	</div>

	<div id="members-group-list" class="group_members dir-list">

		<?php 
    bp_get_template_part('groups/single/members');
    ?>

	</div>
	<?php 
}
开发者ID:igniterealtime,项目名称:community-plugins,代码行数:42,代码来源:bp-groups-template.php

示例5: bp_legacy_theme_group_manage_members_add_search

/**
 * Add a search box to a single group's manage members screen.
 *
 * @since 2.7.0
 *
 * @return string HTML for the search form.
 */
function bp_legacy_theme_group_manage_members_add_search()
{
    if (bp_is_action_variable('manage-members')) {
        ?>
		<div id="members-dir-search" class="dir-search no-ajax" role="search">
			<?php 
        bp_directory_members_search_form();
        ?>
		</div>
		<?php 
    }
}
开发者ID:CompositeUK,项目名称:clone.BuddyPress,代码行数:19,代码来源:buddypress-functions.php


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