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


PHP bp_member_hidden_fields函数代码示例

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


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

示例1: do_action

                    <div class="action">

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

                    </div>

                </div>
            </li>

        <?php endwhile; ?>

    </ul>

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

    <?php bp_member_hidden_fields(); ?>

    <div id="pag-bottom" class="pagination">

        <div class="pag-count" id="member-dir-count-bottom">

            <?php bp_members_pagination_count(); ?>

        </div>

        <div class="pagination-links" id="member-dir-pag-bottom">

            <?php bp_members_pagination_links(); ?>

        </div>
开发者ID:jabue,项目名称:wordpress,代码行数:30,代码来源:members-loop.php

示例2: do_action

			        <div class="bp-member-dir-buttons">
			            <?php 
    do_action('bp_directory_members_item_last');
    ?>
			        </div>

		        </div>

	      </div>

    	<?php 
}
?>
  	</div>
	
    <?php 
do_action('bp_after_directory_members_list');
?>

    <?php 
bp_member_hidden_fields();
?>

	<div class="pagination-per-page-wrapper bottom">	
		<div class="pagination-wrapper">
			<?php 
gmw_pagination($gmw, 'paged', $gmw['max_pages']);
?>
		</div>
	</div>
</div>
开发者ID:sedici,项目名称:wpmu-istec,代码行数:31,代码来源:results.php

示例3: buat_get_user_template


//.........这里部分代码省略.........
 
    </div>
 
    <?php 
        do_action('bp_before_directory_members_list');
        ?>
 
    <ul id="members-list" class="item-list" style="list-style-type:none; margin: 0; width: auto">
    <?php 
        while (bp_members()) {
            bp_the_member();
            ?>
 
        <li>
            <div class="item-avatar">
                <a href="<?php 
            bp_member_permalink();
            ?>
"><?php 
            bp_member_avatar();
            ?>
</a>
            </div>
 
            <div class="item">
                <div class="item-title">
                    <a href="<?php 
            bp_member_permalink();
            ?>
"><?php 
            bp_member_name();
            ?>
</a>
                    <?php 
            if (bp_get_member_latest_update()) {
                ?>
                        <span class="update"> - <?php 
                bp_member_latest_update('length=10');
                ?>
</span>
                    <?php 
            }
            ?>
                </div>
                <div class="item-meta"><span class="activity"><?php 
            bp_member_last_active();
            ?>
</span></div>
 
                <?php 
            do_action('bp_directory_members_item');
            ?>
 
                <?php 
            /***
             * If you want to show specific profile fields here you can,
             * but it'll add an extra query for each member in the loop
             * (only one regadless of the number of fields you show):
             *
             * bp_member_profile_data( 'field=the field name' );
             */
            ?>
            </div>
 
            <div class="action">
                <?php 
            do_action('bp_directory_members_actions');
            ?>
            </div>
 
            <div class="clear"></div>
        </li>
 
    <?php 
        }
        ?>
    </ul>
 
    <?php 
        do_action('bp_after_directory_members_list');
        ?>
 
    <?php 
        bp_member_hidden_fields();
        ?>
 
<?php 
    } else {
        ?>
 
    <div id="message" class="info">
        <p><?php 
        _e("Sorry, no members were found.", 'buddypress');
        ?>
</p>
    </div>
 
<?php 
    }
}
开发者ID:nxtclass,项目名称:NXTClass,代码行数:101,代码来源:buat_functions.php


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